You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/07/19 12:59:44 UTC

[01/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Updated Branches:
  refs/heads/master ab70545c6 -> 29f27ad9f


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/global.css
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/global.css b/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/global.css
new file mode 100644
index 0000000..7e23500
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/global.css
@@ -0,0 +1,1436 @@
+body {
+    background-color: white;
+    padding: 0px;
+    margin: 0px;
+    font-family: "Lucida Grande","Lucida Sans","Microsoft Sans Serif", "Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms" !important;
+    color: #111;
+	font-size:12px;
+	font-size-adjust:none;
+	font-stretch:normal;
+	font-style:normal;
+	font-variant:normal;
+	font-weight:normal;
+	line-height:1.25em;
+}
+table {
+	border: 0px;
+	padding: 0px;
+	margin: 0px;
+}
+table thead tr th{
+	padding: 0px;
+	text-align: left;
+	vertical-align: top;
+	border: 0px;
+}
+table tbody tr td {
+	padding: 0px;
+	text-align: left;
+	vertical-align: top;
+	border: 0px;
+}
+table tr td {
+	padding: 0px;
+	text-align: left;
+	vertical-align: top;
+	border: 0px;
+}
+ul {
+    list-style: none;
+    margin: 0px;
+    padding: 0px;
+}
+ul li{
+    list-style: none;
+    margin: 0px;
+    padding: 0px;
+}
+
+p {
+}
+
+a:link {
+    color: #386698;
+    text-decoration: none;
+}
+
+a:visited {
+    color: #386698;
+    text-decoration: none;
+}
+
+a:hover {
+    color: #f47b20;
+}
+
+a img {
+	border: 0px;
+}
+
+a.link-disable {
+	cursor: text;
+	color: #999;
+}
+
+/* Neutralize styling:
+   Elements with a vertical margin: */
+    h1, h2, h3, h4, h5, h6, p, pre,
+    blockquote, ol, dl, address {
+        margin: 0 0 0px;
+        padding: 0px 0 0;
+    }
+    
+form {
+padding-top: 0px !important;
+padding-bottom: 0px !important;
+margin-top: 0px !important;
+margin-bottom: 0px !important;
+}
+h3.page-subtitle{
+	color: #8b8b8b;
+        font-size: 11px;
+        letter-spacing: 0.05em;
+        text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6);
+        margin: 10px 10px 10px 10px;
+}
+/* ---------------- template styles ------------------------- */
+table#main-table {
+	min-width: 985px;
+	width: 100%;
+}
+table#main-table td {
+	padding: 0px;
+}
+table#main-table td#header {
+	background-image: url( ../images/header-region-bg.gif);
+    background-repeat: repeat-x;
+    background-position: left top;
+	height: 100px;
+}
+
+table#main-table td#menu-panel {
+	background-color: #fff;
+	padding-bottom: 20px;
+	border-right: solid 1px #636466;
+	width: 225px;
+	font-size: 100%;
+}
+divtd#menu{
+	margin-left:20px;
+}
+td#menu table#menu-table {
+	width: 225px;
+}
+
+table#menu-table td {
+}
+
+table#menu-table td#region1 {
+}
+
+table#menu-table td#region2 {
+}
+
+table#menu-table td#region3 {
+}
+
+table#main-table td#middle-content {
+	padding-left: 20px;
+	padding-right: 20px;
+	padding-top: 15px;
+	padding-bottom: 15px;
+	background-color: #F4F4F4;
+	/*width: 95%;*/
+}
+
+td#middle-content table#content-table {
+	width: 100%;
+}
+
+table#content-table td#page-header-links {
+	height: 20px;
+	vertical-align: middle;
+	padding-bottom: 5px;
+}
+
+table#content-table td#body {
+}
+
+table#main-table td#footer {
+	height: 25px;
+	background-color: #bfbfbf;
+}	
+
+/* ---------------- header styles ------------------ */
+div#header-div {
+    background-image: url( ../images/header-bg.gif);
+    background-repeat: no-repeat;
+    background-position: left top;
+    height: 100px;
+    min-width: 985px;
+}
+
+div#header-div div.left-logo {
+	background-image: url( ../images/header-logo.gif );
+    background-repeat: no-repeat;
+    background-position: left top;
+	height: 32px;
+	/*width: 332px;*/
+	width: 332px;
+	margin-top: 23px;
+	margin-left: 20px;
+	float: left;
+}
+
+div#header-div div.left-logo a.header-home {
+display: block;
+}
+
+div#header-div div.left-logo a.header-home img{
+display: block;
+}
+
+div#header-div div.right-logo {
+	/*background-image: url( ../images/mgt-logo.gif);
+    background-repeat: no-repeat;
+    background-position: right top;*/
+	line-height: 18px;
+	height: 22px;
+	float: right;
+	width: 220px;
+	margin-top: 28px;
+	margin-right: 20px;
+	color: #000;
+	font-size: 18px;
+	font-weight: normal;
+	text-align: right;
+}
+
+div#header-div div.header-links {
+	clear: both;
+	float: left;
+	height: 25px;
+	width: 100%;
+	margin-top: 15px;
+}
+
+div#header-div div.header-links div.right-links{
+	clear: both;
+	float: right;
+	height: 25px;
+	margin-right: 15px;
+	padding-top: 5px;
+}
+
+div.header-links ul {
+	list-style: none;
+	margin-left: 0px;
+	margin-top: 0px;
+	margin-bottom: 0px;
+	margin-right: 0px;
+	padding: 0px;
+	float: right;
+}
+
+div.header-links ul li {
+	position: relative;
+	float: left;
+	padding-left: 5px;
+	padding-right: 5px;
+	padding-top: 0px;
+	padding-bottom: 0px;
+	margin: 0px;
+}
+
+/* ------------ page-header-links styles -------------- */
+
+table.page-header-links-table {
+	width: 100%;
+}
+
+table#main-table table.page-header-links-table tr td.page-header-help {
+	text-align: right;
+	font-size: 120%;
+}
+
+td.page-header-help a {
+	background-image: url( ../images/help.gif);
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    padding-bottom: 2px;
+    display: block;
+    float: right;
+    z-index: 10;
+}
+div.page-header-help a {
+	background-image: url( ../images/help.gif);
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    padding-bottom: 2px;
+    line-height: 17px;
+    float: right;
+    z-index: 10;
+    padding-right: 15px;
+    margin-top: 5px;
+    position: relative;
+}
+
+table#main-table table.page-header-links-table tr td.breadcrumbs table.breadcrumb-table tr td.breadcrumb-link {
+	padding-right: 0px;
+	font-size: 90%;
+	white-space:nowrap;
+}
+
+table#main-table table.page-header-links-table tr td.breadcrumbs table.breadcrumb-table tr td.breadcrumb-link a{
+	padding-right: 0px;
+	font-size: 90%;
+}
+
+table#main-table table.page-header-links-table tr td.breadcrumbs table.breadcrumb-table tr td.breadcrumb-current-page a{
+	padding-right: 0px;
+	font-size: 90%;
+	color: #999;
+	cursor: text;
+}
+
+/* ------------- menu styles ---------------------- */
+div#menu {
+    margin-left: 0px;
+    margin-right: 0px;
+    min-width: 224px;
+}
+
+div#menu ul.main {
+}
+
+div#menu ul.main li {
+    font-weight: normal;
+}
+
+div#menu ul.main li.normal {
+}
+
+div#menu ul.main li a.menu-home {
+	font-weight:bold;
+    height:22px;
+    line-height:22px;
+    padding-top:0px;
+    padding-bottom:0px;
+    display: block;
+    /*width:215px;*/
+    padding-left: 10px;
+    padding-right: 20px;
+    color: #0067B1;
+    background-image: url(../images/home-bg.gif);
+    background-repeat: repeat-x;
+    background-position: left top;
+}
+
+div#menu ul.main li a.menu-home:hover {
+	color: #111;
+	background-image: none;
+	background-color: #CCCCCC;
+}
+
+div#menu ul.main li.menu-header {
+	background-image:url(../images/menu-header.gif);
+    background-position: left bottom;
+    background-repeat:repeat-x;
+    font-weight:normal;
+    height:24px;
+    line-height:24px;
+    padding-top:0px;
+    padding-bottom:0px;
+    display: block;
+    /*width:215px;*/
+    padding-left: 10px;
+    padding-right: 20px;
+    cursor: text;
+}
+
+div#menu ul.main li.menu-header img {
+	float:right;
+	margin-right:-15px;
+	margin-top:4px;
+	cursor: pointer;
+}
+
+div#menu ul.main li.menu-disabled-link img {
+	float:right;
+	margin-right:-15px;
+	cursor: pointer;
+}
+
+div#menu ul.main li a.menu-default {
+    background-image: url( ../images/default-menu-icon.gif );
+    background-repeat: no-repeat;
+    background-position: 16px 2px;
+    background-color: transparent;
+    height: 16px;
+    display: block;
+    /*width:187px;*/
+    padding-left: 38px;
+    padding-right: 20px;
+    padding-top: 3px;
+    padding-bottom: 3px;
+    cursor: pointer;
+    border-top: solid 1px #fff;
+    border-bottom: solid 1px #fff;
+	color: #2F7ABD;
+    font-weight:normal;
+}
+
+div#menu ul.main li a.menu-default-selected {
+    background-image: url( ../images/default-menu-icon.gif );
+    background-repeat: no-repeat;
+    background-position: 16px 2px;
+    background-color: transparent;
+    height: 16px;
+    display: block;
+    /*width:187px;*/
+    padding-left: 38px;
+    padding-right: 20px;
+    padding-top: 3px;
+    padding-bottom: 3px;
+    cursor: pointer;
+    border-top: solid 1px #ccc;
+    border-bottom: solid 1px #ccc;
+	color: #2F7ABD;
+    font-weight:normal;
+}
+
+div#menu ul.main li a.menu-default:hover {
+	background-color: #F2F2F2;
+	border-bottom: solid 1px #BFBFBF;
+	border-top: solid 1px #BFBFBF;
+	height: 16px;
+	color: #00447C;
+}
+
+div#menu ul.main li.menu-disabled-link {
+	background-image: url( ../images/default-menu-icon.gif );
+    background-repeat: no-repeat;
+    background-position: 16px 2px;
+	background-color: #F5F5F5;
+	color: #111111;
+    height: 16px;
+    display: block;
+    /*width:187px;*/
+    padding-left: 38px;
+    padding-right: 20px;
+    padding-top: 3px;
+    padding-bottom: 3px;
+    cursor: pointer;
+    border-top: solid 1px #fff;
+    border-bottom: solid 1px #fff;
+    font-weight:normal;
+    cursor:text;
+}
+
+div#menu ul.sub li a.menu-disabled-link:hover {
+	background-color: #F5F5F5;
+	color: #111111;
+}
+
+div#menu ul.sub {
+    *margin-top: -13px;
+}
+
+/* -------------- child no-01 styles -------------- */
+
+div#menu ul.sub li a.menu-default {
+    background-position: 16px 2px;
+    /*width:187px;*/
+    padding-left: 38px;
+    padding-right: 20px;
+    color: #2F7ABD;
+}
+
+	/* ----------- child no-01 (disabled) styles ------------------- */
+	
+	div#menu ul.sub li.menu-disabled-link {
+		background-position: 16px 2px;
+	    /*width:187px;*/
+	    padding-left: 38px;
+	    padding-right: 20px;
+	    color: #111;
+	}
+
+/* -------------- child no-02 styles -------------- */
+
+div#menu ul.sub li.normal ul.sub li a.menu-default {
+    background-position: 32px 2px;
+    /*width:171px;*/
+    padding-left: 54px;
+    padding-right: 20px;
+}
+
+	/* ----------- child no-02 (disabled) styles ------------------- */
+
+	div#menu ul.sub li.normal ul.sub li.menu-disabled-link {
+	    background-position: 32px 2px;
+	    /*width:171px;*/
+	    padding-left: 54px;
+	    padding-right: 20px;
+	}
+
+
+/* -------------- child no-03 styles -------------- */
+
+div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
+    background-position: 48px 2px;
+    /*width:155px;*/
+    padding-left: 70px;
+    padding-right: 20px;
+}
+
+	/* ----------- child no-03 (disabled) styles ------------------- */
+	
+	div#menu ul.sub li.normal ul.sub li.normal ul.sub li.menu-disabled-link {
+	    background-position: 48px 2px;
+	    /*width:155px;*/
+	    padding-left: 70px;
+	    padding-right: 20px;
+	}
+	
+/* -------------- child no-04 styles -------------- */
+
+div#menu ul.sub li.normal ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
+    background-position: 64px 2px;
+    /*width:139px;*/
+    padding-left: 86px;
+    padding-right: 20px;
+}
+
+	/* ----------- child no-04 (disabled) styles ------------------- */
+	
+	div#menu ul.sub li.normal ul.sub li.normal ul.sub li.normal ul.sub li.menu-disabled-link {
+	    background-position: 64px 2px;
+	    /*width:139px;*/
+	    padding-left: 86px;
+	    padding-right: 20px;
+	}
+	
+/* -------------- child no-05 styles -------------- */
+
+div#menu ul.sub li.normal ul.sub li.normal ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
+    background-position: 80px 2px;
+    /*width:123px;*/
+    padding-left: 102px;
+    padding-right: 20px;
+}
+
+	/* ----------- child no-05 (disabled) styles ------------------- */
+	
+	div#menu ul.sub li.normal ul.sub li.normal ul.sub li.normal ul.sub li.normal ul.sub li.menu-disabled-link {
+	    background-position: 80px 2px;
+	    /*width:123px;*/
+	    padding-left: 102px;
+	    padding-right: 20px;
+	}
+
+/* ------------- footer styles -------------------- */
+
+div#footer-div {
+	height: 27px;
+	width: 100%;
+}
+
+div#footer-div div.footer-content {
+	height: 27px;
+	margin: auto;
+	padding: 0px;
+}
+
+div#footer-div div.footer-content div.copyright {
+	padding-top: 5px;
+	color: #fff;
+	width: 450px;
+	float: left;
+	margin-left: 20px;
+}
+
+div#footer-div div.footer-content div.poweredby {
+	background-image: url( ../images/powered.gif);
+    background-repeat: no-repeat;
+    background-position: left 3px;
+    width: 127px;
+    height: 27px;
+    float: right;
+    margin-right: 20px;
+}
+
+/* --------------- middle content styles ----------------- */
+
+div#middle {
+    background-color: #F4F4F4;
+    width: 100%;
+}
+
+div#middle div#workArea {
+    padding: 10px;
+    background-color: white;
+}
+
+div#middle h2 {
+    color: #0D4d79;
+    margin-top: 0px;
+    margin-bottom: 10px;
+    font-size: 150%;
+    font-weight: normal;
+    padding-bottom: 5px;
+    border-bottom: solid 1px #96A9CA;
+}
+
+div#middle div#workArea h3 {
+	font-size: 140%;
+    font-weight: normal;
+    margin-top: 5px;
+    margin-bottom: 10px;
+}
+div#middle div#workArea h4 {
+	font-size: 130%;
+    font-weight: normal;
+    margin-top: 5px;
+    margin-bottom: 10px;
+}
+div#middle div#workArea h5 {
+	font-size: 120%;
+    font-weight: normal;
+    margin-top: 5px;
+    margin-bottom: 10px;
+}
+div#middle div#workArea h3.mediator {
+	font-size: 120%;
+    font-weight: bold;
+    margin-top: 5px;
+    margin-bottom: 5px;
+    padding-bottom: 4px;
+    border-bottom: solid 1px #ccc;
+    
+}
+/* ---- login styles ----- */
+
+div#middle div#features {
+	padding-right: 30px;
+}
+div#features tr.feature {
+}
+div#features tr.feature td {
+	border-top: solid 1px #BCBEC0;
+	padding-top: 20px;
+	padding-bottom: 20px;
+}
+div#features tr.feature-top {
+}
+div#features tr.feature-top td {
+	border-top: solid 0px #BCBEC0;
+	padding-top: 0px;
+	padding-bottom: 20px;
+}
+tr.feature td img {
+	float: left;
+	margin-right: 20px;
+}
+
+tr.feature h3 {
+	font-weight: normal;
+	font-size: 120%;
+	color: #0067B1;
+}
+
+div#middle div#loginbox {
+	background-color: #fff;
+	border: solid 1px #BCBEC0;
+	padding: 20px;
+	margin-top: 10px;
+}
+
+div#loginbox {
+	text-align: center;
+}
+
+div#loginbox h2 {
+	font-weight: normal;
+	font-size: 150%;
+	text-align: center;
+	color: #0067B1;
+	margin-bottom: 10px;
+	padding-bottom: 15px;
+}
+
+div#loginbox table {
+	margin: auto;
+}
+
+div#loginbox table tr td {
+	padding: 3px;
+}
+
+div#loginbox a{
+}
+
+div#loginbox input.user {
+	width: 150px !important;
+}
+
+div#loginbox input.password {
+	width: 150px !important;
+}
+
+/* ------------- REFINED ------------------ */
+/* ------------- Table Styled Left -------- */
+div#workArea table.styledLeft {
+    border-collapse: collapse;
+    margin-left: 2px;
+    width: 100%;
+}
+
+div#workArea table.styledLeft thead th {
+    background-image:url(../images/table-header.gif);
+    background-position: left bottom;
+    background-repeat:repeat-x;
+    border:1px solid #cccccc;
+    font-weight:normal;
+    height:22px;
+    line-height:20px;
+    margin-bottom:5px;
+    padding-left:8px;
+}
+
+div#workArea table.styledLeft tbody tr td.middle-header {
+    background-image:url(../images/table-header.gif);
+    background-position: left bottom;
+    background-repeat:repeat-x;
+    border:1px solid #cccccc;
+    font-weight:normal;
+    height:22px;
+    line-height:20px;
+    margin-bottom:5px;
+    padding-left:8px;
+}
+
+div#workArea table.styledLeft tbody tr td.sub-header {
+	background-image:url(../images/table-header.gif);
+    background-position: left bottom;
+    background-repeat:repeat-x;
+    border:1px solid #cccccc;
+    border-bottom: 0px solid #666;
+    border-top: 1px solid #666;
+    font-weight:normal;
+    height:22px;
+    line-height:20px;
+    margin-bottom:5px;
+    padding-left:8px;
+}
+
+div#workArea table.styledLeft tbody tr td {
+    border: solid 1px #cccccc;
+    height: 25px;
+    padding-top: 2px;
+    padding-bottom: 2px;
+    padding-left: 8px !important;
+    padding-right: 8px !important;
+    vertical-align: middle !important;
+}
+
+div#workArea table.styledLeft tbody tr td.nopadding {
+    border: solid 1px #cccccc;
+    height: 25px;
+    padding-top: 0px;
+    padding-bottom: 0px;
+    padding-left: 0px !important;
+    padding-right: 0px !important;
+    vertical-align: middle !important;
+}
+div#workArea table.styledLeft tbody tr td.formRow {
+     padding-top: 10px;
+     padding-bottom: 10px;
+     border-right: solid 1px #cccccc;
+ }
+div#workArea table.styledLeft tbody tr td.buttonRow {
+    padding-top: 5px;
+    padding-bottom: 5px;
+    background-image: url(../images/buttonRow-bg.gif);
+    background-position: left top;
+    background-repeat: repeat-x;
+}
+/* ------------Stand alone styles inside tables -------*/
+.noDataBox {
+	border:1px solid #CCCCCC;
+	color:#999999;
+	font-style:italic;
+	padding:5px;
+}
+div.buttonRow {
+    padding-top: 5px;
+    padding-bottom: 5px;
+    padding-left:10px;
+    margin-left:5px;
+    background-image: url(../images/buttonRow-bg.gif);
+    background-position: left top;
+    background-repeat: repeat-x;
+    border:1px solid #CCCCCC;
+}
+div.tabTen{
+padding-left:15px;
+}
+/* ------------- Table Styled Inner -------- */
+div#workArea table.styledInner {
+    border-collapse: collapse;
+    margin-left: 2px;
+    width: 100%;
+}
+
+div#workArea table.styledInner thead th {
+	background-image: none;
+	background-color: #E7E7E8;
+    border:1px solid #cccccc;
+    font-weight:normal;
+    height:22px;
+    line-height:20px;
+    margin-bottom:5px;
+    padding-left:8px;
+}
+div#workArea table.styledInner tbody tr td {
+    border: solid 1px #cccccc !important;
+    height: 25px;
+    padding-top: 2px;
+    padding-bottom: 2px;
+    padding-left: 8px !important;
+    padding-right: 8px !important;
+    vertical-align: middle !important;
+}
+.buttonRowAlone {
+    padding-top: 5px;
+    padding-bottom: 5px;
+    background-image: url(../images/buttonRow-bg.gif);
+    background-position: left top;
+    background-repeat: repeat-x;
+    border-bottom: solid 1px #cccccc;
+    border-top: solid 1px #cccccc;
+}
+div#workArea table.noBorders tbody tr td {
+    border:none;
+}
+div#workArea table.noBorders tbody tr td table.styledLeft td {
+    border: solid 1px #cccccc;
+}
+div#workArea table.noBorders{
+border: solid 1px #cccccc;
+}
+div#workArea table.normal {
+	border-collapse: separate;
+	padding: 3px;
+}
+div#workArea table.normal-nopadding {
+	border-collapse: separate;
+	padding: 0px;
+	width: 100%;
+}
+div#workArea table.normal tbody tr td {
+	border: 0px;
+}
+div#workArea table.normal-nopadding tbody tr td {
+    border: solid 0px #cccccc !important;
+    height: 25px;
+    padding-top: 3px;
+    padding-bottom: 3px;
+    padding-left: 8px !important;
+    padding-right: 8px !important;
+    vertical-align: middle !important;
+}
+div#workArea table.normal-nopadding tbody tr td.top-align {
+    vertical-align: top !important;
+}
+div#workArea table.normal-nopadding tbody tr td.middle-header {
+    background-image:url(../images/table-header.gif);
+    background-position: left bottom;
+    background-repeat:repeat-x;
+    border-top:1px solid #cccccc !important;
+    border-bottom:1px solid #cccccc !important;
+    border-left:0px solid #cccccc;
+    border-right:0px solid #cccccc;
+    font-weight:normal;
+    height:22px;
+    line-height:20px;
+    margin-bottom:5px;
+    padding-left:8px;
+}
+div#workArea table.normal-nopadding tbody tr td.sub-header {
+	background-image: none;
+    background-color: #ededed;
+    border-top:1px solid #cccccc;
+    border-bottom:1px solid #cccccc;
+    border-left:1px solid #cccccc;
+    border-right:1px solid #cccccc;
+    font-weight:normal;
+    height:22px;
+    line-height:20px;
+    margin-bottom:5px;
+    padding-left:8px;
+}
+div#workArea table.normal-nopadding tbody tr td.nopadding {
+padding: 0px !important;
+border: 0px !important;
+}
+div#workArea table.normal tbody tr td.nopadding {
+padding: 0px !important;
+border: 0px !important;
+}
+/* ---------------- table styles --------------------------- */
+.tableOddRow{background-color: white;}
+.tableEvenRow{background-color: #ededed;}
+
+/*.button, .button:visited {
+	background: #e7e7e7 url(../images/overlay.png) repeat-x;
+	display: inline-block; 
+	padding: 2px 5px 2px;
+	color: #000;
+	text-decoration: none;
+	-moz-border-radius: 6px;
+	-webkit-border-radius: 6px;
+	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
+	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
+	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
+	border-bottom: 1px solid rgba(0,0,0,0.25);
+	position: relative;
+	cursor: pointer
+}
+ 
+.button:hover{ 
+	background-color: #d9d9d9; color: #000;
+}
+.button:active{
+ 	top: 1px;
+}*/
+
+a.icon-link {
+background-image: url(../images/default-menu-icon.gif);
+background-repeat: no-repeat;
+background-position: left top;
+padding-left: 20px;
+line-height: 17px;
+height: 17px;
+float: left;
+position: relative;
+margin-left: 10px;
+margin-top: 5px;
+margin-bottom: 3px;
+white-space: nowrap;
+cursor:pointer;
+    color:#2F7ABD;
+}
+a.icon-link-nofloat {
+background-image: url(../images/default-menu-icon.gif);
+background-repeat: no-repeat;
+background-position: left top;
+padding-left: 20px !important;
+padding-bottom: 2px;
+line-height: 17px;
+height: 17px;
+margin-left: 10px;
+margin-right: 20px !important;
+margin-top: 5px;
+margin-bottom: 3px;
+white-space: nowrap;
+display: block;
+}
+a.delete-icon-link {
+    background-image: url( ../images/delete.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.delete-icon-link-nofloat {
+    background-image: url( ../images/delete.gif );    
+    background-repeat: no-repeat;
+    background-position: left 2px;
+    padding-left: 20px;
+    line-height: 23px;
+    height: 23px;
+    float: none;
+    margin-left: 10px;
+    margin-top: 0px;
+    margin-bottom: 0px;
+    white-space: nowrap;
+    padding-top: 0px;
+    padding-bottom: 0px;
+    display: block;
+}
+a#delete1, a#delete2 {
+    background-image: url( ../images/delete.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 0px;
+    margin-bottom: 0px;
+    white-space: nowrap;
+}
+
+.item-selector-link {
+    background-image: url( ../images/delete.gif );
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 0px;
+    margin-bottom: 0px;
+    white-space: nowrap;
+}
+
+a.edit-icon-link {
+    background-image: url( ../images/edit.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.copy-icon-link {
+    background-image: url( ../images/copy.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.move-icon-link {
+    background-image: url( ../images/move.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.view-icon-link {
+    background-image: url( ../images/view.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.feed-small-res-icon-link {
+    background-image: url( ../images/icon-feed-small-res.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.registry-picker-icon-link {
+    background-image: url( ../images/registry_picker.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.nseditor-icon-link {
+    background-image: url( ../images/nseditor-icon.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.add-icon-link {
+    background-image: url( ../images/add.gif );    
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+a.policie-icon-link {
+    background-image: url( ../images/policies.gif );
+    background-repeat: no-repeat;
+    background-position: left top;
+    padding-left: 20px;
+    line-height: 17px;
+    height: 17px;
+    float: left;
+    position: relative;
+    margin-left: 10px;
+    margin-top: 5px;
+    margin-bottom: 3px;
+    white-space: nowrap;
+}
+span.icon-text {
+background-image: url(../images/default-menu-icon.gif);
+background-repeat: no-repeat;
+background-position: left top;
+padding-left: 20px;
+line-height: 17px;
+height: 17px;
+float: left;
+position: relative;
+margin-left: 10px;
+margin-top: 3px;
+margin-bottom: 3px;
+white-space: nowrap;
+}
+span.icon-text-disabled {
+background-image: url(../images/default-menu-icon.gif);
+background-repeat: no-repeat;
+background-position: left top;
+padding-left: 20px;
+line-height: 17px;
+height: 17px;
+float: left;
+position: relative;
+margin-left: 10px;
+margin-top: 3px;
+margin-bottom: 3px;
+white-space: nowrap;
+color: #999;
+}
+select {
+font-size: 100%;
+}
+span.required,div.required{
+color:red;
+}
+form label.error {
+    color: #ed0000;
+    padding-left:10px;
+}
+.longInput{
+width:250px;
+}
+
+/*  Small column style*/
+.leftCol-small{
+    width:150px;
+}
+div.sectionSub div.sectionSub .leftCol-small{  /* Second level */
+    width:140px;
+}
+div.sectionSub div.sectionSub div.sectionSub .leftCol-small{  /*third level  */
+    width:130px;
+}
+div.sectionSub div.sectionSub div.sectionSub .leftCol-small{  /* Fourth level */
+    width:120px;
+}
+/*  Medium column style*/
+.leftCol-med{
+    width:250px;
+}
+div.sectionSub div.sectionSub .leftCol-med{  /* Second level */
+    width:240px;
+}
+div.sectionSub div.sectionSub div.sectionSub .leftCol-med{  /* third level */
+    width:230px;
+}
+div.sectionSub div.sectionSub div.sectionSub .leftCol-med{  /* Fourth level */
+    width:220px;
+}
+
+/*  Big column style*/
+.leftCol-big{
+    width:350px;
+}
+div.sectionSub div.sectionSub .leftCol-big{  /* Second level */
+    width:340px;
+}
+div.sectionSub div.sectionSub div.sectionSub .leftCol-big{  /* third level */
+    width:330px;
+}
+div.sectionSub div.sectionSub div.sectionSub .leftCol-big{  /* Fourth level */
+    width:320px;
+}
+
+
+.ajax-loading-message-small{
+position:relative;
+margin-left:150px;
+font-size:12px;
+font-weight:bold;
+color:#aaaaaa;
+}
+.ajax-loading-message img{
+margin-right:20px;
+}
+/*--- service parameter page styles ( use to remove the unwanted colors inherited from Highlightre styles ---- */
+div.dp-highlighter {
+background-color: transparent;
+}
+div.dp-highlighter ol {
+background-color: transparent;
+}
+div.dp-highlighter ol li.alt {
+background-color: transparent;
+}
+div.dp-highlighter ol li, .dp-highlighter .columns div {
+background-color: transparent;
+}
+input.text-box-big {
+width: 250px;
+}
+.info-box{
+background-color:#EEF3F6;
+border:1px solid #ABA7A7;
+font-size:13px;
+font-weight:bold;
+margin-bottom:10px;
+padding:10px;
+}
+.mSelected {
+    background-color: #DDDDDD !important;
+}
+div.clear  {
+font-size:4px;
+line-height:4px;
+}
+.panelClass{
+border: 1px solid #CCCCCC;
+padding:5px;
+-moz-border-radius: 5px;
+-moz-border-radius: 5px;
+border-radius: 5px;
+border-radius: 5px;
+
+-moz-box-shadow: 5px 5px 5px #888;
+-webkit-box-shadow: 5px 5px 5px #888;
+box-shadow: 5px 5px 5px #888;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='../images/panelImage.png');
+ white-space:nowrap;
+ line-height:25px;
+}
+.panelClass[class] {
+background-image:url(../images/panelImage.png);
+}
+.defaultText{
+    color: #666666;
+    font-style:italic;
+}
+.vertical-menu-container{
+    width:15px;
+    background-color:#f0f0f0;
+    border-right:solid 1px #767676;
+    border-top:solid 1px #cccccc;
+}
+.menu-panel-buttons{
+    width:15px;
+    cursor:pointer;
+    background-color:#c8c8c8;
+    border-right: 1px solid #CCCCCC;
+    border-top: 1px solid #CCCCCC;
+    border-bottom: 1px solid #CCCCCC;
+
+    -moz-border-radius: 3px;
+    -moz-border-radius: 3px;
+    border-radius: 3px;
+    border-radius: 3px;
+
+    margin-bottom:10px;
+    height:47px;
+    padding-top:10px;
+    padding-bottom:10px;
+}
+.menu-panel-buttons span{
+    background-color: #cccccc;
+    color: #333333;
+    display:block;
+    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
+    -webkit-transform: rotate(-90deg);
+    -moz-transform: rotate(-90deg);
+    -o-transform: rotate(-90deg);
+    white-space:nowrap;
+    display:block;
+    width:60px;
+    *position:absolute;
+    margin-left:-25px;
+    margin-top:15px;
+    padding-right:2px;
+    padding-left:2px;
+}
+.menu-panel-buttons span.ie{
+    margin-left:0px;
+    margin-top:-10px;
+}
+div.selected{
+    border:solid 1px #000;
+}
+div.selected{
+    -moz-box-shadow: 3px 3px 3px #888;
+    -webkit-box-shadow: 3px 3px 3px #888;
+    box-shadow: 3px 3px 3px #888;
+}
+div.selected span{
+    color:#fff;
+    background-color: #a4a4a4;    
+}
+#menu-panel-button0{
+    height:20px;
+    margin-top:5px;
+    margin-bottom:5px;
+    margin-left:2px;
+    cursor:pointer;
+}
+
+.showToHidden{
+    background:transparent url(../images/leftRightSlider-dark.png) no-repeat 0 0;
+}
+.hiddenToShow{
+    background:transparent url(../images/leftRightSlider-dark.png) no-repeat -20px 0;
+}
+.vertical-menu{
+    background-color: #b0bcc3;
+    width:20px;
+}
+label.form-help{
+    color: #999999;
+    display:block;
+}
+
+
+/*---toggle styles --*/
+h2.active {
+   background-image:url(../images/down-arrow.png) !important;
+}
+h2.trigger {
+    border: solid 1px #c2c4c6;
+
+    -moz-box-shadow: 3px 3px 3px #888;
+    -webkit-box-shadow: 3px 3px 3px #888;
+    box-shadow: 3px 3px 3px #888;
+
+    padding: 0;
+    background-color: #e9e9e9;
+    background-image:url(../images/up-arrow.png);
+    background-repeat:no-repeat;
+    background-position:5px center;
+    padding-left: 30px;
+    padding-bottom:0px !important;
+    margin-bottom:0px !important;
+    margin: 0;
+    z-index: 1;
+    cursor: pointer;
+    height: 25px;
+}
+
+h2.trigger a {
+    line-height: 25px;
+    color: #000000;
+    font-weight: normal;
+    padding: 5px 5px;
+    outline-color: -moz-use-text-color;
+    outline-style: none;
+    outline-width: 0;
+    font-size: 0.7em;
+
+}
+
+.toggle_container {
+    background-color: #fff;
+    border: solid 1px #e1e1e1;
+    -moz-border-radius-bottomright: 3px;
+    border-bottom-right-radius: 3px;
+    -moz-border-radius-bottomleft: 3px;
+    border-bottom-left-radius: 3px;
+    padding:10px;
+
+    -moz-box-shadow: 5px 5px 5px #888;
+    -webkit-box-shadow: 5px 5px 5px #888;
+    box-shadow: 5px 5px 5px #888;
+    clear: both;
+    z-index: 0;
+}
+label.error{
+    color:red;
+    padding-left:5px;
+}
+.loadingDialogBox{
+    border-top:solid 5px #88afbd;
+    border-bottom:solid 1px #88afbd;
+    border-left:solid 1px #88afbd;
+    border-right:solid 1px #88afbd;
+    padding:10px 5px 10px 35px;
+    line-height:20px;
+    background:transparent url(../images/loading-small.gif) no-repeat 10px 10px;
+}
+.something-wrong{
+    background-color:#ffe886;
+    border:solid 1px #c4ad4d;
+    border-bottom:solid 5px #c4ad4d;
+    padding:5px;
+    width:950px;
+    margin:auto;
+    z-index:1000;
+}
+.something-wrong div.title{
+    font-size:14px;
+    font-weight: bold;
+}
+.something-wrong div.content{
+    font:11px;
+}


[34/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.ui.feature/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.ui.feature/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.ui.feature/pom.xml
deleted file mode 100755
index d8150ad..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.ui.feature/pom.xml
+++ /dev/null
@@ -1,218 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.
--->
-
-<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.stratos2</groupId>
-        <artifactId>wso2stratos2-features-parent</artifactId>
-        <version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos2.ui.feature</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos - Cloud Manager UI Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the bundles required for Front-end Cloud Manager functionality</description>
-
-        <dependencies>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.account.mgt.ui</artifactId>
-	    <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.sample.installer.ui</artifactId>
-		<version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.sample.installer.stub</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.ui.menu.tools</artifactId>
-		<version>${wso2carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.stratos.common</artifactId>
-            </dependency>
-            <!--<dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt.ui</artifactId>
-		<version>${stratos.version}</version>
-            </dependency>-->
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.theme.mgt.ui</artifactId>
-		<version>${stratos.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.theme.mgt.stub</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.batik.wso2</groupId>
-                <artifactId>batik</artifactId>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.validate.domain.ui</artifactId>
-		<version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.register.ui</artifactId>
-		<version>2.1.1</version>
-            </dependency>
-            <!--<dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.activity.ui</artifactId>
-              <version>${stratos.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.activity.stub</artifactId>
-              <version>4.0.0</version>
-            </dependency>-->
-	    <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.email.verification.ui</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
-	        <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.email.verification.stub</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
- <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.register.stub</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.security.mgt</artifactId>
-	    <version>${carbon.version}</version>
-        </dependency>
-	<dependency>
-                <groupId>org.wso2.stratos2</groupId>
-                <artifactId>org.wso2.stratos.manager.dashboard.ui</artifactId>
-                <version>${stratos.controller.version}</version>
-		</dependency>
-	<dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.stratos.manager.dashboard.stub</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-         <dependency>
-                <groupId>org.wso2.stratos2</groupId>
-                <artifactId>org.wso2.stratos.manager.login.ui</artifactId>
-                <version>${stratos.controller.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.stratos2</groupId>
-                <artifactId>org.wso2.stratos.manager.styles</artifactId>
-                <version>${stratos.controller.version}</version>
-            </dependency>
-	    <!--stubs-->
-	    <dependency>
-		 <groupId>org.wso2.carbon</groupId>
-                 <artifactId>org.wso2.carbon.account.mgt.stub</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
-	    <dependency>
-                 <groupId>org.wso2.carbon</groupId>
-                 <artifactId>org.wso2.carbon.validate.domain.stub</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
-        </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.stratos2.ui</id>
-                            <propertiesFile>../etc/feature.properties</propertiesFile>
-                            <adviceFile>
-                                <properties>
-                                    <propertyDef>org.wso2.carbon.p2.category.type:console</propertyDef>
-                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
-                                </properties>
-                            </adviceFile>
-                            <bundles>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.account.mgt.ui:${stratos.component.version}</bundleDef>
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.ui</bundleDef>-->
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.theme.mgt.ui</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.theme.mgt.stub</bundleDef>
-                                <bundleDef>org.apache.batik.wso2:batik</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.validate.domain.ui</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.register.ui:2.1.1</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.sample.installer.ui</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.sample.installer.stub</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.payment.ui:${stratos.component.version}</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.email.verification.ui</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.email.verification.stub</bundleDef>
-                                <bundleDef>org.wso2.stratos2:org.wso2.stratos.manager.dashboard.ui </bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.stratos.manager.dashboard.stub</bundleDef>
-                                <bundleDef>org.wso2.stratos2:org.wso2.stratos.manager.login.ui</bundleDef>
-                                <bundleDef>org.wso2.stratos2:org.wso2.stratos.manager.styles</bundleDef>
-				<!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.activity.ui</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.activity.stub:${wso2carbon.version}</bundleDef>-->
-
-				<!--stub bundles -->
-
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.account.mgt.stub</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.validate.domain.stub</bundleDef>
-				<!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.stub:${wso2carbon.version}</bundleDef>-->
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.register.stub:${wso2carbon.version}</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.payment.stub:${wso2carbon.version}</bundleDef>
-                            </bundles>
-                            <importBundles>
-                                <importBundleDef>org.wso2.carbon:org.wso2.carbon.ui.menu.tools</importBundleDef>
-                            </importBundles>
-                            <importFeatures>
-                                <importFeatureDef>org.wso2.carbon.security.mgt:${carbon.version}</importFeatureDef>
-                                <importFeatureDef>org.wso2.carbon.core.ui:${carbon.version}</importFeatureDef>
-                            </importFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features/service/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features/service/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/features/service/pom.xml
deleted file mode 100755
index e00f619..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features/service/pom.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.
--->
-        
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-features-parent</artifactId>
-	<version>1.0.0</version>
-        <relativePath>../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>stratos2-features</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos2 - Features Aggregator Module</name>
-    <url>http://wso2.org</url>
-
-    <modules>
-        <module>org.wso2.stratos2.feature</module>
-        <module>org.wso2.stratos2.server.feature</module>
-        <module>org.wso2.stratos2.ui.feature</module>
-    </modules>
-
-    <properties>
-        <wso2carbon.version>4.1.0</wso2carbon.version>
-	    <synapse.version>${version.synapse}</synapse.version>
-        <quartz.wso2.version>2.1.1.wso2v1</quartz.wso2.version>
-	    <stratos.controller.version>1.0.0</stratos.controller.version>
-    </properties>
-
-</project>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/integration/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/integration/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/integration/pom.xml
deleted file mode 100755
index 1ebfe66..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/integration/pom.xml
+++ /dev/null
@@ -1,146 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>integration</artifactId>
-    <name>WSO2 Stratos Manager - Integration Tests</name>
-    <packaging>jar</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-clean-plugin</artifactId>
-                <version>2.4.1</version>
-                <executions>
-                    <execution>
-                        <id>auto-clean</id>
-                        <phase>initialize</phase>
-                        <goals>
-                            <goal>clean</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <inherited>false</inherited>
-                <configuration>
-                    <suiteXmlFiles>
-                        <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
-                    </suiteXmlFiles>
-                    <!--includes>
-                        <include>**/*TestServerManager.java</include>
-                        <include>**/LoginLogoutTestCase.java</include>
-                        <include>**/TenantMgtTestCase.java</include>
-                    </includes-->
-                    <systemProperties>
-                        <maven.test.haltafterfailure>false</maven.test.haltafterfailure>
-                        <carbon.zip>
-                            ${basedir}/../distribution/target/wso2stratos-manager-${project.version}.zip
-                        </carbon.zip>
-                        <sec.verifier.dir>${basedir}/target/security-verifier/</sec.verifier.dir>
-                        <extracted.dir>wso2stratos-manager-${project.version}</extracted.dir>
-                        <emma.home>${basedir}/target/emma</emma.home>
-                    </systemProperties>
-                    <workingDirectory>${basedir}/target</workingDirectory>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy-emma-dependencies</id>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}/emma</outputDirectory>
-                            <includeTypes>jar</includeTypes>
-                            <includeArtifactIds>emma,org.wso2.carbon.integration.framework</includeArtifactIds>
-                        </configuration>
-                    </execution>
-                    <execution>
-                    	<id>copy-secVerifier</id>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/security-verifier</outputDirectory>
-                            <includeTypes>aar</includeTypes>
-                            <includeArtifactIds>SecVerifier</includeArtifactIds>
-                            <stripVersion>true</stripVersion>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.integration.framework</artifactId>
-            <version>${carbon.kernel.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.testng</groupId>
-            <artifactId>testng</artifactId>
-            <version>6.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>emma</groupId>
-            <artifactId>emma</artifactId>
-            <version>${emma.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2-client</artifactId>
-            <version>${axis2.osgi.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.addressing</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.integration.core</artifactId>
-            <version>${carbon.kernel.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt.stub</artifactId>
-            <version>${carbon.kernel.version}</version>
-        </dependency>
-        <dependency>
-        	<groupId>org.wso2.carbon</groupId>
-        	<artifactId>SecVerifier</artifactId>
-        	<version>${carbon.kernel.version}</version>
-        	<type>aar</type>
-        </dependency>
-    </dependencies>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/LoginLogoutTestCase.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/LoginLogoutTestCase.java b/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/LoginLogoutTestCase.java
deleted file mode 100755
index 3c4416e..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/LoginLogoutTestCase.java
+++ /dev/null
@@ -1,48 +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.
-*/
-package org.wso2.stratos.manager.integration.tests;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.testng.annotations.Test;
-import org.wso2.carbon.integration.framework.ClientConnectionUtil;
-import org.wso2.carbon.integration.framework.LoginLogoutUtil;
-
-/**
- * A test case which tests logging in & logging out of a Carbon core server
- */
-public class LoginLogoutTestCase {
-
-    private LoginLogoutUtil util = new LoginLogoutUtil();
-    public static final Log log = LogFactory.getLog(LoginLogoutTestCase.class);
-
-    @Test(groups = {"stratos.manager"})
-    public void login() throws Exception {
-        log.info("****************************** LoginLogoutTestCase Start ******************************");
-        ClientConnectionUtil.waitForPort(9763);
-        util.login();
-    }
-
-    @Test(groups = {"stratos.manager"})
-    public void logout() throws Exception {
-        ClientConnectionUtil.waitForPort(9763);
-        util.logout();
-        log.info("****************************** LoginLogoutTestCase End ******************************");
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/SecurityVerificationTestCase.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/SecurityVerificationTestCase.java b/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/SecurityVerificationTestCase.java
deleted file mode 100755
index b7ea555..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/SecurityVerificationTestCase.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-*  Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-*  WSO2 Inc. licenses this file to you under the Apache License,
-*  Version 2.0 (the "License"); you may not use this file except
-*  in compliance with the License.
-*  You may obtain a copy of the License at
-*
-*    http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-package org.wso2.stratos.manager.integration.tests;
-
-import org.wso2.carbon.integration.framework.SecurityVerificationTest;
-
-/**
- * Test to ensure that the WSO2 Stratos Manager is properly secured
- */
-public class SecurityVerificationTestCase extends SecurityVerificationTest {
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/StratosManagerTestServerManager.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/StratosManagerTestServerManager.java b/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/StratosManagerTestServerManager.java
deleted file mode 100755
index 423cb6f..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/StratosManagerTestServerManager.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-*  Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-*  WSO2 Inc. licenses this file to you under the Apache License,
-*  Version 2.0 (the "License"); you may not use this file except
-*  in compliance with the License.
-*  You may obtain a copy of the License at
-*
-*    http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-package org.wso2.stratos.manager.integration.tests;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.testng.annotations.AfterSuite;
-import org.testng.annotations.BeforeSuite;
-import org.wso2.carbon.integration.framework.TestServerManager;
-import org.wso2.carbon.utils.FileManipulator;
-
-import java.io.File;
-import java.io.IOException;
-
-/**
- * Prepares the WSO2 AS for test runs, starts the server, and stops the server after
- * test runs
- */
-public class StratosManagerTestServerManager extends TestServerManager {
-    private static final Log log = LogFactory.getLog(StratosManagerTestServerManager.class);
-
-    @Override
-    @BeforeSuite(timeOut = 300000)
-    public String startServer() throws IOException {
-        String carbonHome = super.startServer();
-        System.setProperty("carbon.home", carbonHome);
-        return carbonHome;
-    }
-
-    @Override
-    @AfterSuite(timeOut = 60000)
-    public void stopServer() throws Exception {
-        super.stopServer();
-    }
-
-    protected void copyArtifacts(String carbonHome) throws IOException {
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/TenantMgtTestCase.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/TenantMgtTestCase.java b/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/TenantMgtTestCase.java
deleted file mode 100755
index 8ef4627..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/TenantMgtTestCase.java
+++ /dev/null
@@ -1,91 +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.
-*/
-
-package org.wso2.stratos.manager.integration.tests;
-
-import org.apache.axis2.client.ServiceClient;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.testng.Assert;
-import org.testng.annotations.AfterClass;
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
-import org.wso2.carbon.integration.framework.utils.FrameworkSettings;
-import org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub;
-import org.wso2.carbon.tenant.mgt.stub.beans.xsd.TenantInfoBean;
-import org.wso2.carbon.utils.CarbonUtils;
-
-import java.util.Calendar;
-import java.util.Date;
-import java.util.GregorianCalendar;
-
-public class TenantMgtTestCase {
-
-    private static String TenantMgtAdminServiceURL;
-    private static String TestTenantDomain;
-    public static final Log log = LogFactory.getLog(TenantMgtTestCase.class);
-
-    @BeforeClass
-    public void init() {
-        log.info("****************************** TenantMgtTestCase Start ******************************");
-        TestTenantDomain = "testcase.org";
-        TenantMgtAdminServiceURL = "https://" + FrameworkSettings.HOST_NAME + ":" +
-                                 FrameworkSettings.HTTPS_PORT + "/services/TenantMgtAdminService";
-    }
-
-    @Test(groups = {"stratos.manager"})
-    public void addTenantTest() throws Exception {
-        Calendar calender = new GregorianCalendar();
-        calender.setTime(new Date());
-
-        TenantInfoBean tenantInfoBean = new TenantInfoBean();
-        tenantInfoBean.setActive(true);
-        tenantInfoBean.setEmail("manager-test@wso2.com");
-        tenantInfoBean.setAdmin("admin");
-        tenantInfoBean.setAdminPassword("admin123");
-        tenantInfoBean.setTenantDomain(TestTenantDomain);
-        tenantInfoBean.setCreatedDate(calender);
-        tenantInfoBean.setFirstname("Fname");
-        tenantInfoBean.setLastname("Lname");
-        tenantInfoBean.setSuccessKey("true");
-        tenantInfoBean.setUsagePlan("Demo");
-
-        TenantMgtAdminServiceStub stub = new TenantMgtAdminServiceStub(TenantMgtAdminServiceURL);
-        ServiceClient client = stub._getServiceClient();
-        CarbonUtils.setBasicAccessSecurityHeaders(FrameworkSettings.USER_NAME, FrameworkSettings.PASSWORD, client);
-
-        String result = stub.addTenant(tenantInfoBean);
-        Assert.assertTrue(stub.retrieveTenants()[0].getTenantDomain().equals(TestTenantDomain));
-
-    }
-
-    @Test(groups = {"stratos.manager"})
-    public void activateTenantTest() throws Exception {
-        TenantMgtAdminServiceStub stub = new TenantMgtAdminServiceStub(TenantMgtAdminServiceURL);
-        ServiceClient client = stub._getServiceClient();
-        CarbonUtils.setBasicAccessSecurityHeaders(FrameworkSettings.USER_NAME, FrameworkSettings.PASSWORD, client);
-        stub.activateTenant(TestTenantDomain);
-        Assert.assertTrue(stub.retrieveTenants()[0].getActive());
-    }
-
-    @AfterClass
-    public void end(){
-        log.info("****************************** TenantMgtTestCase End ******************************");
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/instrumentation.txt
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/instrumentation.txt b/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/instrumentation.txt
deleted file mode 100755
index ec8ccdd..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/instrumentation.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-org.wso2.carbon.tenant.mgt_
-org.wso2.carbon.tenant.mgt.core_
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/keys/wso2carbon.jks
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/keys/wso2carbon.jks b/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/keys/wso2carbon.jks
deleted file mode 100755
index 7942c53..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/keys/wso2carbon.jks and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/testng.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/testng.xml b/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/testng.xml
deleted file mode 100755
index f7d0094..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/integration/src/test/resources/testng.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
-<suite name="WSO2 Stratos Manager Test Suite">
-    <test name="testing" preserve-order="true">
-        <classes>
-            <class name="org.wso2.stratos.manager.integration.tests.StratosManagerTestServerManager"/>
-            <class name="org.wso2.stratos.manager.integration.tests.LoginLogoutTestCase"/>
-            <class name="org.wso2.stratos.manager.integration.tests.SecurityVerificationTestCase"/>
-            <class name="org.wso2.stratos.manager.integration.tests.TenantMgtTestCase">
-                <methods>
-                    <include name="init"/>
-                    <include name="addTenantTest"/>
-                    <include name="activateTenantTest"/>
-                </methods>
-            </class>
-        </classes>
-    </test>
-</suite>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/login/pom.xml
deleted file mode 100644
index fa70ea1..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/pom.xml
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-# Copyright (c) 2008, 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.
-  -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos.manager.login.ui</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon Cloud Manager - Login User Interface</name>
-    <version>${stratos.controller.version}</version>
-
-    <build>
-
-        <plugins>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-	    
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>add-source</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                        </goals>
-                        <configuration>
-                            <sources>
-                                <source>target/generated-code/src</source>
-                            </sources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Import-Package>
-                            javax.servlet; version=2.4.0,
-                            javax.servlet.http; version=2.4.0,
-                            org.apache.lucene.*,
-                            *;resolution:=optional
-                        </Import-Package>
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-
-        </plugins>
-    </build>
-
-   <dependencies>
-
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.common.ui</artifactId>
-            <version>${registry-component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-    </dependencies>
-
-
-    <properties>
-        <eclipse.version>3.2.0</eclipse.version>
-        <!-- Component versions == Carbon version, if not, please change the properties below. -->
-        <registry-component.version>4.1.0</registry-component.version>
-   </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/META-INF/component.xml b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/META-INF/component.xml
deleted file mode 100644
index 746a68b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/META-INF/component.xml
+++ /dev/null
@@ -1,20 +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.
- -->
-<component xmlns="http://products.wso2.org/carbon">
-    <!-- sample menu configuration -->
-</component>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/TenantService.wsdl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/TenantService.wsdl b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/TenantService.wsdl
deleted file mode 100644
index ebc8b11..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/TenantService.wsdl
+++ /dev/null
@@ -1,576 +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.
- -->
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ax223="http://exceptions.core.registry.carbon.wso2.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ns="http://services.mgt.tenant.multitenancy.carbon.wso2.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ax226="http://util.mgt.tenant.multitenancy.carbon.wso2.com/xsd" targetNamespace="http://services.mgt.tenant.multitenancy.carbon.wso2.com">
-    <wsdl:documentation>TenantConfigService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema xmlns:ax225="http://exceptions.core.registry.carbon.wso2.org/xsd" xmlns:ax227="http://util.mgt.tenant.multitenancy.carbon.wso2.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.mgt.tenant.multitenancy.carbon.wso2.com">
-            <xs:import namespace="http://exceptions.core.registry.carbon.wso2.org/xsd" />
-            <xs:import namespace="http://util.mgt.tenant.multitenancy.carbon.wso2.com/xsd" />
-            <xs:complexType name="Exception">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType" />
-                </xs:sequence>
-            </xs:complexType>
-            <xs:element name="RegistryException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="RegistryException" nillable="true" type="ax225:RegistryException" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateOrSuggestDomain">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" />
-                        <xs:element minOccurs="0" name="successKey" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateOrSuggestDomainResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="updateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" nillable="true" type="ax226:TenantInfoBean" />
-                        <xs:element minOccurs="0" name="oldAdminPassword" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="proceedTenantAdding">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" nillable="true" type="ax226:TenantInfoBean" />
-                        <xs:element minOccurs="0" name="confirmationKey" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="proceedTenantAddingResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getTenantsResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax226:TenantInfoBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getTenantResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="ax226:TenantInfoBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="deactivateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="Exception">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="Exception" nillable="true" type="ns:Exception" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="checkDomainAvailability">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="checkDomainAvailabilityResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="addTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" nillable="true" type="ax226:TenantInfoBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="activateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-        <xs:schema xmlns:ax224="http://services.mgt.tenant.multitenancy.carbon.wso2.com" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://exceptions.core.registry.carbon.wso2.org/xsd">
-            <xs:import namespace="http://services.mgt.tenant.multitenancy.carbon.wso2.com" />
-            <xs:complexType name="RegistryException">
-                <xs:complexContent>
-                    <xs:extension base="ax224:Exception">
-                        <xs:sequence />
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://util.mgt.tenant.multitenancy.carbon.wso2.com/xsd">
-            <xs:complexType name="TenantInfoBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean" />
-                    <xs:element minOccurs="0" name="admin" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="adminPassword" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="successKey" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="tenantId" type="xs:int" />
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="deactivateTenantRequest">
-        <wsdl:part name="parameters" element="ns:deactivateTenant" />
-    </wsdl:message>
-    <wsdl:message name="deactivateTenantResponse" />
-    <wsdl:message name="RegistryException">
-        <wsdl:part name="parameters" element="ns:RegistryException" />
-    </wsdl:message>
-    <wsdl:message name="activateTenantRequest">
-        <wsdl:part name="parameters" element="ns:activateTenant" />
-    </wsdl:message>
-    <wsdl:message name="activateTenantResponse" />
-    <wsdl:message name="validateOrSuggestDomainRequest">
-        <wsdl:part name="parameters" element="ns:validateOrSuggestDomain" />
-    </wsdl:message>
-    <wsdl:message name="validateOrSuggestDomainResponse">
-        <wsdl:part name="parameters" element="ns:validateOrSuggestDomainResponse" />
-    </wsdl:message>
-    <wsdl:message name="addTenantRequest">
-        <wsdl:part name="parameters" element="ns:addTenant" />
-    </wsdl:message>
-    <wsdl:message name="addTenantResponse" />
-    <wsdl:message name="proceedTenantAddingRequest">
-        <wsdl:part name="parameters" element="ns:proceedTenantAdding" />
-    </wsdl:message>
-    <wsdl:message name="proceedTenantAddingResponse">
-        <wsdl:part name="parameters" element="ns:proceedTenantAddingResponse" />
-    </wsdl:message>
-    <wsdl:message name="getTenantsRequest" />
-    <wsdl:message name="getTenantsResponse">
-        <wsdl:part name="parameters" element="ns:getTenantsResponse" />
-    </wsdl:message>
-    <wsdl:message name="checkDomainAvailabilityRequest">
-        <wsdl:part name="parameters" element="ns:checkDomainAvailability" />
-    </wsdl:message>
-    <wsdl:message name="checkDomainAvailabilityResponse">
-        <wsdl:part name="parameters" element="ns:checkDomainAvailabilityResponse" />
-    </wsdl:message>
-    <wsdl:message name="Exception">
-        <wsdl:part name="parameters" element="ns:Exception" />
-    </wsdl:message>
-    <wsdl:message name="getTenantRequest">
-        <wsdl:part name="parameters" element="ns:getTenant" />
-    </wsdl:message>
-    <wsdl:message name="getTenantResponse">
-        <wsdl:part name="parameters" element="ns:getTenantResponse" />
-    </wsdl:message>
-    <wsdl:message name="updateTenantRequest">
-        <wsdl:part name="parameters" element="ns:updateTenant" />
-    </wsdl:message>
-    <wsdl:message name="updateTenantResponse" />
-    <wsdl:portType name="TenantConfigServicePortType">
-        <wsdl:operation name="deactivateTenant">
-            <wsdl:input message="ns:deactivateTenantRequest" wsaw:Action="urn:deactivateTenant" />
-            <wsdl:output message="ns:deactivateTenantResponse" wsaw:Action="urn:deactivateTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:deactivateTenantRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <wsdl:input message="ns:activateTenantRequest" wsaw:Action="urn:activateTenant" />
-            <wsdl:output message="ns:activateTenantResponse" wsaw:Action="urn:activateTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:activateTenantRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="validateOrSuggestDomain">
-            <wsdl:input message="ns:validateOrSuggestDomainRequest" wsaw:Action="urn:validateOrSuggestDomain" />
-            <wsdl:output message="ns:validateOrSuggestDomainResponse" wsaw:Action="urn:validateOrSuggestDomainResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:validateOrSuggestDomainRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <wsdl:input message="ns:addTenantRequest" wsaw:Action="urn:addTenant" />
-            <wsdl:output message="ns:addTenantResponse" wsaw:Action="urn:addTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:addTenantRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="proceedTenantAdding">
-            <wsdl:input message="ns:proceedTenantAddingRequest" wsaw:Action="urn:proceedTenantAdding" />
-            <wsdl:output message="ns:proceedTenantAddingResponse" wsaw:Action="urn:proceedTenantAddingResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:proceedTenantAddingRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="getTenants">
-            <wsdl:input message="ns:getTenantsRequest" wsaw:Action="urn:getTenants" />
-            <wsdl:output message="ns:getTenantsResponse" wsaw:Action="urn:getTenantsResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:getTenantsRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="checkDomainAvailability">
-            <wsdl:input message="ns:checkDomainAvailabilityRequest" wsaw:Action="urn:checkDomainAvailability" />
-            <wsdl:output message="ns:checkDomainAvailabilityResponse" wsaw:Action="urn:checkDomainAvailabilityResponse" />
-            <wsdl:fault message="ns:Exception" name="Exception" wsaw:Action="urn:checkDomainAvailabilityException" />
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <wsdl:input message="ns:getTenantRequest" wsaw:Action="urn:getTenant" />
-            <wsdl:output message="ns:getTenantResponse" wsaw:Action="urn:getTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:getTenantRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <wsdl:input message="ns:updateTenantRequest" wsaw:Action="urn:updateTenant" />
-            <wsdl:output message="ns:updateTenantResponse" wsaw:Action="urn:updateTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:updateTenantRegistryException" />
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="TenantConfigServiceSoap11Binding" type="ns:TenantConfigServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-        <wsdl:operation name="deactivateTenant">
-            <soap:operation soapAction="urn:deactivateTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <soap:operation soapAction="urn:activateTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="validateOrSuggestDomain">
-            <soap:operation soapAction="urn:validateOrSuggestDomain" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <soap:operation soapAction="urn:addTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="proceedTenantAdding">
-            <soap:operation soapAction="urn:proceedTenantAdding" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getTenants">
-            <soap:operation soapAction="urn:getTenants" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="checkDomainAvailability">
-            <soap:operation soapAction="urn:checkDomainAvailability" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="Exception">
-                <soap:fault use="literal" name="Exception" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <soap:operation soapAction="urn:getTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <soap:operation soapAction="urn:updateTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantConfigServiceSoap12Binding" type="ns:TenantConfigServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-        <wsdl:operation name="deactivateTenant">
-            <soap12:operation soapAction="urn:deactivateTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <soap12:operation soapAction="urn:activateTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="validateOrSuggestDomain">
-            <soap12:operation soapAction="urn:validateOrSuggestDomain" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <soap12:operation soapAction="urn:addTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="proceedTenantAdding">
-            <soap12:operation soapAction="urn:proceedTenantAdding" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getTenants">
-            <soap12:operation soapAction="urn:getTenants" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="checkDomainAvailability">
-            <soap12:operation soapAction="urn:checkDomainAvailability" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="Exception">
-                <soap12:fault use="literal" name="Exception" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <soap12:operation soapAction="urn:getTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <soap12:operation soapAction="urn:updateTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantConfigServiceHttpBinding" type="ns:TenantConfigServicePortType">
-        <http:binding verb="POST" />
-        <wsdl:operation name="deactivateTenant">
-            <http:operation location="deactivateTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="deactivateTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="deactivateTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <http:operation location="activateTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="activateTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="activateTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="validateOrSuggestDomain">
-            <http:operation location="validateOrSuggestDomain" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="validateOrSuggestDomain" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="validateOrSuggestDomain" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <http:operation location="addTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="addTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="addTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="proceedTenantAdding">
-            <http:operation location="proceedTenantAdding" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="proceedTenantAdding" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="proceedTenantAdding" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getTenants">
-            <http:operation location="getTenants" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="getTenants" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="getTenants" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="checkDomainAvailability">
-            <http:operation location="checkDomainAvailability" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="checkDomainAvailability" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="checkDomainAvailability" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <http:operation location="getTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="getTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="getTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <http:operation location="updateTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="updateTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="updateTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="TenantConfigService">
-        <wsdl:port name="TenantConfigServiceHttpsSoap11Endpoint" binding="ns:TenantConfigServiceSoap11Binding">
-            <soap:address location="https://10.100.1.125:9443/services/TenantConfigService.TenantConfigServiceHttpsSoap11Endpoint/" />
-        </wsdl:port>
-        <wsdl:port name="TenantConfigServiceHttpsSoap12Endpoint" binding="ns:TenantConfigServiceSoap12Binding">
-            <soap12:address location="https://10.100.1.125:9443/services/TenantConfigService.TenantConfigServiceHttpsSoap12Endpoint/" />
-        </wsdl:port>
-        <wsdl:port name="TenantConfigServiceHttpsEndpoint" binding="ns:TenantConfigServiceHttpBinding">
-            <http:address location="https://10.100.1.125:9443/services/TenantConfigService.TenantConfigServiceHttpsEndpoint/" />
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/css/loginpage.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/css/loginpage.css b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/css/loginpage.css
deleted file mode 100644
index c69f1c6..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/css/loginpage.css
+++ /dev/null
@@ -1,268 +0,0 @@
-body {
-	color:#111111;
-	font-family:"Calibri","Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms" !important;
-	font-size:0.75em;
-	font-size-adjust:none;
-	font-style:normal;
-	font-variant:normal;
-	font-weight:normal;
-	line-height:1.25em;
-	background-image: url(../images/body-bg.gif);
-	background-position: left top;
-	background-repeat: repeat-x;
-	margin: 0px;
-	padding: 0px;
-}
-
-div.clear {
-	clear:both;
-}
-p { }
-
-td { }
-
-a:link { }
-
-a:visited { }
-
-a:hover { }
-
-a:active { }
-
-div#login-content {
-	background-image:url(../images/login-bg.gif);
-	background-position:left top;
-	background-repeat:no-repeat;
-	height:277px;
-	left:50%;
-	margin-left:-481px;
-	position:absolute;
-	text-align:center;
-	width:962px;
-}
-div#login-content div.main-text {
-	margin-top: 113px;
-	margin-left: 50px;
-	float: left;
-	width: 750px;
-	font-size: 140%;
-	line-height: 125%;
-	height: 80px;
-	text-align: left;
-}
-div.feature {
-	float:left;
-	margin-left:79px;
-	margin-top:23px;
-	padding-bottom:20px;
-	padding-top:20px;
-	text-align:left;
-	width:221px;
-}
-div.feature img {
-	float: left;
-	margin-right: 10px;
-	width: 64px;
-}
-div.feature h2 {
-	margin-top: 0px;
-	margin-bottom: 7px;
-	color: #0499CC;
-	font-size: 155%;
-	line-height: 110%;
-	font-weight: normal;
-	
-}
-div.feature p {
-	margin-top: 0px;
-	padding-top: 0px;
-}
-div#login-content div.feature-left {
-	margin-left: 70px;
-}
-a.register-button {
-	background-image:url(../images/reg-button.gif);
-	background-position:left top;
-	background-repeat:no-repeat;
-	color:#FFFFFF;
-	cursor:pointer;
-	display:block;
-	font-size:220%;
-	font-weight:normal;
-	line-height:63px;
-	margin:auto auto 5px;
-	text-align:left;
-	text-decoration:none;
-	text-indent:25px;
-	width:444px;
-}
-a.register-button:hover {
-	background-image: url(../images/reg-button-hover.gif);
-}
-div.resources {
-	text-align: center;
-}
-div.resources a {
-	background-image:url("../images/link-icon.gif");
-	background-position:right 4px;
-	background-repeat:no-repeat;
-	color:#004990;
-	font-size:130%;
-	line-height:20px;
-	padding-right:15px;
-	text-decoration:none;
-}
-div.resources a:hover {
-	color: #000000;
-}
-table.adv {
-	width: 100%;
-	margin-top: 15px;
-}
-table.adv tr td {
-	vertical-align: top;
-	text-align: center;
-}
-td#ad {
-	height:210px;
-	width: 50%;	
-}
-div#sign-in {
-	text-align:left;
-	width: 580px;
-	margin: auto;
-}
-div#sign-in div.sign-in-form {
-	width: 580px;
-}
-div#sign-in h2 {
-	border-bottom:1px solid #78BDE8;
-	font-size:130%;
-	margin-bottom:10px;
-	margin-top:0;
-	padding-bottom:10px;
-	padding-top:0;
-}
-div#sign-in table tr td.top {
-	padding-top: 10px;
-}
-div#sign-in table tr td {
-	padding-bottom:5px;
-	padding-right:7px;
-}
-div#sign-in table {
-	border-bottom:1px solid #0499CC;
-	margin-bottom:7px;
-}
-div#sign-in table tr td.title {
-	font-size: 180%;
-	font-weight: bold;
-	padding-bottom: 10px;
-	padding-top: 0px;
-	text-align: left;
-}
-#loginForm td label{
-    font-size:12px;
-}
-div#sign-in a.help {
-	font-size: 14px;
-	text-decoration: none;
-	color: #00447C;
-}
-td#ad iframe.ad-frame {
-	border: 0px;
-	width: 420px;
-	height: 210px;
-	margin: 0px;
-	padding: 0px;
-}
-div#footer {
-	margin-top: 30px;
-	height: 50px;
-	border-top: solid 1px #009FC2;
-	padding-top: 7px;
-	text-align: left;
-}
-div#footer a {
-	text-decoration: none;
-	color: #00447C;
-}
-div#footer div.powered {
-	float: right;
-	font-size: 11px;
-	color: #333;
-}
-div#footer div.powered span {
-	float: left;
-	margin-right: 5px;
-	line-height: 23px;
-}
-div#sign-in table.sign-in {
-	border-bottom: 0px;
-}
-div#sign-in table tr td {
-	padding-top: 10px;
-	width: 290px;
-}
-div#sign-in table tbody tr td.third-party {
-	border-left: dotted 1px #cccccc;
-	padding: 20px;
-}
-div#sign-in table tbody tr td.third-party a img {
-	border: 0px;
-	margin-top: 10px;
-}
-.sign-in-box{
-    -moz-border-radius: 5px;
-    border-radius: 5px;
-    border:solid 1px #b5dff7;
-    background-color:#ebf7fd;
-    padding-left:10px;
-    width:800px;
-    margin-left:70px;
-
-        -moz-box-shadow: 0 0 3px #999;
-    -webkit-box-shadow: 0 0 3px #999;
-    box-shadow: 0 0 3px #999;
-}
-.sign-in-box h3{
-    color:#0499cc;
-    font-size:12px;
-    font-weight:bold;
-    padding-bottom:10px;
-}
-.sign-in-box table tr td{
-    text-align:left !important;
-}
-.user_pass_table a{
-    font-size:11px;
-}
-.user_pass_table td{
-    padding:4px;
-    text-align:left !important;
-}
-.sign-in-box div.help_txt{
-    color: #666666;
-    line-height:20px;
-}
-.user_pass_td{
-    border-right:solid 1px #ccc;
-}
-.google-app-td{
-    padding-left:10px;
-    width:300px;
-}
-#loginBoxGoogle{
-    margin-top:15px;
-}
-#loginBoxGoogle div.help_txt{
-    font-size:11px;
-}
-h2.stratos-Signin{
-    color:#0499cc;
-    font-size:22px;
-    line-height:30px;
-}
-.google-app-td img{
-    cursor:pointer;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/css/tenant.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/css/tenant.css b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/css/tenant.css
deleted file mode 100644
index 2f06cc5..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/css/tenant.css
+++ /dev/null
@@ -1,62 +0,0 @@
-/*css editor styles */
-.csseditor-top-line{
-    background-color:black;
-    height:5px;
-}
-.csseditor-leftbox{
-    background-color:#9a9a9a;
-    padding-left:5px;
-    padding-right:5px;
-    padding-bottom:5px;
-    padding-top:15px;
-   height:380px;
-}
-.csseditor-leftbox-top{
-    color:#ffffff;
-    font-size:18px;
-    height:30px;
-}
-.csseditor-textbox{
-    background-color:#dfe7ed;
-    border:solid 1px #ffffff;
-    width:100%;
-}
-.csseditor-rightbox{
-    background-color:#c9c9c9;
-    border:solid 1px #ffffff;
-    height:400px;
-}
-.csseditor-rightbox-title{
-    background-color:#9a9a9a;
-    height:25px;
-    color:#ffffff;
-    padding-left:10px;
-    padding-top:5px;
-}
-.csseditor-searchbox{
-    padding-left:10px;
-    padding-top:10px;
-}
-#flickr_results{
-    height:300px;
-    overflow-y:auto;
-    overflow-x:hidden;
-    margin-left:5px;
-    margin-right:5px;
-    border:solid 1px #ffffff;
-}
-.imageList{
-}
-.imageList li {
-    padding-top: 3px !important;
-    padding-left: 5px !important;
-    background-color: #e1e9ec;
-    border: solid 1px #b5bdc1;
-}
-
-.imageList li a {
-    background-image: url(../images/images.gif);
-    background-repeat: no-repeat;
-    padding-left: 20px;
-    text-indent: 50px;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-no-domain.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-no-domain.png b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-no-domain.png
deleted file mode 100644
index 2d5408c..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-no-domain.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-with-domain.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-with-domain.png b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-with-domain.png
deleted file mode 100644
index 764ce0f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-with-domain.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/userguide.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/userguide.html b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/userguide.html
deleted file mode 100644
index 8b175f6..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/docs/userguide.html
+++ /dev/null
@@ -1,113 +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.
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-  <title>WSO2 Stratos Services Sign In - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-<h1>WSO2 Stratos Services Sign In</h1>
-
-<p>
-You can use this form to sign in to the WSO2 Statos Admin Console. You can access this page from one of the following urls.
-</p>
-
-<p>
-<ol>
-    <li>The common login: <a href="https://stratoslive.wso2.com">https://stratoslive.wso2.com</a></li>
-    <li>The domain name specific login: <a href="https://stratoslive.wso2.com/t/yourdomoain">https://stratoslive.wso2.com/t/yourdomoain</a>  (e.g. for the wso2.org domain: <a href="https://stratoslive.wso2.com/t/wso2.org">https://stratoslive.wso2.com/t/wso2.org</a>)</li>
-</ol>
-</p>
-
-<h2>1. The common login: When accessed through <a href="https://stratoslive.wso2.com">https://stratoslive.wso2.com<a/></h2>
-
-<p>
-<img src="images/sign-in-no-domain.png" alt="When accessed through https://stratoslive.wso2.com"/>
-</p>
-<p><strong>Figure1: Sign In Form When accessed through <a href="https://stratoslive.wso2.com">https://stratoslive.wso2.com</a></strong></p>
-
-<p>
-
-<table border="1px">
-    <thead style="background:#cccccc">
-        <td>
-            The Form Field
-        </td>
-        <td>
-            Description
-        </td>
-    </thead>
-    <tbody>
-        <tr>
-            <td>Username</td>
-            <td><p>For this field you need to enter the username in the following format.</p>
-                <pre>yourname@yourdomain</pre>
-                <p>E.g. foo@wso2.com</p>
-            </td>
-        </tr>
-        <tr>
-            <td>Password</td>
-            <td>The Password of your user account
-            </td>
-        </tr>
-    </tbody>
-</table>
-</p>
-
-
-<h2>2. The domain name specific login: When accessed through <a href="https://stratoslive.wso2.com/t/yourdomoain">https://stratoslive.wso2.com/t/yourdomoain</a></h2>
-
-<p>
-<img src="images/sign-in-with-domain.png" alt="When accessed through https://stratoslive.wso2.com/t/yourdomain"/>
-</p>
-<p><strong>Figure1: Sign In Form When accessed through <a href="https://stratoslive.wso2.com/t/yourdomoain">https://stratoslive.wso2.com/t/yourdomoain</a></strong></p>
-
-<p>
-
-<table border="1px">
-    <thead style="background:#cccccc">
-        <td>
-            The Form Field
-        </td>
-        <td>
-            Description
-        </td>
-    </thead>
-    <tbody>
-        <tr>
-            <td>Username</td>
-            <td><p>For this field you only need to enter the username as the domain name is already suggested for you. Note that derives the domain
-            name from the url. So in case you want to login to an account in a different domain you have to change the url of the correct domain specific
-            login and try entering the username and password.</p>
-            </td>
-        </tr>
-        <tr>
-            <td>Password</td>
-            <td>The Password of your user account
-            </td>
-        </tr>
-    </tbody>
-</table>
-</p>
-
-
-</body>
-
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/domain_rename_checker_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/domain_rename_checker_ajaxprocessor.jsp b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/domain_rename_checker_ajaxprocessor.jsp
deleted file mode 100644
index 083c0ed..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/domain_rename_checker_ajaxprocessor.jsp
+++ /dev/null
@@ -1,46 +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.
- -->
-<%@ page import="org.wso2.stratos.gaas.login.ui.utils.TenantConfigUtil" %><%
-/* this script is used to alter the old registrants to */
-String domain = request.getParameter("domain");
-
-try {
-    if (TenantConfigUtil.isDomainRegistered(domain, config, session)) {
-%>
-----success----
-<%
-    }
-    else {
-        String trialDomain = domain + "-trial";
-        if (TenantConfigUtil.isDomainRegistered(trialDomain, config, session)) {
-%>
-----trial----
-<%
-        }
-        else {
-%>
-----failed----
-<%
-        }
-    }
-} catch (Exception e) {
-%>
-----failed----
-<%
-}
-%>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/body-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/body-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/body-bg.gif
deleted file mode 100644
index 950ebf7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/body-bg.gif and /dev/null differ


[44/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/jquery-1.5.1.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/jquery-1.5.1.min.js b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/jquery-1.5.1.min.js
deleted file mode 100755
index 14fd647..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/jquery-1.5.1.min.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.5.1
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Wed Feb 23 13:55:29 2011 -0500
- */
-(function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No con
 version from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bP(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bO(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bq.test(a)?e(a,f):bO(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bO(a+"["+f+"]",b[f],c,e)}function bN(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bH,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bN(a,c,d,e,l,g)));(k||!l)&&!g["*"
 ]&&(l=bN(a,c,d,e,"*",g));return l}function bM(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bB),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bo(a,b,c){var e=b==="width"?bi:bj,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function ba(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function _(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function $(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a
 .outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(J.t
 est(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(r,"`").replace(s,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(p,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,handleObj:g,
 level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function w(){return!0}function v(){return!1}function g(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a
 ,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a)
 :this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selecto
 r+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h
 ,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return
  a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.documentElement,e=c.cre
 ateElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.
 length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="a
 rray"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}catch(g){throw g}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}var c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments.length,c=b<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),e=c.promise();if(b>1){var f=E.call(arguments,0),g=b,h=function(a){return function(b){f[a]=arguments.length>1?E.call(
 arguments,0):b,--g||c.resolveWith(e,f)}};while(b--)a=f[b],a&&d.isFunction(a.promise)?a.promise().then(h(b),c.reject):--g;g||c.resolveWith(e,f)}else c!==a&&c.resolve(a);return e},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b,a)}),i.test(" ")&&(
 j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected
 ,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e),b=e=f=null}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClone=m.cloneNode(!0).cl
 oneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d
 };d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!g(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,h=b.nodeType,i=h?d.cache:b,j=h?b[d.expando]:d.expando;if(!i[j])return;i
 f(c){var k=e?i[j][f]:i[j];if(k){delete k[c];if(!g(k))return}}if(e){delete i[j][f];if(!g(i[j]))return}var l=i[j][f];d.support.deleteExpando||i!=a?delete i[j]:i[j]=null,l?(i[j]={},h||(i[j].toJSON=d.noop),i[j][f]=l):h&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=f(
 this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";retur
 n this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var h=/[\n\t\r]/g,i=/\s+/,j=/\r/g,k=/^(?:href|src|style)$/,l=/^(?:button|input)$/i,m=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,o=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(i);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",h=
 f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(h+=" "+b[j]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(i);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var j=(" "+g.className+" ").replace(h," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");g.className=d.trim(j)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),j=b,k=a.split(i);while(f=k[g++])j=e?j:!h.hasClass(f),h[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.cla
 ssName),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(h," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var k=i?f:0,l=i?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(o.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(j,"")}return b}var n=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this
 .nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&o.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=k.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&l.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.rem
 oveAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:m.test(a.nodeName)||n.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var p=/\.(.*)$/,q=/^(?:textarea|input|select)$/i,r=/\./g,s=/ /g,t=/[^\w\s.|`]/g,u=function(a){return a.replace(t,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=v;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=fu
 nction(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split
 ("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var w=s.handle;w&&(w.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.e
 vent.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(p,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new R
 egExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.related
 Target&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeE
 vent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{if(b!==c&&!b.parentNode)return;while(b&&b!==th
 is)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&C("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&C("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.type,c=a.value;b==="ra
 dio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(q.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in 
 z)d.event.add(this,c+".specialChange",z[c]);return q.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return q.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.
 remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="ob
 ject"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=p.exec(h),k="",j&&(k=j[0],h=h.replace(p,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.s
 izset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[
 x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=fun
 ction(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");i
 f(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),e=c&&
 !d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute(
 "name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not"
 )if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type
 },reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!
 0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};f
 or(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i
 ;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),fu
 nction(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3
 ]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(d||!l.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return k(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test
  e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.text=k.getText,d.isXM
 LDoc=k.isXML,d.contains=k.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.i
 ndex(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling
 ")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.
 push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(fun
 ction(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1
 &&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"
 ));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).be
 fore(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,ba)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!
 V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){$(a,e),f=_(a),g=_(e);for(h=0;f[h];++h)$(f[h],g[h])}if(b){Z(a,e);if(c){f=_(a),g=_(e);for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElem
 ent==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElement
 sByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bb=/alpha\([^)]*\)/i,bc=/opacity=([^)]*)/,bd=/-([a-z])/ig,be=/([A-Z])/g,bf=/^-?\d+(?:px)?$/i,bg=/^-?\d/,bh={position:"absolute",visibility:"hidden",display:"block"},bi=["Left","Right"],bj=["Top","Bottom"],bk,bl,bm,bn=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:
 function(a,b){if(b){var c=bk(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bk)return bk(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bd,bn)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a
 ,c,e){var f;if(c){a.offsetWidth!==0?f=bo(a,b,e):d.swap(a,bh,function(){f=bo(a,b,e)});if(f<=0){f=bk(a,b,b),f==="0px"&&bm&&(f=bm(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bf.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bb.test(f)?f.replace(bb,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bl=function(a,c,e){var f,g,h;e=e.replace(be,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.
 documentElement.currentStyle&&(bm=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bf.test(d)&&bg.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bk=bl||bm,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bp=/%20/g,bq=/\[\]$/,br=/\r?\n/g,bs=/#.*$/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bu=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bv=/(?:^file|^widget|\-extension):$/,bw=/^(?:GET|HEAD)$/,bx=/^\/\//,by=/\?/,bz=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bA=/^(?:select|textarea)/i,bB=/\s+/,bC=/([?&])_=[^&]*/,bD=/(^|\-)([a-z]
 )/g,bE=function(a,b,c){return b+c.toUpperCase()},bF=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,bG=d.fn.load,bH={},bI={},bJ,bK;try{bJ=c.location.href}catch(bL){bJ=c.createElement("a"),bJ.href="",bJ=bJ.href}bK=bF.exec(bJ.toLowerCase()),d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bG)return bG.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bz,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(t
 his.checked||bA.test(this.nodeName)||bu.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(br,"\r\n")}}):{name:b.name,value:c.replace(br,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bJ,isLocal:bv.test(bK[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,asyn
 c:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bM(bH),ajaxTransport:bM(bI),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bP(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bQ(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigger("ajaxComplete",[u,e
 ]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bD,bE)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bt.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bs,"").replace(bx,bK[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bB),e.crossDomain||(q=bF.e
 xec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bK[1]||q[2]!=bK[2]||(q[3]||(q[1]==="http:"?80:443))!=(bK[3]||(bK[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bN(bH,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!bw.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(by.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bC,"$1_="+w);e.url=x+(x===e.url?(by.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);if(e.beforeSend&&(e.be
 foreSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bN(bI,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bO(g,a[g],c,f);return e.join("&").replace(bp,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bR=d.now(),bS=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bR++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==
 !1&&(bS.test(b.url)||f&&bS.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bS,l),b.url===j&&(f&&(k=k.replace(bS,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:fu
 nction(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bT=d.now(),bU,bV;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bX()||bY()}:bX,bV=d.ajaxSettings.xhr(),d.support.ajax=!!bV,d.support.cors=bV&&"withCredentials"in bV,bV=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),(!a.crossDomain||a.hasContent)&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttp
 Request");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bU[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bU||(bU={},bW()),h=bT++,g.onreadystatechange=bU[h]=c):c()},abort:function(){c&&c(0,1)}}}});var bZ={},b$=/^(?:toggle|show|hide)$/,b_=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ca,cb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(cc("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.displa
 y,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cd(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cc("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(cc("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))
 return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cd(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(b$.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=b_.exec(e),j=f.cur();if(i){var k=parseFloat(i[2]),l=i[3]||(d.cssNumber
 [c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:cc("show",1),slideUp:cc("hide",1),slideToggle:cc("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e}
 ,easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!ca&&(ca=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||t
 his.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easin
 g[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(ca),ca=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var ce=/^t(?:able|d|h)$/i,cf=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=
 b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=cg(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.of
 fsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!ce.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.exte
 nd(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative"
 );var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=cf.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!cf.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var
  f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=cg(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=cg(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset
 "+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);
\ No newline at end of file


[03/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js b/products/stratos_controller/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
new file mode 100755
index 0000000..13acb8d
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
@@ -0,0 +1,17 @@
+/*
+ * jQuery Orbit Plugin 1.2.3
+ * www.ZURB.com/playground
+ * Copyright 2010, ZURB
+ * Free to use under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+*/
+
+(function(d){d.fn.orbit=function(a){a=d.extend({animation:"horizontal-push",animationSpeed:600,timer:!0,advanceSpeed:4E3,pauseOnHover:!1,startClockOnMouseOut:!1,startClockOnMouseOutAfter:1E3,directionalNav:!0,captions:!0,captionAnimation:"fade",captionAnimationSpeed:600,bullets:!1,bulletThumbs:!1,bulletThumbLocation:"",afterSlideChange:function(){}},a);return this.each(function(){function q(){if(!a.timer||a.timer=="false")return!1;else r.is(":hidden")?s=setInterval(function(){l("next")},a.advanceSpeed):
+(o=!0,x.removeClass("active"),s=setInterval(function(){var a="rotate("+m+"deg)";m+=2;t.css({"-webkit-transform":a,"-moz-transform":a,"-o-transform":a});m>180&&(t.addClass("move"),z.addClass("move"));m>360&&(t.removeClass("move"),z.removeClass("move"),m=0,l("next"))},a.advanceSpeed/180))}function n(){if(!a.timer||a.timer=="false")return!1;else o=!1,clearInterval(s),x.addClass("active")}function A(){if(!a.captions||a.captions=="false")return!1;else{var y=e.eq(b).data("caption");(_captionHTML=d(y).html())?
+(j.attr("id",y).html(_captionHTML),a.captionAnimation=="none"&&j.show(),a.captionAnimation=="fade"&&j.fadeIn(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideDown(a.captionAnimationSpeed)):(a.captionAnimation=="none"&&j.hide(),a.captionAnimation=="fade"&&j.fadeOut(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideUp(a.captionAnimationSpeed))}}function B(){if(a.bullets)D.children("li").removeClass("active").eq(b).addClass("active");else return!1}function l(d){function c(){e.eq(f).css({"z-index":1});
+u=!1;a.afterSlideChange.call(this)}var f=b,g=d;if(f==g)return!1;if(e.length=="1")return!1;u||(u=!0,d=="next"?(b++,b==p&&(b=0)):d=="prev"?(b--,b<0&&(b=p-1)):(b=d,f<b?g="next":f>b&&(g="prev")),B(),e.eq(f).css({"z-index":2}),a.animation=="fade"&&e.eq(b).css({opacity:0,"z-index":3}).animate({opacity:1},a.animationSpeed,c),a.animation=="horizontal-slide"&&(g=="next"&&e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),g=="prev"&&e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,
+c)),a.animation=="vertical-slide"&&(g=="prev"&&e.eq(b).css({top:v,"z-index":3}).animate({top:0},a.animationSpeed,c),g=="next"&&e.eq(b).css({top:-v,"z-index":3}).animate({top:0},a.animationSpeed,c)),a.animation=="horizontal-push"&&(g=="next"&&(e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:-h},a.animationSpeed)),g=="prev"&&(e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:h},a.animationSpeed))),A())}var b=0,
+p=0,h,v,u,f=d(this).addClass("orbit"),c=f.wrap('<div class="orbit-wrapper" />').parent();f.add(h).width("1px").height("1px");var e=f.children("img, a, div");e.each(function(){var a=d(this),b=a.width(),a=a.height();b>f.width()&&(f.add(c).width(b),h=f.width());a>f.height()&&(f.add(c).height(a),v=f.height());p++});if(e.length==1)a.directionalNav=!1,a.timer=!1,a.bullets=!1;e.eq(b).css({"z-index":3}).fadeIn(function(){e.css({display:"block"})});if(a.timer){c.append('<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>');
+var r=d("div.timer"),o;if(r.length!=0){var t=d("div.timer span.rotator"),z=d("div.timer span.mask"),x=d("div.timer span.pause"),m=0,s;q();r.click(function(){o?n():q()});if(a.startClockOnMouseOut){var C;c.mouseleave(function(){C=setTimeout(function(){o||q()},a.startClockOnMouseOutAfter)});c.mouseenter(function(){clearTimeout(C)})}}}a.pauseOnHover&&c.mouseenter(function(){n()});if(a.captions){c.append('<div class="orbit-caption"></div>');var j=c.children(".orbit-caption");A()}if(a.directionalNav){if(a.directionalNav==
+"false")return!1;c.append('<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>');var k=c.children("div.slider-nav").children("span.left"),w=c.children("div.slider-nav").children("span.right");k.click(function(){n();l("prev")});w.click(function(){n();l("next")})}if(a.bullets){c.append('<ul class="orbit-bullets"></ul>');var D=d("ul.orbit-bullets");for(i=0;i<p;i++){k=d("<li>"+(i+1)+"</li>");if(a.bulletThumbs&&(w=e.eq(i).data("thumb")))k=d('<li class="has-thumb">'+
+i+"</li>"),k.css({background:"url("+a.bulletThumbLocation+w+") no-repeat"});d("ul.orbit-bullets").append(k);k.data("index",i);k.click(function(){n();l(d(this).data("index"))})}B()}})}})(jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/orbit-1.2.3.css
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/orbit-1.2.3.css b/products/stratos_controller/modules/distribution/lib/home/js/orbit-1.2.3.css
new file mode 100755
index 0000000..bff4f1f
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/lib/home/js/orbit-1.2.3.css
@@ -0,0 +1,202 @@
+/* CSS for jQuery Orbit Plugin 1.2.3
+ * www.ZURB.com/playground
+ * Copyright 2010, ZURB
+ * Free to use under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+ 
+ 
+ 
+/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
+   ================================================== */
+#featured { 
+	width: 940px;
+	height: 450px;
+	url('orbit/loading.gif') no-repeat center center;
+	overflow: hidden; }
+#featured>img,  
+#featured>div,
+#featured>a { display: none; }
+
+
+
+
+/* CONTAINER
+   ================================================== */
+
+div.orbit-wrapper {
+    width: 1px;
+    height: 1px;
+    position: relative; }
+
+div.orbit {
+    width: 1px;
+    height: 1px;
+    position: relative;
+    overflow: hidden }
+
+div.orbit>img {
+    position: absolute;
+    top: 0;
+    left: 0;
+    display: none; }
+
+div.orbit>a {
+    border: none;
+    position: absolute;
+    top: 0;
+    left: 0;
+    line-height: 0; 
+    display: none; }
+
+.orbit>div {
+    position: absolute;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%; }
+
+/* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
+
+
+/* TIMER
+   ================================================== */
+
+div.timer {
+    width: 40px;
+    height: 40px;
+    overflow: hidden;
+    position: absolute;
+    top: 10px;
+    right: 10px;
+    opacity: .6;
+    cursor: pointer;
+    z-index: 1001; }
+
+span.rotator {
+    display: block;
+    width: 40px;
+    height: 40px;
+    position: absolute;
+    top: 0;
+    left: -20px;
+    background: url(orbit/rotator-black.png) no-repeat;
+    z-index: 3; }
+
+span.mask {
+    display: block;
+    width: 20px;
+    height: 40px;
+    position: absolute;
+    top: 0;
+    right: 0;
+    z-index: 2;
+    overflow: hidden; }
+
+span.rotator.move {
+    left: 0 }
+
+span.mask.move {
+    width: 40px;
+    left: 0;
+    background: url(orbit/timer-black.png) repeat 0 0; }
+
+span.pause {
+    display: block;
+    width: 40px;
+    height: 40px;
+    position: absolute;
+    top: 0;
+    left: 0;
+    background: url(orbit/pause-black.png) no-repeat;
+    z-index: 4;
+    opacity: 0; }
+
+span.pause.active {
+    background: url(orbit/pause-black.png) no-repeat 0 -40px }
+
+div.timer:hover span.pause,
+span.pause.active {
+    opacity: 1 }
+
+
+/* CAPTIONS
+   ================================================== */
+
+.orbit-caption {
+    display: none;
+    font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
+
+.orbit-wrapper .orbit-caption {
+    background: #000;
+    background: rgba(0,0,0,.6);
+    z-index: 1000;
+    color: #fff;
+	text-align: center;
+	padding: 7px 0;
+    font-size: 13px;
+    position: absolute;
+    right: 0;
+    bottom: 0;
+    width: 100%; }
+
+
+/* DIRECTIONAL NAV
+   ================================================== */
+
+div.slider-nav {
+    display: block }
+
+div.slider-nav span {
+    width: 30px;
+    height: 41px;
+    text-indent: -9999px;
+    position: absolute;
+    z-index: 1000;
+    background-color: #fffff;
+    top: 50%;
+    margin-top: -22px;
+    cursor: pointer; }
+
+div.slider-nav span.right {
+    background: url(orbit/right-arrow.png);
+    right: 0; }
+
+div.slider-nav span.left {
+    background: url(orbit/left-arrow.png);
+    left: 0; }
+
+/* BULLET NAV
+   ================================================== */
+
+.orbit-bullets {
+    position: absolute;
+    z-index: 1000;
+    list-style: none;
+    bottom: -40px;
+    left: 50%;
+	margin-left: -50px;
+    padding: 0; }
+
+.orbit-bullets li {
+    float: left;
+    margin-left: 5px;
+    cursor: pointer;
+    color: #999;
+    text-indent: -9999px;
+    background: url(orbit/bullets.jpg) no-repeat 4px 0;
+    width: 13px;
+    height: 12px;
+    overflow: hidden; }
+
+.orbit-bullets li.active {
+    color: #222;
+    background-position: -8px 0; }
+    
+.orbit-bullets li.has-thumb {
+    background: none;
+    width: 100px;
+    height: 75px; }
+
+.orbit-bullets li.active.has-thumb {
+    background-position: 0 0;
+    border-top: 2px solid #000; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/orbit/left-arrow.png
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/orbit/left-arrow.png b/products/stratos_controller/modules/distribution/lib/home/js/orbit/left-arrow.png
new file mode 100755
index 0000000..bd65cb1
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/js/orbit/left-arrow.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/orbit/loading.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/orbit/loading.gif b/products/stratos_controller/modules/distribution/lib/home/js/orbit/loading.gif
new file mode 100755
index 0000000..969f505
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/js/orbit/loading.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/orbit/mask-black.png
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/orbit/mask-black.png b/products/stratos_controller/modules/distribution/lib/home/js/orbit/mask-black.png
new file mode 100755
index 0000000..e4e77b5
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/js/orbit/mask-black.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/orbit/right-arrow.png
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/orbit/right-arrow.png b/products/stratos_controller/modules/distribution/lib/home/js/orbit/right-arrow.png
new file mode 100755
index 0000000..2c9baab
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/js/orbit/right-arrow.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/orbit/rotator-black.png
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/orbit/rotator-black.png b/products/stratos_controller/modules/distribution/lib/home/js/orbit/rotator-black.png
new file mode 100755
index 0000000..a0d24a7
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/js/orbit/rotator-black.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/orbit/timer-black.png
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/orbit/timer-black.png b/products/stratos_controller/modules/distribution/lib/home/js/orbit/timer-black.png
new file mode 100755
index 0000000..e4e77b5
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/js/orbit/timer-black.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/style.css
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/style.css b/products/stratos_controller/modules/distribution/lib/home/style.css
new file mode 100755
index 0000000..587c997
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/lib/home/style.css
@@ -0,0 +1,160 @@
+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 15px; }
+
+div#header { height: 140px; }
+div.top-nav {
+	float: right;
+}
+div.top-nav ul {
+	list-style: none;
+	margin: 0px;
+	padding: 0px;
+}
+div.top-nav ul li {
+	position: relative;
+	float: left;
+	padding-left: 10px;
+	padding-right: 10px;
+	padding-top: 10px;
+	padding-bottom: 0px;
+	border-right: solid 1px #005577;
+}
+div.top-nav ul li.right {
+	border-right: 0px;
+}
+div.top-nav ul li a {
+	color: #005577;
+	font-weight: bold;
+	font-size: 16px;
+}
+div.top-nav ul li a:hover {
+	color: #ffffff;
+}
+div.logo { float: left; margin-top: 25px; }
+div#content { background-color: #ffffff; background-image: url(images/content-bg.gif); background-repeat: repeat-y; background-position: left top; }
+div#left {
+	float: left;
+	width: 400px;
+	background-image: url(images/left-bg.gif);
+	background-position: right top;
+	background-repeat: no-repeat;
+}
+div#left div.stratos-products div.title {
+	margin-left: 30px;
+	margin-top: 5px;
+	font-size: 24px;
+	font-weight: normal;
+	line-height: 32px;
+}
+div#left div.stratos-products div.products {
+	margin-left: 30px;
+	margin-top: 25px;
+	padding-bottom: 40px;
+}
+div#left div.stratos-products div.products a {
+	display: block;
+	height: 24px;
+	margin-bottom: 7px;
+	background-image: url(images/stratos-products.gif);
+	background-repeat: no-repeat;
+	background-position: left top;
+}
+div#left div.stratos-products div.products a {
+	background: url(images/stratos-products-new.jpg) no-repeat top left;
+}
+div#left div.stratos-products div.products a.as-new{ background-position: 0 0; width: 170px; height: 24px; } 
+div#left div.stratos-products div.products a.bam-new{ background-position: 0 -74px; width: 204px; height: 23px; } 
+div#left div.stratos-products div.products a.bps-new{ background-position: 0 -147px; width: 198px; height: 23px; } 
+div#left div.stratos-products div.products a.brs-new{ background-position: 0 -220px; width: 183px; height: 23px; } 
+div#left div.stratos-products div.products a.cep-new{ background-position: 0 -293px; width: 231px; height: 22px; } 
+div#left div.stratos-products div.products a.cg-new{ background-position: 0 -365px; width: 148px; height: 24px; } 
+div#left div.stratos-products div.products a.dss-new{ background-position: 0 -439px; width: 181px; height: 24px; } 
+div#left div.stratos-products div.products a.esb-new{ background-position: 0 -513px; width: 192px; height: 24px; }
+div#left div.stratos-products div.products a.greg-new{ background-position: 0 -587px; width: 180px; height: 23px; } 
+div#left div.stratos-products div.products a.is-new{ background-position: 0 -660px; width: 147px; height: 23px; } 
+div#left div.stratos-products div.products a.mb-new{ background-position: 0 -733px; width: 157px; height: 23px; } 
+div#left div.stratos-products div.products a.ss-new{ background-position: 0 -806px; width: 142px; height: 23px; } 
+div#left div.stratos-products div.products a.ts-new{ background-position: 0 -879px; width: 130px; height: 23px; } 
+div#left div.stratos-products div.products a:hover { opacity:0.7;filter:alpha(opacity=70) }
+div#right {
+	float: left;
+	width: 560px;
+}
+
+div#right div.register { width: 555px; margin-top: 15px; margin-right: 0px; padding-bottom: 10px; text-align: center;
+background-image: url(images/intro-bg.gif);background-position: center bottom; background-repeat: no-repeat;
+}
+div#right div.register a { display: block; height: 62px; margin-bottom: 10px; }
+div#right div.register a img { margin-bottom: 7px; }
+div#right div.register a:hover img { opacity:0.7;filter:alpha(opacity=70) }
+
+div#right div.banner{
+	width: 500px;
+	margin: auto;
+	height: 297px;
+	margin-top: 30px;
+}
+div#right div.banner div#featured {
+	width: 500px;
+	height: 297px;
+}
+div#right div.banner div#featured div.screencast {
+	width: 500px;
+	height: 297px;
+	text-align: center;
+}
+div#right div.banner div#featured div.screencast h2 {
+	font-size: 16px;
+	margin-top: 0px;
+	margin-bottom: 0px;
+	padding-bottom: 8px;
+	padding-top: 8px;
+	line-height: 16px;
+	background-color: #000000;
+	color: #ffffff;
+	margin-left: 30px;
+	margin-right: 30px;
+}
+div#right div.banner div#featured div.whitepaper, div#right div.banner div#featured div.webinar {
+	width: 500px;
+	height: 297px;
+	text-align: center;
+	margin-top: 23px;
+}
+div#bottom { 
+	background-image: url(images/feature-middle-bg.gif);
+	background-position: center top;
+	background-repeat: no-repeat; 
+	}
+div#bottom div.feature {
+	float: left; 
+	width: 240px;
+	padding-left: 40px;
+	padding-right: 40px;
+	font-size: 20px;
+	line-height: 25px;
+	font-weight: bold;
+	text-align: center;
+	padding-bottom: 20px;
+}
+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; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/pom.xml b/products/stratos_controller/modules/distribution/pom.xml
new file mode 100755
index 0000000..1645044
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/pom.xml
@@ -0,0 +1,773 @@
+<!-- 
+  #  Licensed to the Apache Software Foundation (ASF) under one
+  #  or more contributor license agreements.  See the NOTICE file
+  #  distributed with this work for additional information
+  #  regarding copyright ownership.  The ASF licenses this file
+  #  to you under the Apache License, Version 2.0 (the
+  #  "License"); you may not use this file except in compliance
+  #  with the License.  You may obtain a copy of the License at
+  #  
+  #  http://www.apache.org/licenses/LICENSE-2.0
+  #  
+  #  Unless required by applicable law or agreed to in writing,
+  #  software distributed under the License is distributed on an
+  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  #  KIND, either express or implied.  See the License for the
+  #  specific language governing permissions and limitations
+  #  under the License.
+  -->
+<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.apache.stratos</groupId>
+	    <artifactId>stratos-controller-parent</artifactId>
+	    <version>3.0.0-SNAPSHOT</version>
+            <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>wso2sc</artifactId>
+    <packaging>jar</packaging>
+    <name>Apache Stratos2  - Distribution</name>
+    <description>Apache Stratos2 - Distribution</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart</artifactId>
+            <version>${rampart.mar.version}</version>
+            <type>mar</type>
+        </dependency>
+	<dependency>
+            <groupId>org.wso2.andes.wso2</groupId>
+            <artifactId>andes-client</artifactId>
+            <version>0.13.wso2v6</version>
+            <type>jar</type>
+        </dependency>
+	<!--dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>features-dashboard</artifactId>
+            <version>${features-dashboard.war.version}</version>
+            <type>war</type>
+        </dependency-->
+        <!--dependency>
+            <groupId>com.h2database.wso2</groupId>
+            <artifactId>h2-database-engine</artifactId>
+            <version>${orbit.version.h2.engine}</version>
+        </dependency-->
+	 <!-- Carbon core distribution -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>wso2carbon-core</artifactId>
+            <version>${carbon.kernel.version}</version>
+            <type>zip</type>
+        </dependency>
+
+        <!-- Synapse dependencies -->
+        <!--dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-commons</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-nhttp-transport</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-pipe-transport</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-core</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-tasks</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-extensions</artifactId>
+            <version>${synapse.version}</version>
+        </dependency-->
+
+        <!-- Carbon mediation initializer -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.initializer</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.bridge</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+	      <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.dependency.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+        
+        <!-- ### Required Carbon components ### -->
+        <!-- Transport managament components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Transport components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.http</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.nhttp</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.https</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.mail</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Sequence management components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.service</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.sequences.common</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.sequences</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.router.impl</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.clazz.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.command.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        
+         <!--Entitlement mediator dependency -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.identity.entitlement.mediator</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        
+         <!--OAuth mediator dependency -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.identity.oauth.mediator</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+        <!--Drools dependency-->
+        <dependency>
+            <groupId>org.drools.wso2</groupId>
+            <artifactId>drools</artifactId>
+            <version>5.0.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>jsr94.wso2</groupId>
+            <artifactId>jsr94</artifactId>
+            <version>1.1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.mvel.wso2</groupId>
+            <artifactId>mvel2</artifactId>
+            <version>2.0.10.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>joda-time.wso2</groupId>
+            <artifactId>joda-time</artifactId>
+            <version>1.6.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.antlr.wso2</groupId>
+            <artifactId>antlr-runtime</artifactId>
+            <version>3.1.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>janino.wso2</groupId>
+            <artifactId>janino</artifactId>
+            <version>2.5.15.wso2v1</version>
+        </dependency>
+        <!-- Endpoints component -->
+	      <!--dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.endpoint.common</artifactId>
+            <version>${carbon.version}</version>
+        </dependency-->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.endpoint</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Local Entries component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.localentry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Service management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.service.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Operation management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.operation.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Module Management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.module.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Security components (orbit) -->
+         <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-policy</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-trust</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-core</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart</artifactId>
+            <type>mar</type>
+            <version>1.6.1-wso2v1</version>
+        </dependency>
+        
+        <!-- Policy Editor component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.policyeditor</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Task component with startups -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.startup</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.task</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.task.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Synapse Config admin component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.configadmin</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Synapse Registry component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.registry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Datasources component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.datasource</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Throttle component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.throttle</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Caching component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.caching</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- RM component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.rm</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+              
+        <!-- Menus -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.ui.menu.registry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- ### Required Carbon orbit dependencies ### -->
+        <dependency>
+            <groupId>org.apache.geronimo.specs.wso2</groupId>
+            <artifactId>geronimo-jms_1.1_spec</artifactId>
+            <version>1.1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-net.wso2</groupId>
+            <artifactId>commons-net</artifactId>
+            <version>2.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>jsch.wso2</groupId>
+            <artifactId>jsch</artifactId>
+            <version>0.1.41-wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents.wso2</groupId>
+            <artifactId>httpcore-nio</artifactId>
+            <version>4.1.0.wso2v2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.quartz-scheduler.wso2</groupId>
+            <artifactId>quartz</artifactId>
+            <version>2.1.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.codehaus.woodstox</groupId>
+            <artifactId>wstx-asl</artifactId>
+            <version>3.2.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+            <version>1.0.1</version>
+        </dependency>
+        <dependency>
+            <groupId>net.sf.saxon.wso2</groupId>
+            <artifactId>saxon</artifactId>
+            <version>8.9.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.abdera.wso2</groupId>
+            <artifactId>abdera</artifactId>
+            <version>1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.ws.wso2</groupId>
+            <artifactId>spring.framework</artifactId>
+            <version>2.5.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-io.wso2</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>2.0.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-collections.wso2</groupId>
+            <artifactId>commons-collections</artifactId>
+            <version>3.2.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.savan.wso2</groupId>
+            <artifactId>savan-core</artifactId>
+            <version>1.0.0-wso2v2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.caching</groupId>
+            <artifactId>wso2caching-core</artifactId>
+            <version>3.5.0</version>
+        </dependency>
+        <!--Bouncycastle dependency for clients and servers-->
+        <dependency>
+            <groupId>bouncycastle</groupId>
+            <artifactId>bcprov-jdk15</artifactId>
+            <version>132</version>
+        </dependency>
+
+        <!-- autoscale components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.autoscale</artifactId>
+            <version>4.0.3</version>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.discovery.core</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.relay</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+    </dependencies>
+
+    <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>
+                <version>2.0-alpha-4</version>
+                <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>
+                                <artifactItem>
+                                    <groupId>com.acme.shoppingcart.global</groupId>
+                                    <artifactId>shopping-cart-global</artifactId>
+                                    <version>${shoppingcart.global.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>1-run-ant</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <path id="h2.classpath">
+                                    <path refid="maven.compile.classpath"/>
+                                </path>
+                                <echo
+                                        message="########### Create Billing Database ##############"/>
+                                <sql
+                                        driver="org.h2.Driver"
+                                        url="jdbc:h2:${basedir}/target/database/WSO2BILLING_DB"
+                                        userid="wso2carbon" password="wso2carbon" autocommit="true"
+                                        onerror="continue">
+                                    <classpath>
+                                        <path refid="h2.classpath"/>
+                                    </classpath>
+                                    <fileset file="../../billing-script/billing-h2.sql"/>
+				    <fileset file="../../billing-script/metering_h2.sql"/>
+                                </sql>
+                                <echo
+                                        message="##################### END ########################"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+
+                    <execution>
+                        <id>1-run-ant2</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <path id="h2.classpath">
+                                    <path refid="maven.compile.classpath"/>
+                                </path>
+                                <echo
+                                        message="########### Create S2 Foundation Schema Database ##############"/>
+                                <sql
+                                        driver="org.h2.Driver"
+                                        url="jdbc:h2:${basedir}/target/database/WSO2S2_DB"
+                                        userid="wso2carbon" password="wso2carbon" autocommit="true"
+                                        onerror="continue">
+                                    <classpath>
+                                        <path refid="h2.classpath"/>
+                                    </classpath>
+				    <fileset file="../../billing-script/s2_h2.sql"/>
+                                </sql>
+                                <echo
+                                        message="##################### END ########################"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>3-extract-docs-from-components</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <property name="tempdir" value="target/docs-temp"/>
+                                <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>
+                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/conf" overwrite="true">
+                                    <fileset dir="../../conf">
+                                        <include name="user-mgt.xml"/>
+                                    </fileset>
+                                </copy>
+                                <delete file="target/${project.artifactId}-${project.version}.zip"/>
+                                <delete dir="${tempdir}"/>
+                                <mkdir dir="${tempdir}"/>
+                                <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="**/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="**/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}"/>
+                            </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/shopping-cart-global-${shoppingcart.global.version}"/>
+                                <delete file="target/${project.artifactId}-${project.version}.jar"/>
+                                <delete dir="target/sources"/>
+                                <delete dir="target/site"/>
+                                <delete dir="target/database"/>
+                                <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.0</version>
+                <executions>
+                    <execution>
+                        <phase>5-package</phase>
+                        <goals>
+                            <goal>site</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>1-pre_dist</id>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>attached</goal>
+                                </goals>
+                                <configuration>
+                                    <filters>
+                                        <filter>${basedir}/src/assembly/filter.properties</filter>
+                                    </filters>
+                                    <descriptors>
+                                        <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>4-dist</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>attached</goal>
+                                </goals>
+                                <configuration>
+                                    <filters>
+                                        <filter>${basedir}/src/assembly/filter.properties</filter>
+                                    </filters>
+                                    <descriptors>
+                                        <descriptor>${basedir}/src/assembly/bin.xml</descriptor>
+                                        <!--<descriptor>${basedir}/src/assembly/src.xml</descriptor>-->
+                                        <!--<descriptor>${basedir}/src/assembly/docs.xml</descriptor>-->
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>fix_configuration</id>
+            <activation>
+                <property>
+                    <name>build</name>
+                    <value>box</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>1-pre_dist</id>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>attached</goal>
+                                </goals>
+                                <configuration>
+                                    <filters>
+                                        <filter>${basedir}/src/assembly/filter.properties</filter>
+                                    </filters>
+                                    <descriptors>
+                                        <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>4-dist</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>attached</goal>
+                                </goals>
+                                <configuration>
+                                    <filters>
+                                        <filter>${basedir}/src/assembly/filter.properties</filter>
+                                    </filters>
+                                    <descriptors>
+                                        <descriptor>${basedir}/src/assembly/bin.xml</descriptor>
+                                        <!--<descriptor>${basedir}/src/assembly/src.xml</descriptor>-->
+                                        <!--<descriptor>${basedir}/src/assembly/docs.xml</descriptor>-->
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/qpid-resources/etc/config.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/qpid-resources/etc/config.xml b/products/stratos_controller/modules/distribution/qpid-resources/etc/config.xml
new file mode 100755
index 0000000..4155716
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/qpid-resources/etc/config.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements.  See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership.  The ASF licenses this file
+ - to you under the Apache License, Version 2.0 (the
+ - "License"); you may not use this file except in compliance
+ - with the License.  You may obtain a copy of the License at
+ -
+ -   http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing,
+ - software distributed under the License is distributed on an
+ - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ - KIND, either express or implied.  See the License for the
+ - specific language governing permissions and limitations
+ - under the License.
+ -
+ -->
+<broker>
+    <prefix>${QPID_HOME}</prefix>
+    <work>${QPID_WORK}</work>
+    <conf>${prefix}/etc</conf>
+
+    <plugin-directory>${QPID_HOME}/lib/plugins</plugin-directory>
+    <cache-directory>${QPID_WORK}/cache</cache-directory>
+    
+    <connector>
+        <!-- To enable SSL edit the keystorePath and keystorePassword
+	     and set enabled to true. 
+             To disasble Non-SSL port set sslOnly to true -->
+        <ssl>
+            <enabled>false</enabled>
+            <sslOnly>false</sslOnly>
+            <keystorePath>/path/to/keystore.ks</keystorePath>
+            <keystorePassword>keystorepass</keystorePassword>
+        </ssl>
+        <qpidnio>false</qpidnio>
+        <protectio>
+            <enabled>false</enabled>
+            <readBufferLimitSize>262144</readBufferLimitSize>
+            <writeBufferLimitSize>262144</writeBufferLimitSize>	    
+        </protectio>
+        <transport>nio</transport>
+        <port>5672</port>
+        <sslport>8672</sslport>
+        <socketReceiveBuffer>32768</socketReceiveBuffer>
+        <socketSendBuffer>32768</socketSendBuffer>
+    </connector>
+    <management>
+        <enabled>true</enabled>
+        <jmxport>8999</jmxport>
+        <ssl>
+            <enabled>false</enabled>
+            <!-- Update below path to your keystore location, or run the bin/create-example-ssl-stores(.sh|.bat)
+                 script from within the etc/ folder to generate an example store with self-signed cert -->
+            <keyStorePath>${conf}/qpid.keystore</keyStorePath>
+            <keyStorePassword>password</keyStorePassword>
+        </ssl>
+    </management>
+    <advanced>
+        <filterchain enableExecutorPool="true"/>
+        <enablePooledAllocator>false</enablePooledAllocator>
+        <enableDirectBuffers>false</enableDirectBuffers>
+        <framesize>65535</framesize>
+        <compressBufferOnQueue>false</compressBufferOnQueue>
+        <enableJMSXUserID>false</enableJMSXUserID>
+        <locale>en_US</locale>	
+    </advanced>
+
+    <security>
+        <principal-databases>
+            <principal-database>
+                <name>carbon-user-store</name>
+                <class>org.wso2.carbon.qpid.authentication.qpid.CarbonBasedPrincipalDatabase</class>
+            </principal-database>
+        </principal-databases>
+
+        <msg-auth>false</msg-auth>
+        
+        <jmx>
+            <access>${conf}/jmxremote.access</access>
+            <principal-database>carbon-user-store</principal-database>
+        </jmx>
+    </security>
+
+    <virtualhosts>${conf}/virtualhosts.xml</virtualhosts>
+    
+    <heartbeat>
+        <delay>0</delay>
+        <timeoutFactor>2.0</timeoutFactor>
+    </heartbeat>
+    <queue>
+        <auto_register>true</auto_register>
+    </queue>
+
+    <status-updates>ON</status-updates>
+
+</broker>
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/qpid-resources/etc/jmxremote.access
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/qpid-resources/etc/jmxremote.access b/products/stratos_controller/modules/distribution/qpid-resources/etc/jmxremote.access
new file mode 100755
index 0000000..f496e92
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/qpid-resources/etc/jmxremote.access
@@ -0,0 +1,23 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#Generated by JMX Console : Last edited by user:admin
+#Tue Jun 12 16:46:39 BST 2007
+#admin=admin
+#guest=readonly
+#user=readwrite

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/qpid-resources/etc/virtualhosts.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/qpid-resources/etc/virtualhosts.xml b/products/stratos_controller/modules/distribution/qpid-resources/etc/virtualhosts.xml
new file mode 100755
index 0000000..235994b
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/qpid-resources/etc/virtualhosts.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements.  See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership.  The ASF licenses this file
+ - to you under the Apache License, Version 2.0 (the
+ - "License"); you may not use this file except in compliance
+ - with the License.  You may obtain a copy of the License at
+ -
+ -   http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing,
+ - software distributed under the License is distributed on an
+ - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ - KIND, either express or implied.  See the License for the
+ - specific language governing permissions and limitations
+ - under the License.
+ -
+ -->
+<virtualhosts>
+    <default>carbon</default>
+    <virtualhost>
+        <name>carbon</name>
+        <carbon>
+            <store>
+                <!--class>org.apache.qpid.server.store.MemoryMessageStore</class-->
+		<class>org.apache.qpid.server.store.DerbyMessageStore</class>
+		<environment-path>repository/database/qpid/derbystore</environment-path>
+            </store>
+
+            <housekeeping>
+                <threadCount>2</threadCount>
+                <expiredMessageCheckPeriod>20000</expiredMessageCheckPeriod>
+            </housekeeping>
+
+            <exchanges>
+                <exchange>
+                    <type>direct</type>
+                    <name>carbon.direct</name>
+                    <durable>true</durable>
+                </exchange>
+                <exchange>
+                    <type>topic</type>
+                    <name>carbon.topic</name>
+                </exchange>
+            </exchanges>
+            
+	    <queues>
+                <maximumQueueDepth>4235264</maximumQueueDepth>
+                <!-- 4Mb -->
+                <maximumMessageSize>2117632</maximumMessageSize>
+                <!-- 2Mb -->
+                <maximumMessageAge>600000</maximumMessageAge>
+                <!-- 10 mins -->
+                <maximumMessageCount>50</maximumMessageCount>
+                <!-- 50 messages -->
+            </queues>
+        </carbon>
+    </virtualhost>
+</virtualhosts>
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/qpid-resources/qpid.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/qpid-resources/qpid.xml b/products/stratos_controller/modules/distribution/qpid-resources/qpid.xml
new file mode 100755
index 0000000..faf9d15
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/qpid-resources/qpid.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+  ~ Copyright 2005-2007 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.
+  -->
+<Qpid>
+    <!-- Start Qpid broker when Carbon starts up -->
+    <AutoStart>true</AutoStart>
+    <RegistryRoot>event</RegistryRoot>
+</Qpid>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/release-notes.html
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/release-notes.html b/products/stratos_controller/modules/distribution/release-notes.html
new file mode 100755
index 0000000..96947a9
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/release-notes.html
@@ -0,0 +1,132 @@
+<!--
+~ 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.
+-->
+<html>
+<head>
+    <meta http-equiv="content-type" content=""/>
+    <title>WSO2 Stratos Manager 2.0.0 Release Notes</title>
+    <link href="./tools/cmd/css/appserver-dist-doc.css" rel="stylesheet"
+          type="text/css" media="all"/>
+</head>
+
+<body>
+<h1>WSO2 Stratos Manager 2.0.2 Release Notes</h1>
+
+<h3>${buildNumber}</h3>
+
+<p> WSO2 Stratos is a complete cloud middleware platform for implementing an enterprise service-oriented
+architecture (SOA). WSO2 Stratos is open source and is available under Apache license. It is built on
+top of and extends <a target="_blank" href="http://wso2.com/products/carbon/">WSO2 Carbon</a>, 
+the award-winning, comprehensive, concise, lean enterprise middleware platform.</p>
+
+<p>With WSO2 Stratos, IT professionals have a fully hosted platform-as-a-service (PaaS) for rapidly
+building and deploying services and composite applications, with instant provisioning capability.
+WSO2 Stratos delivers on the promise of cloud computing with a complete, enterprise middleware
+platform for delivering applications that can run on, and integrate with, any combination of private
+clouds, public clouds and on-premise systems. WSO2 Stratos is equipped with features for auto-scaling
+and single sign-on, as well as enhanced functionality for automatic activity monitoring, usage metering,
+and centralized governance and identity management.</p>
+
+
+<p>An open source product, WSO2 Stratos is available under the <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0.html">
+        Apache Software License (v2.0)
+    </a>
+   . This includes all of the extra integration and management
+   functionality as well.
+</p>
+
+<h2>New Features In This Release</h2>
+<ul>
+    <li>Service Aware Dynamic Load Balancing - Improved load balancing and auto-scaling</li>
+    <li>Registry Database performance improvements through storage optimization</li>
+    <li>Subversion backed deployment artifacts storage</li>
+    <li>Local transport improvements</li>
+	<li>Tenant aware logging</li>
+	<li>Ability to facilitate billing upon tenant registration</li>
+	<li>Migrated usage metering to WSO2 BAM2</li>
+    <li>Ghost deployer improvements</li>
+	<li>Stratos Manager can now act as a Single Sign On (SSO) provider</li>
+</ul>
+
+<h2>Key Features</h2>
+
+<ul>
+    <li>Auto-scaling capabilities.
+        WSO2 Stratos automatically adjusts the use of cloud resources to meet increased or decreased demand.</li>
+    <li>Single sign-on functionality.
+        Users only need to sign on once to access all WSO2 Stratos services that they are authorized to use.</li>
+    <li>Enhanced automatic activity monitoring.
+        Activity monitoring is available in real time, so there is no time gap between data collection and
+        the availability of data for monitoring.</li>
+    <li>Enhanced usage metering.
+        Metering is automated so that every operation by tenant users will be monitored and recorded.
+        The metering information can be used for billing and for offering constrained access for certain services.
+    </li>
+    <li>Enhanced centralized governance and identity management.
+        All the resources of all Stratos services can be monitored and governed from a single point - from WSO2
+        Stratos governance. When a modification, such as changing a security policy, or changing the keystore,
+        is done from a single place, it is immediately visible to all other services. In addition to that,
+        all services share a single user store. When a user is added from a service, that new user can immediately
+        access all other services available for the tenant.</li>
+	<li>Tenant aware logging.
+		Tenants can view their logs in order to monitor the status of the deployed services
+		of and applications. It is also helpful for debugging purposes.</li>
+    <li>Data-as-a-Service
+        Data-as-a-service offers storage for tenant's application data. In this release of Stratos, we offer two
+        built-in storage options. WSO2 RSS (Relational Storage Service) & CSS (Cassandra Storage Service).
+        RSS allows creating tenant specific MySQL databases instances and CSS allows creating column family
+        based storage. In addition, one can use other RDBMS engines to store data as well.</li>
+</ul>
+
+<h2>Reporting Problems</h2>
+<br/>
+Issues can be reported using the public JIRA available at
+<a href="https://wso2.org/jira/browse/STRATOS" target="_blank">
+    https://wso2.org/jira/browse/STRATOS</a>
+
+<h2>Contact us</h2>
+WSO2 Stratos team can be contacted via the mailing list:
+<br/>
+<strong>For Stratos Cloud Middleware Platform:</strong>
+<a href="mailto:dev@wso2.org">WSO2 Developer Mailing List</a>
+<br/>
+
+<br/>
+<strong>Forum</strong>
+WSO2 participates in community support for the products using the excellent Q&A site 
+<a href="http://stackoverflow.com/questions/tagged/wso2" target="_blank">stackoverflow.com</a> with tags "WSO2", "Stratos" etc.
+<br/>
+
+<h2>Support</h2>
+
+<p>
+As a fully open source solution WSO2 Stratos does not require any licensing fees.
+
+WSO2 offers a range of service and support options, including evaluation support, CloudStart(SM)
+consulting program, development support, and production support.    <br/>
+    <br/>
+
+    For additional support information please refer to
+    <a target="_blank"
+       href="http://wso2.com/support/">http://wso2.com/support/</a>
+</p>
+<p>Thank you for your interest in WSO2 Stratos</p>
+<strong>
+    <em>-The WSO2 Stratos Team</em>
+</strong>
+<hr/>
+
+</body>
+</html>


[16/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.js b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.js
deleted file mode 100755
index 6ecf0fa..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(jQuery,undefined){jQuery.ui=jQuery.ui||{};if(jQuery.ui.version){return}jQuery.extend(jQuery.ui,{version:"1.8.14",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});jQuery.fn.extend({_focus:jQuery.fn.focus,focus:function(delay,fn){return typeof delay==="number"?this.each(function(){var elem=this;setTimeout(function(){jQuery(elem).focus();if(fn){fn.call(elem)}},delay)}):this._focus.apply(this,arguments)},scrollParent:function(){var scrollParent;if((jQuery.browser.msie&&(/(static|relative)/).test(this.css('position')))||(/absolute/).test(this.css('position'))){scrollParent=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(jQuery
 .curCSS(this,'position',1))&&(/(auto|scroll)/).test(jQuery.curCSS(this,'overflow',1)+jQuery.curCSS(this,'overflow-y',1)+jQuery.curCSS(this,'overflow-x',1))}).eq(0)}else{scrollParent=this.parents().filter(function(){return(/(auto|scroll)/).test(jQuery.curCSS(this,'overflow',1)+jQuery.curCSS(this,'overflow-y',1)+jQuery.curCSS(this,'overflow-x',1))}).eq(0)}return(/fixed/).test(this.css('position'))||!scrollParent.length?jQuery(document):scrollParent},zIndex:function(zIndex){if(zIndex!==undefined){return this.css("zIndex",zIndex)}if(this.length){var elem=jQuery(this[0]),position,value;while(elem.length&&elem[0]!==document){position=elem.css("position");if(position==="absolute"||position==="relative"||position==="fixed"){value=parseInt(elem.css("zIndex"),10);if(!isNaN(value)&&value!==0){return value}}elem=elem.parent()}}return 0},disableSelection:function(){return this.bind((jQuery.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(event){event.preventDefault(
 )})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});jQuery.each(["Width","Height"],function(i,name){var side=name==="Width"?["Left","Right"]:["Top","Bottom"],type=name.toLowerCase(),orig={innerWidth:jQuery.fn.innerWidth,innerHeight:jQuery.fn.innerHeight,outerWidth:jQuery.fn.outerWidth,outerHeight:jQuery.fn.outerHeight};function reduce(elem,size,border,margin){jQuery.each(side,function(){size-=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;if(border){size-=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0}if(margin){size-=parseFloat(jQuery.curCSS(elem,"margin"+this,true))||0}});return size}jQuery.fn["inner"+name]=function(size){if(size===undefined){return orig["inner"+name].call(this)}return this.each(function(){jQuery(this).css(type,reduce(this,size)+"px")})};jQuery.fn["outer"+name]=function(size,margin){if(typeof size!=="number"){return orig["outer"+name].call(this,size)}return this.each(function(){jQuery(this).css(type,reduce(this,size
 ,true,margin)+"px")})}});function focusable(element,isTabIndexNotNaN){var nodeName=element.nodeName.toLowerCase();if("area"===nodeName){var map=element.parentNode,mapName=map.name,img;if(!element.href||!mapName||map.nodeName.toLowerCase()!=="map"){return false}img=jQuery("img[usemap=#"+mapName+"]")[0];return!!img&&visible(img)}return(/input|select|textarea|button|object/.test(nodeName)?!element.disabled:"a"==nodeName?element.href||isTabIndexNotNaN:isTabIndexNotNaN)&&visible(element)}function visible(element){return!jQuery(element).parents().andSelf().filter(function(){return jQuery.curCSS(this,"visibility")==="hidden"||jQuery.expr.filters.hidden(this)}).length}jQuery.extend(jQuery.expr[":"],{data:function(elem,i,match){return!!jQuery.data(elem,match[3])},focusable:function(element){return focusable(element,!isNaN(jQuery.attr(element,"tabindex")))},tabbable:function(element){var tabIndex=jQuery.attr(element,"tabindex"),isTabIndexNaN=isNaN(tabIndex);return(isTabIndexNaN||tabIndex>=0)&
 &focusable(element,!isTabIndexNaN)}});jQuery(function(){var body=document.body,div=body.appendChild(div=document.createElement("div"));jQuery.extend(div.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});jQuery.support.minHeight=div.offsetHeight===100;jQuery.support.selectstart="onselectstart"in div;body.removeChild(div).style.display="none"});jQuery.extend(jQuery.ui,{plugin:{add:function(module,option,set){var proto=jQuery.ui[module].prototype;for(var i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]])}},call:function(instance,name,args){var set=instance.plugins[name];if(!set||!instance.element[0].parentNode){return}for(var i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args)}}}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(el,a){if(jQuery(el).css("overflow")==="hidden"){return false}var scroll=(a&&a==="l
 eft")?"scrollLeft":"scrollTop",has=false;if(el[scroll]>0){return true}el[scroll]=1;has=(el[scroll]>0);el[scroll]=0;return has},isOverAxis:function(x,reference,size){return(x>reference)&&(x<(reference+size))},isOver:function(y,x,top,left,height,width){return jQuery.ui.isOverAxis(y,top,height)&&jQuery.ui.isOverAxis(x,left,width)}})})(jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.min.js b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.min.js
deleted file mode 100755
index 577548e..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.min.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*!
- * jQuery UI 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI
- */
-(function(c,j){function k(a,b){var d=a.nodeName.toLowerCase();if("area"===d){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&l(a)}return(/input|select|textarea|button|object/.test(d)?!a.disabled:"a"==d?a.href||b:b)&&l(a)}function l(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.14",
-keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();
-b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,
-"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",
-function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,m,n){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(m)g-=parseFloat(c.curCSS(f,"border"+this+"Width",true))||0;if(n)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,
-outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){return k(a,!isNaN(c.attr(a,"tabindex")))},tabbable:function(a){var b=c.attr(a,"tabindex"),d=isNaN(b);
-return(d||b>=0)&&k(a,!d)}});c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=
-0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.tabs.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.tabs.min.js b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.tabs.min.js
deleted file mode 100755
index 11a67c1..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.tabs.min.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * jQuery UI Tabs 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Tabs
- *
- * Depends:
- *	jquery.ui.core.js
- *	jquery.ui.widget.js
- */
-(function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b=="selected")this.options.collapsible&&
-e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=
-d(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){function e(g,f){g.css("display","");!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr("href"),l=i.split("#")[0],q;if(l&&(l===location.toString().split("#")[0]||
-(q=d("base")[0])&&l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&&i!=="#"){d.data(f,"href.tabs",i);d.data(f,"load.tabs",i.replace(/#.*$/,""));i=a._tabId(f);f.href="#"+i;f=a.element.find("#"+i);if(!f.length){f=d(c.panelTemplate).attr("id",i).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
-this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(c.selected===p){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!=="number"&&c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)c.selected=
-this.lis.index(this.lis.filter(".ui-tabs-selected"));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected>=0&&this.anchors[c.selected]||c.selected<0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&&c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
-if(c.selected>=0&&this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(c.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));
-this.element[c.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");c.cookie&&this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&&!d(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");c.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(c.event!=="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+
-g)};this.lis.bind("mouseover.tabs",function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal",
-function(){e(f,o);a._trigger("show",null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")};
-this.anchors.bind(c.event+".tabs",function(){var g=this,f=d(g).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass("ui-tabs-selected")&&!c.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a.panels.filter(":animated").length||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass("ui-tabs-selected")){c.selected=
--1;c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.length){i.length&&a.element.queue("tabs",function(){s(g,i)});a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";
-d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e=
-d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});b.cookie&&this._cookie(null,b.cookie);return this},add:function(b,
-e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf("#")?b.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var j=c.element.find("#"+b);j.length||(j=d(h.panelTemplate).attr("id",b).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]);
-j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove();
-if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1<this.anchors.length?1:-1));e.disabled=d.map(d.grep(e.disabled,function(h){return h!=b}),function(h){return h>=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger("enable",null,
-this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this},
-load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c,
-"cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
-url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.14"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k<a.anchors.length?k:0)},b);j&&j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&&
-a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind("tabsshow",h);this.anchors.bind(c.event+".tabs",e);h()}else{clearTimeout(a.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(c.event+".tabs",e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.widget.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.widget.min.js b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.widget.min.js
deleted file mode 100755
index 39ab91a..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.widget.min.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*!
- * jQuery UI Widget 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Widget
- */
-(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
-a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
-e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
-this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
-widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
-enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.validate.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.validate.js b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.validate.js
deleted file mode 100755
index c602148..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.validate.js
+++ /dev/null
@@ -1,1166 +0,0 @@
-/**
- * jQuery Validation Plugin 1.8.1
- *
- * http://bassistance.de/jquery-plugins/jquery-plugin-validation/
- * http://docs.jquery.com/Plugins/Validation
- *
- * Copyright (c) 2006 - 2011 Jörn Zaefferer
- *
- * Dual licensed under the MIT and GPL licenses:
- *   http://www.opensource.org/licenses/mit-license.php
- *   http://www.gnu.org/licenses/gpl.html
- */
-
-(function(jQuery) {
-
-jQuery.extend(jQuery.fn, {
-	// http://docs.jquery.com/Plugins/Validation/validate
-	validate: function( options ) {
-
-		// if nothing is selected, return nothing; can't chain anyway
-		if (!this.length) {
-			options && options.debug && window.console && console.warn( "nothing selected, can't validate, returning nothing" );
-			return;
-		}
-
-		// check if a validator for this form was already created
-		var validator = jQuery.data(this[0], 'validator');
-		if ( validator ) {
-			return validator;
-		}
-
-		validator = new jQuery.validator( options, this[0] );
-		jQuery.data(this[0], 'validator', validator);
-
-		if ( validator.settings.onsubmit ) {
-
-			// allow suppresing validation by adding a cancel class to the submit button
-			this.find("input, button").filter(".cancel").click(function() {
-				validator.cancelSubmit = true;
-			});
-
-			// when a submitHandler is used, capture the submitting button
-			if (validator.settings.submitHandler) {
-				this.find("input, button").filter(":submit").click(function() {
-					validator.submitButton = this;
-				});
-			}
-
-			// validate the form on submit
-			this.submit( function( event ) {
-				if ( validator.settings.debug )
-					// prevent form submit to be able to see console output
-					event.preventDefault();
-
-				function handle() {
-					if ( validator.settings.submitHandler ) {
-						if (validator.submitButton) {
-							// insert a hidden input as a replacement for the missing submit button
-							var hidden = jQuery("<input type='hidden'/>").attr("name", validator.submitButton.name).val(validator.submitButton.value).appendTo(validator.currentForm);
-						}
-						validator.settings.submitHandler.call( validator, validator.currentForm );
-						if (validator.submitButton) {
-							// and clean up afterwards; thanks to no-block-scope, hidden can be referenced
-							hidden.remove();
-						}
-						return false;
-					}
-					return true;
-				}
-
-				// prevent submit for invalid forms or custom submit handlers
-				if ( validator.cancelSubmit ) {
-					validator.cancelSubmit = false;
-					return handle();
-				}
-				if ( validator.form() ) {
-					if ( validator.pendingRequest ) {
-						validator.formSubmitted = true;
-						return false;
-					}
-					return handle();
-				} else {
-					validator.focusInvalid();
-					return false;
-				}
-			});
-		}
-
-		return validator;
-	},
-	// http://docs.jquery.com/Plugins/Validation/valid
-	valid: function() {
-        if ( jQuery(this[0]).is('form')) {
-            return this.validate().form();
-        } else {
-            var valid = true;
-            var validator = jQuery(this[0].form).validate();
-            this.each(function() {
-				valid &= validator.element(this);
-            });
-            return valid;
-        }
-    },
-	// attributes: space seperated list of attributes to retrieve and remove
-	removeAttrs: function(attributes) {
-		var result = {},
-			$element = this;
-		jQuery.each(attributes.split(/\s/), function(index, value) {
-			result[value] = $element.attr(value);
-			$element.removeAttr(value);
-		});
-		return result;
-	},
-	// http://docs.jquery.com/Plugins/Validation/rules
-	rules: function(command, argument) {
-		var element = this[0];
-
-		if (command) {
-			var settings = jQuery.data(element.form, 'validator').settings;
-			var staticRules = settings.rules;
-			var existingRules = jQuery.validator.staticRules(element);
-			switch(command) {
-			case "add":
-				jQuery.extend(existingRules, jQuery.validator.normalizeRule(argument));
-				staticRules[element.name] = existingRules;
-				if (argument.messages)
-					settings.messages[element.name] = jQuery.extend( settings.messages[element.name], argument.messages );
-				break;
-			case "remove":
-				if (!argument) {
-					delete staticRules[element.name];
-					return existingRules;
-				}
-				var filtered = {};
-				jQuery.each(argument.split(/\s/), function(index, method) {
-					filtered[method] = existingRules[method];
-					delete existingRules[method];
-				});
-				return filtered;
-			}
-		}
-
-		var data = jQuery.validator.normalizeRules(
-		jQuery.extend(
-			{},
-			jQuery.validator.metadataRules(element),
-			jQuery.validator.classRules(element),
-			jQuery.validator.attributeRules(element),
-			jQuery.validator.staticRules(element)
-		), element);
-
-		// make sure required is at front
-		if (data.required) {
-			var param = data.required;
-			delete data.required;
-			data = jQuery.extend({required: param}, data);
-		}
-
-		return data;
-	}
-});
-
-// Custom selectors
-jQuery.extend(jQuery.expr[":"], {
-	// http://docs.jquery.com/Plugins/Validation/blank
-	blank: function(a) {return !jQuery.trim("" + a.value);},
-	// http://docs.jquery.com/Plugins/Validation/filled
-	filled: function(a) {return !!jQuery.trim("" + a.value);},
-	// http://docs.jquery.com/Plugins/Validation/unchecked
-	unchecked: function(a) {return !a.checked;}
-});
-
-// constructor for validator
-jQuery.validator = function( options, form ) {
-	this.settings = jQuery.extend( true, {}, jQuery.validator.defaults, options );
-	this.currentForm = form;
-	this.init();
-};
-
-jQuery.validator.format = function(source, params) {
-	if ( arguments.length == 1 )
-		return function() {
-			var args = jQuery.makeArray(arguments);
-			args.unshift(source);
-			return jQuery.validator.format.apply( this, args );
-		};
-	if ( arguments.length > 2 && params.constructor != Array  ) {
-		params = jQuery.makeArray(arguments).slice(1);
-	}
-	if ( params.constructor != Array ) {
-		params = [ params ];
-	}
-	jQuery.each(params, function(i, n) {
-		source = source.replace(new RegExp("\\{" + i + "\\}", "g"), n);
-	});
-	return source;
-};
-
-jQuery.extend(jQuery.validator, {
-
-	defaults: {
-		messages: {},
-		groups: {},
-		rules: {},
-		errorClass: "error",
-		validClass: "valid",
-		errorElement: "label",
-		focusInvalid: true,
-		errorContainer: jQuery( [] ),
-		errorLabelContainer: jQuery( [] ),
-		onsubmit: true,
-		ignore: [],
-		ignoreTitle: false,
-		onfocusin: function(element) {
-			this.lastActive = element;
-
-			// hide error label and remove error class on focus if enabled
-			if ( this.settings.focusCleanup && !this.blockFocusCleanup ) {
-				this.settings.unhighlight && this.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.validClass );
-				this.addWrapper(this.errorsFor(element)).hide();
-			}
-		},
-		onfocusout: function(element) {
-			if ( !this.checkable(element) && (element.name in this.submitted || !this.optional(element)) ) {
-				this.element(element);
-			}
-		},
-		onkeyup: function(element) {
-			if ( element.name in this.submitted || element == this.lastElement ) {
-				this.element(element);
-			}
-		},
-		onclick: function(element) {
-			// click on selects, radiobuttons and checkboxes
-			if ( element.name in this.submitted )
-				this.element(element);
-			// or option elements, check parent select in that case
-			else if (element.parentNode.name in this.submitted)
-				this.element(element.parentNode);
-		},
-		highlight: function(element, errorClass, validClass) {
-			if (element.type === 'radio') {
-				this.findByName(element.name).addClass(errorClass).removeClass(validClass);
-			} else {
-				jQuery(element).addClass(errorClass).removeClass(validClass);
-			}
-		},
-		unhighlight: function(element, errorClass, validClass) {
-			if (element.type === 'radio') {
-				this.findByName(element.name).removeClass(errorClass).addClass(validClass);
-			} else {
-				jQuery(element).removeClass(errorClass).addClass(validClass);
-			}
-		}
-	},
-
-	// http://docs.jquery.com/Plugins/Validation/Validator/setDefaults
-	setDefaults: function(settings) {
-		jQuery.extend( jQuery.validator.defaults, settings );
-	},
-
-	messages: {
-		required: "This field is required.",
-		remote: "Please fix this field.",
-		email: "Please enter a valid email address.",
-		url: "Please enter a valid URL.",
-		date: "Please enter a valid date.",
-		dateISO: "Please enter a valid date (ISO).",
-		number: "Please enter a valid number.",
-		digits: "Please enter only digits.",
-		creditcard: "Please enter a valid credit card number.",
-		equalTo: "Please enter the same value again.",
-		accept: "Please enter a value with a valid extension.",
-		maxlength: jQuery.validator.format("Please enter no more than {0} characters."),
-		minlength: jQuery.validator.format("Please enter at least {0} characters."),
-		rangelength: jQuery.validator.format("Please enter a value between {0} and {1} characters long."),
-		range: jQuery.validator.format("Please enter a value between {0} and {1}."),
-		max: jQuery.validator.format("Please enter a value less than or equal to {0}."),
-		min: jQuery.validator.format("Please enter a value greater than or equal to {0}.")
-	},
-
-	autoCreateRanges: false,
-
-	prototype: {
-
-		init: function() {
-			this.labelContainer = jQuery(this.settings.errorLabelContainer);
-			this.errorContext = this.labelContainer.length && this.labelContainer || jQuery(this.currentForm);
-			this.containers = jQuery(this.settings.errorContainer).add( this.settings.errorLabelContainer );
-			this.submitted = {};
-			this.valueCache = {};
-			this.pendingRequest = 0;
-			this.pending = {};
-			this.invalid = {};
-			this.reset();
-
-			var groups = (this.groups = {});
-			jQuery.each(this.settings.groups, function(key, value) {
-				jQuery.each(value.split(/\s/), function(index, name) {
-					groups[name] = key;
-				});
-			});
-			var rules = this.settings.rules;
-			jQuery.each(rules, function(key, value) {
-				rules[key] = jQuery.validator.normalizeRule(value);
-			});
-
-			function delegate(event) {
-				var validator = jQuery.data(this[0].form, "validator"),
-					eventType = "on" + event.type.replace(/^validate/, "");
-				validator.settings[eventType] && validator.settings[eventType].call(validator, this[0] );
-			}
-			jQuery(this.currentForm)
-				.validateDelegate(":text, :password, :file, select, textarea", "focusin focusout keyup", delegate)
-				.validateDelegate(":radio, :checkbox, select, option", "click", delegate);
-
-			if (this.settings.invalidHandler)
-				jQuery(this.currentForm).bind("invalid-form.validate", this.settings.invalidHandler);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Validator/form
-		form: function() {
-			this.checkForm();
-			jQuery.extend(this.submitted, this.errorMap);
-			this.invalid = jQuery.extend({}, this.errorMap);
-			if (!this.valid())
-				jQuery(this.currentForm).triggerHandler("invalid-form", [this]);
-			this.showErrors();
-			return this.valid();
-		},
-
-		checkForm: function() {
-			this.prepareForm();
-			for ( var i = 0, elements = (this.currentElements = this.elements()); elements[i]; i++ ) {
-				this.check( elements[i] );
-			}
-			return this.valid();
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Validator/element
-		element: function( element ) {
-			element = this.clean( element );
-			this.lastElement = element;
-			this.prepareElement( element );
-			this.currentElements = jQuery(element);
-			var result = this.check( element );
-			if ( result ) {
-				delete this.invalid[element.name];
-			} else {
-				this.invalid[element.name] = true;
-			}
-			if ( !this.numberOfInvalids() ) {
-				// Hide error containers on last error
-				this.toHide = this.toHide.add( this.containers );
-			}
-			this.showErrors();
-			return result;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Validator/showErrors
-		showErrors: function(errors) {
-			if(errors) {
-				// add items to error list and map
-				jQuery.extend( this.errorMap, errors );
-				this.errorList = [];
-				for ( var name in errors ) {
-					this.errorList.push({
-						message: errors[name],
-						element: this.findByName(name)[0]
-					});
-				}
-				// remove items from success list
-				this.successList = jQuery.grep( this.successList, function(element) {
-					return !(element.name in errors);
-				});
-			}
-			this.settings.showErrors
-				? this.settings.showErrors.call( this, this.errorMap, this.errorList )
-				: this.defaultShowErrors();
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Validator/resetForm
-		resetForm: function() {
-			if ( jQuery.fn.resetForm )
-				jQuery( this.currentForm ).resetForm();
-			this.submitted = {};
-			this.prepareForm();
-			this.hideErrors();
-			this.elements().removeClass( this.settings.errorClass );
-		},
-
-		numberOfInvalids: function() {
-			return this.objectLength(this.invalid);
-		},
-
-		objectLength: function( obj ) {
-			var count = 0;
-			for ( var i in obj )
-				count++;
-			return count;
-		},
-
-		hideErrors: function() {
-			this.addWrapper( this.toHide ).hide();
-		},
-
-		valid: function() {
-			return this.size() == 0;
-		},
-
-		size: function() {
-			return this.errorList.length;
-		},
-
-		focusInvalid: function() {
-			if( this.settings.focusInvalid ) {
-				try {
-					jQuery(this.findLastActive() || this.errorList.length && this.errorList[0].element || [])
-					.filter(":visible")
-					.focus()
-					// manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find
-					.trigger("focusin");
-				} catch(e) {
-					// ignore IE throwing errors when focusing hidden elements
-				}
-			}
-		},
-
-		findLastActive: function() {
-			var lastActive = this.lastActive;
-			return lastActive && jQuery.grep(this.errorList, function(n) {
-				return n.element.name == lastActive.name;
-			}).length == 1 && lastActive;
-		},
-
-		elements: function() {
-			var validator = this,
-				rulesCache = {};
-
-			// select all valid inputs inside the form (no submit or reset buttons)
-			return jQuery(this.currentForm)
-			.find("input, select, textarea")
-			.not(":submit, :reset, :image, [disabled]")
-			.not( this.settings.ignore )
-			.filter(function() {
-				!this.name && validator.settings.debug && window.console && console.error( "%o has no name assigned", this);
-
-				// select only the first element for each name, and only those with rules specified
-				if ( this.name in rulesCache || !validator.objectLength(jQuery(this).rules()) )
-					return false;
-
-				rulesCache[this.name] = true;
-				return true;
-			});
-		},
-
-		clean: function( selector ) {
-			return jQuery( selector )[0];
-		},
-
-		errors: function() {
-			return jQuery( this.settings.errorElement + "." + this.settings.errorClass, this.errorContext );
-		},
-
-		reset: function() {
-			this.successList = [];
-			this.errorList = [];
-			this.errorMap = {};
-			this.toShow = jQuery([]);
-			this.toHide = jQuery([]);
-			this.currentElements = jQuery([]);
-		},
-
-		prepareForm: function() {
-			this.reset();
-			this.toHide = this.errors().add( this.containers );
-		},
-
-		prepareElement: function( element ) {
-			this.reset();
-			this.toHide = this.errorsFor(element);
-		},
-
-		check: function( element ) {
-			element = this.clean( element );
-
-			// if radio/checkbox, validate first element in group instead
-			if (this.checkable(element)) {
-				element = this.findByName( element.name ).not(this.settings.ignore)[0];
-			}
-
-			var rules = jQuery(element).rules();
-			var dependencyMismatch = false;
-			for (var method in rules ) {
-				var rule = { method: method, parameters: rules[method] };
-				try {
-					var result = jQuery.validator.methods[method].call( this, element.value.replace(/\r/g, ""), element, rule.parameters );
-
-					// if a method indicates that the field is optional and therefore valid,
-					// don't mark it as valid when there are no other rules
-					if ( result == "dependency-mismatch" ) {
-						dependencyMismatch = true;
-						continue;
-					}
-					dependencyMismatch = false;
-
-					if ( result == "pending" ) {
-						this.toHide = this.toHide.not( this.errorsFor(element) );
-						return;
-					}
-
-					if( !result ) {
-						this.formatAndAdd( element, rule );
-						return false;
-					}
-				} catch(e) {
-					this.settings.debug && window.console && console.log("exception occured when checking element " + element.id
-						 + ", check the '" + rule.method + "' method", e);
-					throw e;
-				}
-			}
-			if (dependencyMismatch)
-				return;
-			if ( this.objectLength(rules) )
-				this.successList.push(element);
-			return true;
-		},
-
-		// return the custom message for the given element and validation method
-		// specified in the element's "messages" metadata
-		customMetaMessage: function(element, method) {
-			if (!jQuery.metadata)
-				return;
-
-			var meta = this.settings.meta
-				? jQuery(element).metadata()[this.settings.meta]
-				: jQuery(element).metadata();
-
-			return meta && meta.messages && meta.messages[method];
-		},
-
-		// return the custom message for the given element name and validation method
-		customMessage: function( name, method ) {
-			var m = this.settings.messages[name];
-			return m && (m.constructor == String
-				? m
-				: m[method]);
-		},
-
-		// return the first defined argument, allowing empty strings
-		findDefined: function() {
-			for(var i = 0; i < arguments.length; i++) {
-				if (arguments[i] !== undefined)
-					return arguments[i];
-			}
-			return undefined;
-		},
-
-		defaultMessage: function( element, method) {
-			return this.findDefined(
-				this.customMessage( element.name, method ),
-				this.customMetaMessage( element, method ),
-				// title is never undefined, so handle empty string as undefined
-				!this.settings.ignoreTitle && element.title || undefined,
-				jQuery.validator.messages[method],
-				"<strong>Warning: No message defined for " + element.name + "</strong>"
-			);
-		},
-
-		formatAndAdd: function( element, rule ) {
-			var message = this.defaultMessage( element, rule.method ),
-				theregex = /\$?\{(\d+)\}/g;
-			if ( typeof message == "function" ) {
-				message = message.call(this, rule.parameters, element);
-			} else if (theregex.test(message)) {
-				message = jQuery.format(message.replace(theregex, '{$1}'), rule.parameters);
-			}
-			this.errorList.push({
-				message: message,
-				element: element
-			});
-
-			this.errorMap[element.name] = message;
-			this.submitted[element.name] = message;
-		},
-
-		addWrapper: function(toToggle) {
-			if ( this.settings.wrapper )
-				toToggle = toToggle.add( toToggle.parent( this.settings.wrapper ) );
-			return toToggle;
-		},
-
-		defaultShowErrors: function() {
-			for ( var i = 0; this.errorList[i]; i++ ) {
-				var error = this.errorList[i];
-				this.settings.highlight && this.settings.highlight.call( this, error.element, this.settings.errorClass, this.settings.validClass );
-				this.showLabel( error.element, error.message );
-			}
-			if( this.errorList.length ) {
-				this.toShow = this.toShow.add( this.containers );
-			}
-			if (this.settings.success) {
-				for ( var i = 0; this.successList[i]; i++ ) {
-					this.showLabel( this.successList[i] );
-				}
-			}
-			if (this.settings.unhighlight) {
-				for ( var i = 0, elements = this.validElements(); elements[i]; i++ ) {
-					this.settings.unhighlight.call( this, elements[i], this.settings.errorClass, this.settings.validClass );
-				}
-			}
-			this.toHide = this.toHide.not( this.toShow );
-			this.hideErrors();
-			this.addWrapper( this.toShow ).show();
-		},
-
-		validElements: function() {
-			return this.currentElements.not(this.invalidElements());
-		},
-
-		invalidElements: function() {
-			return jQuery(this.errorList).map(function() {
-				return this.element;
-			});
-		},
-
-		showLabel: function(element, message) {
-			var label = this.errorsFor( element );
-			if ( label.length ) {
-				// refresh error/success class
-				label.removeClass().addClass( this.settings.errorClass );
-
-				// check if we have a generated label, replace the message then
-				label.attr("generated") && label.html(message);
-			} else {
-				// create label
-				label = jQuery("<" + this.settings.errorElement + "/>")
-					.attr({"for":  this.idOrName(element), generated: true})
-					.addClass(this.settings.errorClass)
-					.html(message || "");
-				if ( this.settings.wrapper ) {
-					// make sure the element is visible, even in IE
-					// actually showing the wrapped element is handled elsewhere
-					label = label.hide().show().wrap("<" + this.settings.wrapper + "/>").parent();
-				}
-				if ( !this.labelContainer.append(label).length )
-					this.settings.errorPlacement
-						? this.settings.errorPlacement(label, jQuery(element) )
-						: label.insertAfter(element);
-			}
-			if ( !message && this.settings.success ) {
-				label.text("");
-				typeof this.settings.success == "string"
-					? label.addClass( this.settings.success )
-					: this.settings.success( label );
-			}
-			this.toShow = this.toShow.add(label);
-		},
-
-		errorsFor: function(element) {
-			var name = this.idOrName(element);
-    		return this.errors().filter(function() {
-				return jQuery(this).attr('for') == name;
-			});
-		},
-
-		idOrName: function(element) {
-			return this.groups[element.name] || (this.checkable(element) ? element.name : element.id || element.name);
-		},
-
-		checkable: function( element ) {
-			return /radio|checkbox/i.test(element.type);
-		},
-
-		findByName: function( name ) {
-			// select by name and filter by form for performance over form.find("[name=...]")
-			var form = this.currentForm;
-			return jQuery(document.getElementsByName(name)).map(function(index, element) {
-				return element.form == form && element.name == name && element  || null;
-			});
-		},
-
-		getLength: function(value, element) {
-			switch( element.nodeName.toLowerCase() ) {
-			case 'select':
-				return jQuery("option:selected", element).length;
-			case 'input':
-				if( this.checkable( element) )
-					return this.findByName(element.name).filter(':checked').length;
-			}
-			return value.length;
-		},
-
-		depend: function(param, element) {
-			return this.dependTypes[typeof param]
-				? this.dependTypes[typeof param](param, element)
-				: true;
-		},
-
-		dependTypes: {
-			"boolean": function(param, element) {
-				return param;
-			},
-			"string": function(param, element) {
-				return !!jQuery(param, element.form).length;
-			},
-			"function": function(param, element) {
-				return param(element);
-			}
-		},
-
-		optional: function(element) {
-			return !jQuery.validator.methods.required.call(this, jQuery.trim(element.value), element) && "dependency-mismatch";
-		},
-
-		startRequest: function(element) {
-			if (!this.pending[element.name]) {
-				this.pendingRequest++;
-				this.pending[element.name] = true;
-			}
-		},
-
-		stopRequest: function(element, valid) {
-			this.pendingRequest--;
-			// sometimes synchronization fails, make sure pendingRequest is never < 0
-			if (this.pendingRequest < 0)
-				this.pendingRequest = 0;
-			delete this.pending[element.name];
-			if ( valid && this.pendingRequest == 0 && this.formSubmitted && this.form() ) {
-				jQuery(this.currentForm).submit();
-				this.formSubmitted = false;
-			} else if (!valid && this.pendingRequest == 0 && this.formSubmitted) {
-				jQuery(this.currentForm).triggerHandler("invalid-form", [this]);
-				this.formSubmitted = false;
-			}
-		},
-
-		previousValue: function(element) {
-			return jQuery.data(element, "previousValue") || jQuery.data(element, "previousValue", {
-				old: null,
-				valid: true,
-				message: this.defaultMessage( element, "remote" )
-			});
-		}
-
-	},
-
-	classRuleSettings: {
-		required: {required: true},
-		email: {email: true},
-		url: {url: true},
-		date: {date: true},
-		dateISO: {dateISO: true},
-		dateDE: {dateDE: true},
-		number: {number: true},
-		numberDE: {numberDE: true},
-		digits: {digits: true},
-		creditcard: {creditcard: true}
-	},
-
-	addClassRules: function(className, rules) {
-		className.constructor == String ?
-			this.classRuleSettings[className] = rules :
-			jQuery.extend(this.classRuleSettings, className);
-	},
-
-	classRules: function(element) {
-		var rules = {};
-		var classes = jQuery(element).attr('class');
-		classes && jQuery.each(classes.split(' '), function() {
-			if (this in jQuery.validator.classRuleSettings) {
-				jQuery.extend(rules, jQuery.validator.classRuleSettings[this]);
-			}
-		});
-		return rules;
-	},
-
-	attributeRules: function(element) {
-		var rules = {};
-		var $element = jQuery(element);
-
-		for (var method in jQuery.validator.methods) {
-			var value = $element.attr(method);
-			if (value) {
-				rules[method] = value;
-			}
-		}
-
-		// maxlength may be returned as -1, 2147483647 (IE) and 524288 (safari) for text inputs
-		if (rules.maxlength && /-1|2147483647|524288/.test(rules.maxlength)) {
-			delete rules.maxlength;
-		}
-
-		return rules;
-	},
-
-	metadataRules: function(element) {
-		if (!jQuery.metadata) return {};
-
-		var meta = jQuery.data(element.form, 'validator').settings.meta;
-		return meta ?
-			jQuery(element).metadata()[meta] :
-			jQuery(element).metadata();
-	},
-
-	staticRules: function(element) {
-		var rules = {};
-		var validator = jQuery.data(element.form, 'validator');
-		if (validator.settings.rules) {
-			rules = jQuery.validator.normalizeRule(validator.settings.rules[element.name]) || {};
-		}
-		return rules;
-	},
-
-	normalizeRules: function(rules, element) {
-		// handle dependency check
-		jQuery.each(rules, function(prop, val) {
-			// ignore rule when param is explicitly false, eg. required:false
-			if (val === false) {
-				delete rules[prop];
-				return;
-			}
-			if (val.param || val.depends) {
-				var keepRule = true;
-				switch (typeof val.depends) {
-					case "string":
-						keepRule = !!jQuery(val.depends, element.form).length;
-						break;
-					case "function":
-						keepRule = val.depends.call(element, element);
-						break;
-				}
-				if (keepRule) {
-					rules[prop] = val.param !== undefined ? val.param : true;
-				} else {
-					delete rules[prop];
-				}
-			}
-		});
-
-		// evaluate parameters
-		jQuery.each(rules, function(rule, parameter) {
-			rules[rule] = jQuery.isFunction(parameter) ? parameter(element) : parameter;
-		});
-
-		// clean number parameters
-		jQuery.each(['minlength', 'maxlength', 'min', 'max'], function() {
-			if (rules[this]) {
-				rules[this] = Number(rules[this]);
-			}
-		});
-		jQuery.each(['rangelength', 'range'], function() {
-			if (rules[this]) {
-				rules[this] = [Number(rules[this][0]), Number(rules[this][1])];
-			}
-		});
-
-		if (jQuery.validator.autoCreateRanges) {
-			// auto-create ranges
-			if (rules.min && rules.max) {
-				rules.range = [rules.min, rules.max];
-				delete rules.min;
-				delete rules.max;
-			}
-			if (rules.minlength && rules.maxlength) {
-				rules.rangelength = [rules.minlength, rules.maxlength];
-				delete rules.minlength;
-				delete rules.maxlength;
-			}
-		}
-
-		// To support custom messages in metadata ignore rule methods titled "messages"
-		if (rules.messages) {
-			delete rules.messages;
-		}
-
-		return rules;
-	},
-
-	// Converts a simple string to a {string: true} rule, e.g., "required" to {required:true}
-	normalizeRule: function(data) {
-		if( typeof data == "string" ) {
-			var transformed = {};
-			jQuery.each(data.split(/\s/), function() {
-				transformed[this] = true;
-			});
-			data = transformed;
-		}
-		return data;
-	},
-
-	// http://docs.jquery.com/Plugins/Validation/Validator/addMethod
-	addMethod: function(name, method, message) {
-		jQuery.validator.methods[name] = method;
-		jQuery.validator.messages[name] = message != undefined ? message : jQuery.validator.messages[name];
-		if (method.length < 3) {
-			jQuery.validator.addClassRules(name, jQuery.validator.normalizeRule(name));
-		}
-	},
-
-	methods: {
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/required
-		required: function(value, element, param) {
-			// check if dependency is met
-			if ( !this.depend(param, element) )
-				return "dependency-mismatch";
-			switch( element.nodeName.toLowerCase() ) {
-			case 'select':
-				// could be an array for select-multiple or a string, both are fine this way
-				var val = jQuery(element).val();
-				return val && val.length > 0;
-			case 'input':
-				if ( this.checkable(element) )
-					return this.getLength(value, element) > 0;
-			default:
-				return jQuery.trim(value).length > 0;
-			}
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/remote
-		remote: function(value, element, param) {
-			if ( this.optional(element) )
-				return "dependency-mismatch";
-
-			var previous = this.previousValue(element);
-			if (!this.settings.messages[element.name] )
-				this.settings.messages[element.name] = {};
-			previous.originalMessage = this.settings.messages[element.name].remote;
-			this.settings.messages[element.name].remote = previous.message;
-
-			param = typeof param == "string" && {url:param} || param;
-
-			if ( this.pending[element.name] ) {
-				return "pending";
-			}
-			if ( previous.old === value ) {
-				return previous.valid;
-			}
-
-			previous.old = value;
-			var validator = this;
-			this.startRequest(element);
-			var data = {};
-			data[element.name] = value;
-			jQuery.ajax(jQuery.extend(true, {
-				url: param,
-				mode: "abort",
-				port: "validate" + element.name,
-				dataType: "json",
-				data: data,
-				success: function(response) {
-					validator.settings.messages[element.name].remote = previous.originalMessage;
-					var valid = response === true;
-					if ( valid ) {
-						var submitted = validator.formSubmitted;
-						validator.prepareElement(element);
-						validator.formSubmitted = submitted;
-						validator.successList.push(element);
-						validator.showErrors();
-					} else {
-						var errors = {};
-						var message = response || validator.defaultMessage( element, "remote" );
-						errors[element.name] = previous.message = jQuery.isFunction(message) ? message(value) : message;
-						validator.showErrors(errors);
-					}
-					previous.valid = valid;
-					validator.stopRequest(element, valid);
-				}
-			}, param));
-			return "pending";
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/minlength
-		minlength: function(value, element, param) {
-			return this.optional(element) || this.getLength(jQuery.trim(value), element) >= param;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/maxlength
-		maxlength: function(value, element, param) {
-			return this.optional(element) || this.getLength(jQuery.trim(value), element) <= param;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/rangelength
-		rangelength: function(value, element, param) {
-			var length = this.getLength(jQuery.trim(value), element);
-			return this.optional(element) || ( length >= param[0] && length <= param[1] );
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/min
-		min: function( value, element, param ) {
-			return this.optional(element) || value >= param;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/max
-		max: function( value, element, param ) {
-			return this.optional(element) || value <= param;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/range
-		range: function( value, element, param ) {
-			return this.optional(element) || ( value >= param[0] && value <= param[1] );
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/email
-		email: function(value, element) {
-			// contributed by Scott Gonzalez: http://projects.scottsplayground.com/email_address_validation/
-			return this.optional(element) || /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/url
-		url: function(value, element) {
-			// contributed by Scott Gonzalez: http://projects.scottsplayground.com/iri/
-			return this.optional(element) || /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.
 |_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/date
-		date: function(value, element) {
-			return this.optional(element) || !/Invalid|NaN/.test(new Date(value));
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/dateISO
-		dateISO: function(value, element) {
-			return this.optional(element) || /^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/number
-		number: function(value, element) {
-			return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/digits
-		digits: function(value, element) {
-			return this.optional(element) || /^\d+$/.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/creditcard
-		// based on http://en.wikipedia.org/wiki/Luhn
-		creditcard: function(value, element) {
-			if ( this.optional(element) )
-				return "dependency-mismatch";
-			// accept only digits and dashes
-			if (/[^0-9-]+/.test(value))
-				return false;
-			var nCheck = 0,
-				nDigit = 0,
-				bEven = false;
-
-			value = value.replace(/\D/g, "");
-
-			for (var n = value.length - 1; n >= 0; n--) {
-				var cDigit = value.charAt(n);
-				var nDigit = parseInt(cDigit, 10);
-				if (bEven) {
-					if ((nDigit *= 2) > 9)
-						nDigit -= 9;
-				}
-				nCheck += nDigit;
-				bEven = !bEven;
-			}
-
-			return (nCheck % 10) == 0;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/accept
-		accept: function(value, element, param) {
-			param = typeof param == "string" ? param.replace(/,/g, '|') : "png|jpe?g|gif";
-			return this.optional(element) || value.match(new RegExp(".(" + param + ")$", "i"));
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/equalTo
-		equalTo: function(value, element, param) {
-			// bind to the blur event of the target in order to revalidate whenever the target field is updated
-			// TODO find a way to bind the event just once, avoiding the unbind-rebind overhead
-			var target = jQuery(param).unbind(".validate-equalTo").bind("blur.validate-equalTo", function() {
-				jQuery(element).valid();
-			});
-			return value == target.val();
-		}
-
-	}
-
-});
-
-// deprecated, use jQuery.validator.format instead
-jQuery.format = jQuery.validator.format;
-
-})(jQuery);
-
-// ajax mode: abort
-// usage: jQuery.ajax({ mode: "abort"[, port: "uniqueport"]});
-// if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort()
-;(function(jQuery) {
-	var pendingRequests = {};
-	// Use a prefilter if available (1.5+)
-	if ( jQuery.ajaxPrefilter ) {
-		jQuery.ajaxPrefilter(function(settings, _, xhr) {
-			var port = settings.port;
-			if (settings.mode == "abort") {
-				if ( pendingRequests[port] ) {
-					pendingRequests[port].abort();
-				}
-				pendingRequests[port] = xhr;
-			}
-		});
-	} else {
-		// Proxy ajax
-		var ajax = jQuery.ajax;
-		jQuery.ajax = function(settings) {
-			var mode = ( "mode" in settings ? settings : jQuery.ajaxSettings ).mode,
-				port = ( "port" in settings ? settings : jQuery.ajaxSettings ).port;
-			if (mode == "abort") {
-				if ( pendingRequests[port] ) {
-					pendingRequests[port].abort();
-				}
-				return (pendingRequests[port] = ajax.apply(this, arguments));
-			}
-			return ajax.apply(this, arguments);
-		};
-	}
-})(jQuery);
-
-// provides cross-browser focusin and focusout events
-// IE has native support, in other browsers, use event caputuring (neither bubbles)
-
-// provides delegate(type: String, delegate: Selector, handler: Callback) plugin for easier event delegation
-// handler is only called when jQuery(event.target).is(delegate), in the scope of the jquery-object for event.target
-;(function(jQuery) {
-	// only implement if not provided by jQuery core (since 1.4)
-	// TODO verify if jQuery 1.4's implementation is compatible with older jQuery special-event APIs
-	if (!jQuery.event.special.focusin && !jQuery.event.special.focusout && document.addEventListener) {
-		jQuery.each({
-			focus: 'focusin',
-			blur: 'focusout'
-		}, function( original, fix ){
-			jQuery.event.special[fix] = {
-				setup:function() {
-					this.addEventListener( original, handler, true );
-				},
-				teardown:function() {
-					this.removeEventListener( original, handler, true );
-				},
-				handler: function(e) {
-					arguments[0] = jQuery.event.fix(e);
-					arguments[0].type = fix;
-					return jQuery.event.handle.apply(this, arguments);
-				}
-			};
-			function handler(e) {
-				e = jQuery.event.fix(e);
-				e.type = fix;
-				return jQuery.event.handle.call(this, e);
-			}
-		});
-	};
-	jQuery.extend(jQuery.fn, {
-		validateDelegate: function(delegate, type, handler) {
-			return this.bind(type, function(event) {
-				var target = jQuery(event.target);
-				if (target.is(delegate)) {
-					return handler.apply(target, arguments);
-				}
-			});
-		}
-	});
-})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
deleted file mode 100755
index 954e22d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
deleted file mode 100755
index 64ece57..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
deleted file mode 100755
index abdc010..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
deleted file mode 100755
index 9b383f4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
deleted file mode 100755
index a23baad..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
deleted file mode 100755
index 42ccba2..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
deleted file mode 100755
index 39d5824..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
deleted file mode 100755
index f127367..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
deleted file mode 100755
index 359397a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_222222_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_222222_256x240.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_222222_256x240.png
deleted file mode 100755
index b273ff1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_222222_256x240.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_228ef1_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_228ef1_256x240.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_228ef1_256x240.png
deleted file mode 100755
index a641a37..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_228ef1_256x240.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png
deleted file mode 100755
index 2675cae..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png
deleted file mode 100755
index e117eff..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffffff_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffffff_256x240.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffffff_256x240.png
deleted file mode 100755
index 42f8f99..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffffff_256x240.png and /dev/null differ


[50/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/components/org.apache.stratos.adc.mgt/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/pom.xml b/components/org.apache.stratos.adc.mgt/pom.xml
index e9d351c..ff4b6f5 100644
--- a/components/org.apache.stratos.adc.mgt/pom.xml
+++ b/components/org.apache.stratos.adc.mgt/pom.xml
@@ -124,8 +124,7 @@
                         			</Export-Package>
 						<Import-Package>
 							org.apache.axis2.*; version="1.6.1.wso2v6",
-							org.apache.axiom.*;
-							version="1.2.11.wso2v2",
+							org.apache.axiom.*; version="${axiom.osgi.version.range}",
 							org.apache.neethi.*;
 							version="2.0.4.wso2v4",
 							javax.xml.stream.*; version="1.0.1",

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/components/org.apache.stratos.keystore.mgt/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.keystore.mgt/pom.xml b/components/org.apache.stratos.keystore.mgt/pom.xml
index 2ac5333..c317f11 100644
--- a/components/org.apache.stratos.keystore.mgt/pom.xml
+++ b/components/org.apache.stratos.keystore.mgt/pom.xml
@@ -103,7 +103,7 @@
         <dependency>
             <groupId>org.apache.ws.commons.axiom.wso2</groupId>
             <artifactId>axiom</artifactId>
-            <version>1.2.11.wso2v3</version>
+            <version>${axiom.wso2.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.stratos</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/components/org.apache.stratos.redirector.servlet.ui/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.redirector.servlet.ui/pom.xml b/components/org.apache.stratos.redirector.servlet.ui/pom.xml
index 7778b0b..3ad5436 100644
--- a/components/org.apache.stratos.redirector.servlet.ui/pom.xml
+++ b/components/org.apache.stratos.redirector.servlet.ui/pom.xml
@@ -87,7 +87,7 @@
         <dependency>
             <groupId>org.apache.ws.commons.axiom.wso2</groupId>
             <artifactId>axiom</artifactId>
-  	    <version>1.2.11.wso2v4</version>
+  	    <version>${axiom.wso2.version}</version>
         </dependency>
         <dependency>
             <groupId>org.wso2.carbon</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/components/org.apache.stratos.usage.ui/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.usage.ui/pom.xml b/components/org.apache.stratos.usage.ui/pom.xml
index 580ae9e..99b89c9 100644
--- a/components/org.apache.stratos.usage.ui/pom.xml
+++ b/components/org.apache.stratos.usage.ui/pom.xml
@@ -112,7 +112,7 @@
         <dependency>
             <groupId>org.apache.ws.commons.axiom.wso2</groupId>
             <artifactId>axiom</artifactId>
-	    <version>1.2.11.wso2v2</version>
+	    <version>${axiom.wso2.version}</version>
         </dependency>
         <dependency>
             <groupId>org.wso2.carbon</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/components/org.apache.stratos.validate.domain.ui/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.validate.domain.ui/pom.xml b/components/org.apache.stratos.validate.domain.ui/pom.xml
index 809ac5e..72a129c 100644
--- a/components/org.apache.stratos.validate.domain.ui/pom.xml
+++ b/components/org.apache.stratos.validate.domain.ui/pom.xml
@@ -28,7 +28,7 @@
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.carbon.validate.domain.ui</artifactId>
+    <artifactId>org.apache.stratos.validate.domain.ui</artifactId>
     <packaging>bundle</packaging>
     <name>Apache Stratos - Validate Domains - User Interface</name>
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/features/manager/common/org.apache.stratos.common.server.feature/pom.xml
----------------------------------------------------------------------
diff --git a/features/manager/common/org.apache.stratos.common.server.feature/pom.xml b/features/manager/common/org.apache.stratos.common.server.feature/pom.xml
index b7430a2..3a51c14 100644
--- a/features/manager/common/org.apache.stratos.common.server.feature/pom.xml
+++ b/features/manager/common/org.apache.stratos.common.server.feature/pom.xml
@@ -230,8 +230,8 @@
                                 <importBundleDef>org.wso2.carbon:org.wso2.carbon.application.upload</importBundleDef>
                             </importBundles>
                             <importFeatures>
-                                <importFeatureDef>org.wso2.carbon.core.server:${carbon.platform.version}</importFeatureDef>
-				<importFeatureDef>org.wso2.carbon.identity.authenticator.saml2.sso.server:${carbon.platform.version}</importFeatureDef>
+                                <importFeatureDef>org.wso2.carbon.core.server:${wso2carbon.version}</importFeatureDef>
+				<importFeatureDef>org.wso2.carbon.identity.authenticator.saml2.sso.server:${wso2carbon.version}</importFeatureDef>
                             </importFeatures>
                         </configuration>
                     </execution>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/features/manager/common/org.apache.stratos.common.ui.feature/pom.xml
----------------------------------------------------------------------
diff --git a/features/manager/common/org.apache.stratos.common.ui.feature/pom.xml b/features/manager/common/org.apache.stratos.common.ui.feature/pom.xml
index ff36a54..c689657 100644
--- a/features/manager/common/org.apache.stratos.common.ui.feature/pom.xml
+++ b/features/manager/common/org.apache.stratos.common.ui.feature/pom.xml
@@ -114,7 +114,7 @@
                             </bundles>
                             <importFeatures>
                                 <importFeatureDef>org.wso2.carbon.core.ui:${wso2carbon.version}</importFeatureDef>
-                                <importFeatureDef>org.wso2.carbon.identity.authenticator.saml2.sso.ui:${carbon.platform.version}</importFeatureDef>
+                                <importFeatureDef>org.wso2.carbon.identity.authenticator.saml2.sso.ui:${wso2carbon.version}</importFeatureDef>
                             </importFeatures>
                         </configuration>
                     </execution>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/features/manager/throttling/org.apache.stratos.throttling.manager.feature/pom.xml
----------------------------------------------------------------------
diff --git a/features/manager/throttling/org.apache.stratos.throttling.manager.feature/pom.xml b/features/manager/throttling/org.apache.stratos.throttling.manager.feature/pom.xml
index 2c87ca1..c00f679 100644
--- a/features/manager/throttling/org.apache.stratos.throttling.manager.feature/pom.xml
+++ b/features/manager/throttling/org.apache.stratos.throttling.manager.feature/pom.xml
@@ -29,7 +29,7 @@
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.carbon.stratos.throttling.manager.feature</artifactId>
+    <artifactId>org.apache.stratos.throttling.manager.feature</artifactId>
     <packaging>pom</packaging>
     <name>Apache Stratos - Throttling Manager Feature</name>
     <url>http://apache.org</url>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/billing-script/billing-h2.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/billing-script/billing-h2.sql b/products/stratos2/stratos_controller/1.0.0/billing-script/billing-h2.sql
deleted file mode 100755
index e70be14..0000000
--- a/products/stratos2/stratos_controller/1.0.0/billing-script/billing-h2.sql
+++ /dev/null
@@ -1,109 +0,0 @@
-CREATE TABLE IF NOT EXISTS BC_CUSTOMER (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_NAME VARCHAR (64),
-             BC_STARTED_DATE TIMESTAMP,
-             BC_EMAIL VARCHAR (64),
-             BC_ADDRESS VARCHAR (256),
-             CONSTRAINT PK_BC_CUSTOMER PRIMARY KEY (BC_ID)
-);
-
-CREATE HASH INDEX BC_CUSTOMER_IND_BY_BC_NAME ON BC_CUSTOMER(BC_NAME);
-CREATE HASH INDEX BC_CUSTOMER_IND_BY_BC_EMAIL ON BC_CUSTOMER(BC_EMAIL);
-
-CREATE TABLE IF NOT EXISTS BC_ITEM (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_NAME VARCHAR (64),
-             BC_COST VARCHAR (64),
-             BC_DESCRIPTION VARCHAR(128),
-             BC_PARENT_ITEM_ID INTEGER,
-             CONSTRAINT PK_BC_ITEM PRIMARY KEY (BC_ID)
-);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Demo',NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('SMB',NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Professional',NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Enterprise',NULL,NULL,NULL);
-
-ALTER TABLE BC_ITEM ADD CONSTRAINT IF NOT EXISTS BC_ITEM_FK_BY_PARENT_ITEM_ID FOREIGN KEY (BC_PARENT_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
-
-
-CREATE TABLE IF NOT EXISTS BC_SUBSCRIPTION (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_FILTER VARCHAR (32),
-             BC_IS_ACTIVE INTEGER,
-             BC_ACTIVE_SINCE TIMESTAMP,
-             BC_ACTIVE_UNTIL TIMESTAMP,
-             BC_ITEM_ID INTEGER,
-             BC_TENANT_ID INTEGER,
-             CONSTRAINT PK_BC_SUBSCRIPTION PRIMARY KEY (BC_ID)
-);
-
-ALTER TABLE BC_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_SUBSCRIPTION_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_TENANT_ID INTEGER,
-             BC_DATE TIMESTAMP,
-             BC_START_DATE TIMESTAMP,
-             BC_END_DATE TIMESTAMP,
-             BC_BOUGHT_FORWARD VARCHAR (64),
-             BC_CARRIED_FORWARD VARCHAR (64),
-             BC_TOTAL_PAYMENTS VARCHAR (64),
-             BC_TOTAL_COST VARCHAR (64),
-             CONSTRAINT PK_BC_INVOICE PRIMARY KEY (BC_ID)
-);
-
-
-CREATE TABLE IF NOT EXISTS BC_PAYMENT (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_DATE TIMESTAMP,
-             BC_AMOUNT VARCHAR (64),
-             BC_DESCRIPTION VARCHAR (128),
-             BC_INVOICE_ID INTEGER,
-	     	 BC_TENANT_ID INTEGER,	
-             CONSTRAINT PK_BC_PAYMENT PRIMARY KEY (BC_ID)
-);
-
-ALTER TABLE BC_PAYMENT ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
-
--- this is n-n relationship
-CREATE TABLE IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION (
-             BC_PAYMENT_ID INTEGER,
-             BC_SUBSCRIPTION_ID INTEGER,
-             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_PAYMENT_ID, BC_SUBSCRIPTION_ID)
-);
-
-ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION_FK_BY_PAYMENT_ID FOREIGN KEY (BC_PAYMENT_ID) REFERENCES BC_PAYMENT (BC_ID);
-ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION (
-             BC_ID INTEGER  AUTO_INCREMENT,
-             BC_INVOICE_ID INTEGER,
-             BC_SUBSCRIPTION_ID INTEGER,
-             CONSTRAINT PK_BC_INVOICE_ITEM PRIMARY KEY (BC_ID)
-);
-
-ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
-ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
-
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM (
-             BC_INVOICE_SUBSCRIPTION_ID INTEGER,
-             BC_ITEM_ID INTEGER,
-             BC_COST VARCHAR (64),
-	     BC_DESCRIPTION VARCHAR (64),	
-             CONSTRAINT PK_BC_INVOICE_SUBSCRIPTION_ITEM PRIMARY KEY (BC_INVOICE_SUBSCRIPTION_ID, BC_ITEM_ID)
-);
-
-ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_INVOICE_SUBSCRIPTION_ID FOREIGN KEY (BC_INVOICE_SUBSCRIPTION_ID) REFERENCES BC_INVOICE_SUBSCRIPTION (BC_ID);
-ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM(BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_DISCOUNT (
-	BC_ID INTEGER AUTO_INCREMENT,
-	BC_TENANT_ID INTEGER,
-	BC_PERCENTAGE FLOAT,
-	BC_AMOUNT FLOAT,
-	BC_START_DATE TIMESTAMP,
-	BC_END_DATE TIMESTAMP,
-	BC_PERCENTAGE_TYPE INTEGER,
-	CONSTRAINT PK_BC_DISCOUNT PRIMARY KEY (BC_ID)
-);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/billing-script/billing-mysql.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/billing-script/billing-mysql.sql b/products/stratos2/stratos_controller/1.0.0/billing-script/billing-mysql.sql
deleted file mode 100755
index 55cab9a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/billing-script/billing-mysql.sql
+++ /dev/null
@@ -1,120 +0,0 @@
-CREATE TABLE IF NOT EXISTS BC_CUSTOMER (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_NAME VARCHAR (64),
-             BC_STARTED_DATE TIMESTAMP,
-             BC_EMAIL VARCHAR (64),
-             BC_ADDRESS VARCHAR (256),
-             CONSTRAINT PK_BC_CUSTOMER PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-CREATE INDEX BC_CUSTOMER_IND_BY_BC_NAME USING HASH ON BC_CUSTOMER(BC_NAME);
-CREATE INDEX BC_CUSTOMER_IND_BY_BC_EMAIL USING HASH ON BC_CUSTOMER(BC_EMAIL);
-
-CREATE TABLE IF NOT EXISTS BC_ITEM (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_NAME VARCHAR (64),
-             BC_COST VARCHAR (64),
-             BC_DESCRIPTION VARCHAR(128),
-             BC_PARENT_ITEM_ID INTEGER,
-             CONSTRAINT PK_BC_ITEM PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Demo",NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("SMB",NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Professional",NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Enterprise",NULL,NULL,NULL);
-
-ALTER TABLE BC_ITEM ADD CONSTRAINT BC_ITEM_FK_BY_PARENT_ITEM_ID FOREIGN KEY (BC_PARENT_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
-
-
-CREATE TABLE IF NOT EXISTS BC_SUBSCRIPTION (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_FILTER VARCHAR (32),
-             BC_IS_ACTIVE INTEGER,
-             BC_ACTIVE_SINCE TIMESTAMP,
-             BC_ACTIVE_UNTIL TIMESTAMP,
-             BC_ITEM_ID INTEGER,
-             BC_TENANT_ID INTEGER,
-             CONSTRAINT PK_BC_SUBSCRIPTION PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_SUBSCRIPTION ADD CONSTRAINT BC_SUBSCRIPTION_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_TENANT_ID INTEGER,
-             BC_DATE TIMESTAMP,
-             BC_START_DATE TIMESTAMP,
-             BC_END_DATE TIMESTAMP,
-             BC_BOUGHT_FORWARD VARCHAR (64),
-             BC_CARRIED_FORWARD VARCHAR (64),
-             BC_TOTAL_PAYMENTS VARCHAR (64),
-             BC_TOTAL_COST VARCHAR (64),
-             CONSTRAINT PK_BC_INVOICE PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-
-CREATE TABLE IF NOT EXISTS BC_PAYMENT (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_DATE TIMESTAMP,
-             BC_AMOUNT VARCHAR (64),
-             BC_DESCRIPTION VARCHAR (128),
-             BC_INVOICE_ID INTEGER,
-	     BC_TENANT_ID INTEGER,	
-             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_PAYMENT ADD CONSTRAINT BC_PAYMENT_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_REGISTRATION_PAYMENT (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_DATE TIMESTAMP,
-             BC_AMOUNT VARCHAR (64),
-             BC_DESCRIPTION VARCHAR (128),
-			 BC_USAGE_PLAN VARCHAR (64),
-	     	 BC_TENANT_ID INTEGER,	
-             CONSTRAINT PK_BC_REGISTRATION_PAYMENT PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
--- this is n-n relationship
-CREATE TABLE IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION (
-             BC_PAYMENT_ID INTEGER,
-             BC_SUBSCRIPTION_ID INTEGER,
-             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_PAYMENT_ID, BC_SUBSCRIPTION_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT BC_PAYMENT_SUBSCRIPTION_FK_BY_PAYMENT_ID FOREIGN KEY (BC_PAYMENT_ID) REFERENCES BC_PAYMENT (BC_ID);
-ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT BC_PAYMENT_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION (
-             BC_ID INTEGER  AUTO_INCREMENT,
-             BC_INVOICE_ID INTEGER,
-             BC_SUBSCRIPTION_ID INTEGER,
-             CONSTRAINT PK_BC_INVOICE_ITEM PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
-ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
-
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM (
-             BC_INVOICE_SUBSCRIPTION_ID INTEGER,
-             BC_ITEM_ID INTEGER,
-             BC_COST VARCHAR (64),
-	     BC_DESCRIPTION varchar (64),	
-             CONSTRAINT PK_BC_INVOICE_SUBSCRIPTION_ITEM PRIMARY KEY (BC_INVOICE_SUBSCRIPTION_ID, BC_ITEM_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_INVOICE_SUBSCRIPTION_ID FOREIGN KEY (BC_INVOICE_SUBSCRIPTION_ID) REFERENCES BC_INVOICE_SUBSCRIPTION (BC_ID);
-ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM(BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_DISCOUNT (
-        BC_ID INTEGER AUTO_INCREMENT,
-        BC_TENANT_ID INTEGER,
-        BC_PERCENTAGE FLOAT,
-        BC_AMOUNT FLOAT,
-        BC_START_DATE TIMESTAMP,
-        BC_END_DATE TIMESTAMP,
-        BC_PERCENTAGE_TYPE INTEGER,
-        CONSTRAINT PK_BC_DISCOUNT PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/billing-script/migration.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/billing-script/migration.sql b/products/stratos2/stratos_controller/1.0.0/billing-script/migration.sql
deleted file mode 100755
index 379e859..0000000
--- a/products/stratos2/stratos_controller/1.0.0/billing-script/migration.sql
+++ /dev/null
@@ -1,7 +0,0 @@
-ALTER TABLE UM_TENANT ADD UM_CREATED_DATE TIMESTAMP NOT NULL DEFAULT '2010-06-01 00:00:01';  
-ALTER TABLE UM_TENANT ADD UNIQUE INDEX INDEX_UM_TENANT_UM_DOMAIN_NAME (UM_DOMAIN_NAME);
-
-ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_SOURCEPATH (REG_SOURCEPATH, REG_TENANT_ID);
-ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_TARGETPATH (REG_TARGETPATH, REG_TENANT_ID);
-ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_ASSOCIATION_TYPE (REG_ASSOCIATION_TYPE, REG_TENANT_ID); 
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/README-STRATOS
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/README-STRATOS b/products/stratos2/stratos_controller/1.0.0/conf/README-STRATOS
deleted file mode 100755
index f41daf5..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/README-STRATOS
+++ /dev/null
@@ -1,90 +0,0 @@
-CARBON_HOME/repository/conf directory contains all the Stratos configuration files. 
-carbon/products/manager/conf contains all the Stratos specific configuration files,
- in the source tree structure.
-
-1. announcement.xml
-   Originally added to customize the announcement using the announcement module. Not used as of now.
-
-2. bam.xml
-   The configuration for billing and metering.
-
-3. billing-config.xml
-   Defines the database and the Task for billing. Multi-tenancy billing rules (by default, uses 
-   multitenancy-billing-rules.drl) and email for billing notifications (by default, uses 
-   email-billing-notifications.xml) are specified here.
-
-4. cloud-services-desc.xml
-   This has the configurations for the cloud services. 
-   Label, link, icon, description, and the other similar information for each of the services are
-   given here.
-
-5. email-admin-config.xml
-   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.
-
-6. email-billing-notifications.xml
-   Contains the body of the mail that to be sent as the invoice of the tenant for the period.
-
-7. email-new-tenant-activation.xml
-   Contains the body of the mail that to be sent to the super admin or a given admin email address,
-    when a new tenant activates their unactivated account.
-
-8. email-new-tenant-registration.xml
-   Contains the body of the mail that to be sent to the super admin or a given admin email address,
-    when a new tenant registers for an account.
-
-9. email-password-reset.xml
-   Contains the body of the mail that to be sent when the tenant admin's password is reset, mostly
-   by a service administrator, known as the super-tenant in Stratos-world.
-
-10. email-registration.xml
-   Contains the body of the mail to be sent for the tenant registration validation. 
-   This mail has the registration validation link to validate the email too.
-
-11. email-registration-complete.xml
-    Contains the mail that to be sent upon successful registration and the successful validation 
-    of the email.
-
-12.  email-update.xml
-    Contains the body of the mail that to be sent upon receiving an email change request from the 
-    account management. The new email address will be notified of this change.
-
-13. eula.xml
-    Contains the End User License Agreement for Stratos. Will be displayed during the self-registration
-    of the tenant.
-
-14. identity.xml
-    Security, SSO store, Personal certificate stores of the user, authentication, and the other 
-    identity related parameters can be configured from here.
-
-15. metering-config-non-manager.xml
-    This file contains configuration related to the metering.
-
-16. multitenancy-billing-rules
-    This file defines the rules for the billing for multiple tenants.
-
-17. multitenancy-packages.xml
-    This contains the subscription types and the respective limits of parameters for each of the 
-    packages.
-
-18. README-STRATOS
-    This file. This has the information about the stratos specific configurations files.
-
-19. samples-desc.xml
-    This has the description of the platform sample (currently included, shopping cart sample).
-
-20. stratos.xml
-    This is the configuration file for Stratos specific constants. 
-    Feel free to add your custom parameters and constants here.
-
-21. tenant-reg-agent.xml
-    tenantRegListenerServers configuration
-
-22. throttling-config.xml
-    Configuration file for throttling.
-
-23. throttling-rules.drl
-    Defines the throttling rules.
-
-24. user-mgt.xml
-   The User Manager configuration file used for configuring user management details.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/axis2.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/axis2.xml b/products/stratos2/stratos_controller/1.0.0/conf/axis2.xml
deleted file mode 100755
index f1dc859..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/axis2.xml
+++ /dev/null
@@ -1,525 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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">
-    
-    <!-- ================================================= -->
-    <!--                  Parameters                       -->
-    <!-- ================================================= -->
-
-    <!-- This will give out the timout of the configuration contexts, in milliseconds -->
-    <parameter name="ConfigContextTimeoutInterval" locked="false">30000</parameter>
-
-    <!-- Synapse Configuration file location relative to CARBON_HOME -->
-    <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">localhost</parameter>
-   
-
-    <!-- ================================================= -->
-    <!--                Message Formatters                 -->
-    <!-- ================================================= -->
-
-    <!-- Following content type to message formatter mapping can be used to implement support -->
-    <!-- for different message format serializations in Axis2. These message formats are -->
-    <!-- expected to be resolved based on the content type. -->
-    <messageFormatters>
-        <!--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"/>-->
-        <!--messageFormatter contentType="application/x-www-form-urlencoded"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
-        <messageFormatter contentType="multipart/related"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/txt"
-                        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="text/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"/-->
-
-        <messageFormatter contentType="text/css"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <messageFormatter contentType="image/gif"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="img/gif"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/jpeg"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/png"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/ico"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/x-icon"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-	    <messageFormatter contentType="application/x-javascript"
-                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/x-shockwave-flash"
-                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/atom+xml"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/x-www-form-urlencoded"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/xhtml+xml"
-                              class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/octet-stream"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <messageFormatter contentType="multipart/form-data"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/soap+xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <!--JSON Message Formatters-->
-        <messageFormatter contentType="application/json"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/json/badgerfish"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-
-        <messageFormatter contentType=".*"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-    </messageFormatters>
-
-    <!-- ================================================= -->
-    <!--                Message Builders                   -->
-    <!-- ================================================= -->
-
-    <!-- Following content type to builder mapping can be used to implement support for -->
-    <!-- different message formats in Axis2. These message formats are expected to be -->
-    <!-- resolved based on the content type. -->
-    <messageBuilders>
-        <messageBuilder contentType="application/xml"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/txt"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <!--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"/>
-        <!--messageBuilder contentType="x-application/hessian"
-                        class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-        <!--messageBuilder contentType=""
-                         class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-
-        <!--JSON Message Builders-->
-        <messageBuilder contentType="application/json"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/json/badgerfish"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/javascript"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-        <messageBuilder contentType="text/html"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/css"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/javascript"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-        <messageBuilder contentType="image/gif"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="img/gif"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/jpeg"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/png"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/ico"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/x-icon"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-	    <messageBuilder contentType="application/x-javascript"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/x-shockwave-flash"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/atom+xml"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/x-www-form-urlencoded"
-                            class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/xhtml+xml"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/octet-stream"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/javascript"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-        <messageBuilder contentType="multipart/form-data"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/soap+xml"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-        <messageBuilder contentType=".*"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-    </messageBuilders>
-
-    <!-- ================================================= -->
-    <!--             Transport Ins (Listeners)             -->
-    <!-- ================================================= -->
-    <!--Default trasnport will be passthrough if you need to change please add it here -->
-   <transportReceiver name="http" class="org.apache.synapse.transport.passthru.PassThroughHttpListener">
-      <parameter name="port">8280</parameter>
-      <parameter name="non-blocking"> true</parameter>
-      <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
-   </transportReceiver>
-   <transportReceiver name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLListener">
-        <parameter name="port" locked="false">8243</parameter>
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</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>
-        <!--<parameter name="SSLVerifyClient">require</parameter>
-            supports optional|require or defaults to none -->
-    </transportReceiver>
-
-    <!-- uncomment for non blocking http transport based on HttpCore + NIO extensions -->
-    <!--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-->
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
-    <!--/transportReceiver-->
-
-    <!-- the non blocking https transport based on HttpCore + SSL-NIO extensions -->
-    <!--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="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</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-->
-        <!--<parameter name="SSLVerifyClient">require</parameter>
-            supports optional|require or defaults to none -->
-    <!--/transportReceiver-->
-
-    <!-- ================================================= -->
-    <!--             Transport Outs (Senders)              -->
-    <!-- ================================================= -->
-    <!--Default trasnport will be passthrough if you need to change please add it here -->
-    <transportSender name="http"  class="org.apache.synapse.transport.passthru.PassThroughHttpSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="warnOnHTTP500" locked="false">*</parameter>
-        <!--parameter name="http.proxyHost" locked="false">localhost</parameter>
-        <parameter name="http.proxyPort" locked="false">3128</parameter>
-        <parameter name="http.nonProxyHosts" locked="false">localhost|moon|sun</parameter-->
-    </transportSender>
-    <transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender">
-        <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>
-        <parameter name="HostnameVerifier">AllowAll</parameter>
-            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
-     </transportSender>
-    <!-- Uncomment for non-blocking http transport based on HttpCore + NIO extensions -->
-    <!--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>
-        <parameter name="HostnameVerifier">AllowAll</parameter-->
-            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
-    <!--/transportSender-->
-
-    <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
-
-    <!-- ================================================= -->
-    <!--                Clustering                         -->
-    <!-- ================================================= -->
-    <!--
-     To enable clustering for this node, set the value of "enable" attribute of the "clustering"
-     element to "true". The initialization of a node in the cluster is handled by the class
-     corresponding to the "class" attribute of the "clustering" element. It is also responsible for
-     getting this node to join the cluster.
-     -->
-    <clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="true">
-
-        <!--
-           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">wka</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.adc.domain</parameter>
-
-        <!--
-           When a Web service request is received, and processed, before the response is sent to the
-           client, should we update the states of all members in the cluster? If the value of
-           this parameter is set to "true", the response to the client will be sent only after
-           all the members have been updated. Obviously, this can be time consuming. In some cases,
-           such this overhead may not be acceptable, in which case the value of this parameter
-           should be set to "false"
-        -->
-        <parameter name="synchronizeAll">false</parameter>
-
-        <!--
-          The maximum number of times we need to retry to send a message to a particular node
-          before giving up and considering that node to be faulty
-        -->
-        <parameter name="maxRetries">10</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>
-
-        <!-- The frequency of sending membership multicast messages (in ms) -->
-        <parameter name="mcastFrequency">500</parameter>
-
-        <!-- The time interval within which if a member does not respond, the member will be
-         deemed to have left the group (in ms)
-         -->
-        <parameter name="memberDropTime">3000</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 TCP port used by this member. This is the port through which other nodes will
-        contact this member
-         -->
-        <parameter name="localMemberPort">4000</parameter>
-
-        <!--
-        Preserve message ordering. This will be done according to sender order.
-        -->
-        <parameter name="preserveMessageOrder">false</parameter>
-
-        <!--
-        Maintain atmost-once message processing semantics
-        -->
-        <parameter name="atmostOnceMessageSemantics">false</parameter>
-         
-        <!--
-           This interface is responsible for handling state replication. The property changes in
-           the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
-
-           The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
-           suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
-           "*" indicates that all properties in a particular context should not be replicated.
-
-            The "enable" attribute indicates whether context replication has been enabled
-        -->
-        <stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
-                      enable="false">
-            <replication>
-                <defaults>
-                    <exclude name="local_*"/>
-                    <exclude name="LOCAL_*"/>
-                </defaults>
-                <context class="org.apache.axis2.context.ConfigurationContext">
-                    <exclude name="local_*"/>
-                    <exclude name="UseAsyncOperations"/>
-                    <exclude name="SequencePropertyBeanMap"/>
-                </context>
-                <context class="org.apache.axis2.context.ServiceGroupContext">
-                    <exclude name="local_*"/>
-                    <exclude name="my.sandesha.*"/>
-                </context>
-                <context class="org.apache.axis2.context.ServiceContext">
-                    <exclude name="local_*"/>
-                    <exclude name="my.sandesha.*"/>
-                </context>
-            </replication>
-        </stateManager>
-    </clustering>
-
-    <!-- ================================================= -->
-    <!--                    Phases                         -->
-    <!-- ================================================= -->
-
-    <phaseOrder type="InFlow">
-        <!--  System pre defined phases       -->
-        <phase name="Transport"/>
-        <phase name="Addressing"/>
-        <phase name="Security"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
-        <!--  System pre defined phases       -->
-        <phase name="RMPhase"/>
-        <phase name="OpPhase"/>
-    </phaseOrder>
-
-    <phaseOrder type="OutFlow">
-        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
-        <phase name="UEPPhase" />
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <phase name="MUPhase"/>
-        <phase name="OpPhase"/>
-        <phase name="OperationOutPhase"/>
-        <!--system predefined phase-->
-        <!--these phase will run irrespective of the service-->
-        <phase name="PolicyDetermination"/>
-        <phase name="MessageOut"/>
-        <phase name="Security"/>
-    </phaseOrder>
-
-    <phaseOrder type="InFaultFlow">
-        <phase name="Transport"/>
-        <phase name="Addressing"/>
-        <phase name="Security"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <phase name="OpPhase"/>
-        <phase name="MUPhase"/>
-        <phase name="OperationInFaultPhase"/>
-    </phaseOrder>
-
-    <phaseOrder type="OutFaultFlow">
-        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
-        <phase name="UEPPhase" />
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <!-- Must Understand Header processing phase -->
-        <phase name="MUPhase"/>
-        <phase name="OperationOutFaultPhase"/>
-        <phase name="PolicyDetermination"/>
-        <phase name="MessageOut"/>
-        <phase name="Security"/>
-    </phaseOrder>
-
-</axisconfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/bam.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/bam.xml b/products/stratos2/stratos_controller/1.0.0/conf/bam.xml
deleted file mode 100755
index e267a90..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/bam.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<bamServer>
-
-    <!--
-        Configuration for Billing and Metering. 
-    -->
-    
-    <!--Configuration for summary generation task. 
-          1. initial-delay = Time for first summary generation after the server start. (in seconds)
-          2. interval = Periodic interval to run summary generation task. (in seconds)
-    -->
-    <summaryGeneration>
-             <initial-delay>600</initial-delay>
-             <interval>3600</interval>
-    </summaryGeneration>
-
-    <!--Configuration for data collection task for pull mode servers. 
-          1. initial-delay = Time for first data collection after the server start. (in seconds)
-          2. interval = Periodic interval to run summary generation task. (in seconds)
-    -->
-    <dataCollection>
-             <initial-delay>60</initial-delay>
-             <interval>60</interval>
-    </dataCollection>
-
-</bamServer>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/billing-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/billing-config.xml b/products/stratos2/stratos_controller/1.0.0/conf/billing-config.xml
deleted file mode 100755
index 85c1605..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/billing-config.xml
+++ /dev/null
@@ -1,67 +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.
- -->
-
-<!-- 
-     Defines the database and the Task for billing. Multi-tenancy billing rules (by default, uses 
-     multitenancy-billing-rules.drl) and email for billing notifications (by default, uses 
-     email-billing-notifications.xml) are specified here. 
-  -->
-
-<billingConfig xmlns="http://wso2.com/carbon/multitenancy/billing/config">
-    <tasks>
-        <task id="multitenancyScheduledTask">
-            <schedule scheduleHelperClass="org.wso2.carbon.billing.core.scheduler.scheduleHelpers.MonthlyScheduleHelper">
-                <parameter name="timeZone">GMT-8:00</parameter>
-		<!--cron format: second minute hour dayOfTheMonth Month DayOfWeek-->
-                <parameter name="cron">0 0 0 1 * ?</parameter>
-            </schedule>
-            <handlers>
-                <handler service="org.wso2.carbon.billing.mgt.handlers.MultitenancySubscriptionFeedingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.SubscriptionTreeBuildingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.RuleHandler">
-                    <parameter name="file">multitenancy-billing-rules.drl</parameter>
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.InvoiceCalculationHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.DefaultFinalizingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.EmailSendingHandler">
-                    <parameter name="file">email-billing-notifications.xml</parameter>
-                </handler>
-            </handlers>
-        </task>
-        <task id="multitenancyViewingTask">
-            <handlers>
-                <handler service="org.wso2.carbon.billing.mgt.handlers.MultitenancySubscriptionFeedingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.SubscriptionTreeBuildingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.RuleHandler">
-                    <parameter name="file">multitenancy-billing-rules.drl</parameter>
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.InvoiceCalculationHandler">
-                </handler>
-                <!--
-                <handler class="org.wso2.carbon.billing.core.handlers.DefaultFinalizingHandler">
-                </handler>-->
-            </handlers>
-        </task>
-    </tasks>
-</billingConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/cartridge-config.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/cartridge-config.properties b/products/stratos2/stratos_controller/1.0.0/conf/cartridge-config.properties
deleted file mode 100644
index f7e94ab..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/cartridge-config.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-#
-autoscalerService.url=https://CC_HOSTNAME:CC_PORT/services/CloudControllerService/
-autoscaler.time.out=190000
-cartridge.agent.epr=http://AGENT_HOSTNAME:AGENT_PORT/axis2/services/CartridgeAgentService
-#cloud.controller.ip=172.17.0.1
-git.host.name=git.STRATOS_DOMAIN
-git.host.ip=GIT_IP
-git.repo.notification.url=https://ADC_HOSTNAME:ADC_PORT/services/RepoNotificationService/
-identity.server.url=https://IS_HOSTNAME:IS_PORT/services/RepoNotificationService/
-
-adc.jdbc.url=jdbc:mysql://S2_DB_HOSTNAME:S2_DB_PORT/
-adc.jdbc.username=S2_DB_USER
-adc.jdbc.password=S2_DB_PASS
-adc.jdbc.driver=com.mysql.jdbc.Driver
-adc.jdbc.db=S2_DB_SCHEMA
-
-#mb.server.ip=MB_HOSTNAME:MB_PORT
-
-append.script=SCRIPT_PATH/add_entry_zone_file.sh
-remove.script=SCRIPT_PATH/remove_entry_zone_file.sh
-bind.file.path=/etc/bind/db.STRATOS_DOMAIN
-elb.ip=ELB_IP
-
-bam.ip=BAM_IP
-bam.port=BAM_PORT
-
-max.attempts=1000
-cartridge.cluster.max.limit=5
-
-cartridge.key=/home/wso2/.ssh/id_rsa
-
-repository.info.epr=https://SC_HOSTNAME:9445/services/RepositoryInformationService

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/cipher-text.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/cipher-text.properties b/products/stratos2/stratos_controller/1.0.0/conf/cipher-text.properties
deleted file mode 100644
index 9ad599b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/cipher-text.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-#aliases=esb
-#
-## configuration  per each plaintext
-#esb.secret=M6U74dMVvRm4XFMczki2qZ6CsTvnUuRTjSditlACR5vTISSMI7F/mCTVJGOGdKJjij+VWVhBtmAOkElyvR9TwlUECnZ1o5DNsTK6l8je+9amc/ziTQLP3Q1tzm/Ex1pzHsG6jPGGrv3O0B9pZTfYFqRvlcNhM7Ve3WvA3ibs4Yk=
-#esb.secret.alias=wso2carbon
-#esb.secret.keystore=identity
-#

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/cloud-services-desc.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/cloud-services-desc.xml b/products/stratos2/stratos_controller/1.0.0/conf/cloud-services-desc.xml
deleted file mode 100644
index 2b8a2da..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/cloud-services-desc.xml
+++ /dev/null
@@ -1,176 +0,0 @@
-<!-- 
-     This has the configurations for the cloud services. 
-     Label, link, icon, description, and the other similar information for each of the services are
-     given here. 
-  -->
-<cloudServices xmlns="http://wso2.com/carbon/cloud/mgt/services">
-     <cloudService name="WSO2 Stratos Controller" default="true">
-	<key>SCC</key>
-        <label>WSO2 Stratos Controller</label>
-        <link>https://scc.cloud.wso2.com</link>
-        <!--icon>
-            https://localhost:9443/cloud-services-icons/esb.gif
-        </icon-->
-        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
-        <description>WSO2 stratos controller.</description>
-    </cloudService>
-    <cloudService name="WSO2 Cloud Controller" default="true">
-	<key>CC</key>
-        <label>WSO2 Cloud Controller</label>
-        <link>https://cc.cloud.wso2.com</link>
-        <!--icon>
-            https://localhost:9443/cloud-services-icons/esb.gif
-        </icon-->
-        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
-        <description>WSO2 Cloud Controller.</description>
-    </cloudService>
-    <cloudService name="WSO2 Stratos Agent" default="true">
-	<key>Agent</key>
-        <label>WSO2 Stratos Agent</label>
-        <link>https://cc.cloud.wso2.com</link>
-        <!--icon>
-            https://localhost:9443/cloud-services-icons/esb.gif
-        </icon-->
-        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
-        <description>WSO2 Stratos Agent.</description>
-    </cloudService>
-    <cloudService name="WSO2 Enterprise Service Bus" default="true">
-	<key>ESB</key>
-        <label>Enterprise Service Bus</label>
-        <link>https://esb.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/esb.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/enterprise-service-bus/</productPageURL>
-        <description>Enterprise Service Bus in the cloud.</description>
-    </cloudService>
-    <cloudService name="Application Server" default="true">
-	<key>AS</key>
-        <label>Application Server</label>
-        <link>https://appserver.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/appserver.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/application-server/</productPageURL>
-        <description>Application Server in the cloud.</description>
-    </cloudService>
-    <cloudService name="WSO2 Data Services Server" default="true">
-	<key>DSS</key>
-        <label>WSO2 Data Services Server</label>
-        <link>https://dss.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/ds.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/data-services-server/</productPageURL>
-        <description>Data Services Server in the cloud.</description>
-    </cloudService>
-    <cloudService name="WSO2 Governance Registry" default="true">
-	<key>Greg</key>
-        <label>Governance</label>
-        <link>https://governance.cloud.wso2.com</link>
-        <description>Governance in the cloud.</description>
-        <icon>
-            https://localhost:9443/cloud-services-icons/governance.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/governance-registry/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Identity Server" default="true">
-	<key>IS</key>
-        <label>WSO2 Identity Server</label>
-        <link>https://identity.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/identity.gif
-        </icon>
-        <description>Identity in the cloud.</description>
-        <productPageURL>http://wso2.com/products/identity-server/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Business Activity Monitor" default="true">
-        <label>Business Activity Monitor</label>
-        <link>https://bam.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/bam.gif
-        </icon>
-        <description>Business Activity Monitor in the cloud.</description>
-        <productPageURL>http://wso2.com/products/business-activity-monitor/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Business Process Server" default="true">
-	<key>BPS</key>
-        <label>Business Process Server</label>
-        <link>https://bps.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/bps.gif
-        </icon>
-        <description>Business Process Server in the cloud.</description>
-        <productPageURL>http://wso2.com/products/business-process-server/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Business Rule Server" default="true">
-	<key>BRS</key>
-        <label>Business Rule Server</label>
-        <link>https://brs.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/brs.gif
-        </icon>
-        <description>Business Rules Server in the cloud.</description>
-        <productPageURL>http://wso2.com/products/business-rules-server/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Mashup Server" default="true">
-	<key>MB</key>
-        <label>Mashup Server</label>
-        <link>https://mashup.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/mashup.gif
-        </icon>
-        <description>Mashup Server in the cloud.</description>
-        <productPageURL>http://wso2.com/products/mashup-server/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Gadget Server" default="true">
-	<key>GS</key>
-        <label>Gadget Server</label>
-        <link>https://gadget.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/gadget.gif
-        </icon>
-        <description>Gadgets in the cloud.</description>
-        <productPageURL>http://wso2.com/products/gadget-server/</productPageURL>
-    </cloudService>
-    <cloudService name="Cloud Gateway" default="true">
-	<key>CG</key>
-        <label>Cloud Gateway</label>
-        <link>https://cg.stratoslive.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/csg.gif
-        </icon>
-        <description>Cloud Gateway in the cloud.</description>
-		<productPageURL>http://wso2.com/products/cloud-services-gateway/</productPageURL> <!-- FIXME, put the correct project home -->
-    </cloudService>
-    <cloudService name="WSO2 Complex Event Processor" default="true">
-	<key>CEP</key>
-        <label>Complex Event Processor</label>
-        <link>https://cep.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/cep.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/complex-event-processing-server/</productPageURL> <!-- FIXME, put the correct project home -->
-        <description>Complex Event Processor in the cloud.</description>
-    </cloudService>
-    <cloudService name="WSO2 Message Broker" default="true">
-	<key>MB</key>
-        <label>Message Broker</label>
-        <link>https://mb.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/mb.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/message-broker/</productPageURL>
-        <description>Message Broker in the cloud.</description>
-    </cloudService>
-    <cloudService name="WSO2 Storage Server" default="true">
-	<key>SS</key>
-   	<label>WSO2 Storage Server</label>
-   	<link>https://ss.stratoslive.wso2.com</link>
-   	<icon>
-       		https://localhost:9443/cloud-services-icons/ss.gif
-   	</icon>
-   	<description>WSO2 Storage Server.</description>
-   	<productPageURL>http://wso2.com/products/storage-server/</productPageURL>
-    </cloudService>
-</cloudServices>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/datasources.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/datasources.properties b/products/stratos2/stratos_controller/1.0.0/conf/datasources.properties
deleted file mode 100644
index 2ef0505..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/datasources.properties
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-################################################################################
-## DataSources Configuration
-################################################################################
-#synapse.datasources=lookupds,reportds
-#synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory
-#synapse.datasources.providerPort=2199
-## If following property is present , then assumes that there is an external JNDI provider and will not start a RMI registry
-##synapse.datasources.providerUrl=rmi://localhost:2199
-#
-#synapse.datasources.lookupds.registry=Memory
-#synapse.datasources.lookupds.type=BasicDataSource
-#synapse.datasources.lookupds.driverClassName=org.apache.derby.jdbc.ClientDriver
-#synapse.datasources.lookupds.url=jdbc:derby://localhost:1527/lookupdb;create=false
-## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
-#synapse.datasources.lookupds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
-#synapse.datasources.lookupds.username=esb
-## Depending on the password provider used, you may have to use an encrypted password here!
-#synapse.datasources.lookupds.password=esb
-#synapse.datasources.lookupds.dsName=lookupdb
-#synapse.datasources.lookupds.maxActive=100
-#synapse.datasources.lookupds.maxIdle=20
-#synapse.datasources.lookupds.maxWait=10000
-#
-#synapse.datasources.reportds.registry=JNDI
-#synapse.datasources.reportds.type=PerUserPoolDataSource
-#synapse.datasources.reportds.cpdsadapter.factory=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
-#synapse.datasources.reportds.cpdsadapter.className=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
-#synapse.datasources.reportds.cpdsadapter.name=cpds
-#synapse.datasources.reportds.dsName=reportdb
-#synapse.datasources.reportds.driverClassName=org.apache.derby.jdbc.ClientDriver
-#synapse.datasources.reportds.url=jdbc:derby://localhost:1527/reportdb;create=false
-## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
-#synapse.datasources.reportds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
-#synapse.datasources.reportds.username=esb
-## Depending on the password provider used, you may have to use an encrypted password here!
-#synapse.datasources.reportds.password=esb
-#synapse.datasources.reportds.maxActive=100
-#synapse.datasources.reportds.maxIdle=20
-#synapse.datasources.reportds.maxWait=10000
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-bill-generated.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-bill-generated.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-bill-generated.xml
deleted file mode 100755
index ff49b76..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-bill-generated.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent when bill generation is completed.
-  -->
-
-<configuration>       
-    <subject>[BillGeneration] Bill generation completed</subject>
-    <body>
-Hi ,
-
-Bill generation completed successfully on {date}. Following customers may need your attention.
-
-Customer Name	Subscription Plan	Carried Forward Balance
-===============================================
-{reported-customers}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-billing-notifications.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-billing-notifications.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-billing-notifications.xml
deleted file mode 100755
index 349c6f5..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-billing-notifications.xml
+++ /dev/null
@@ -1,49 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent as the invoice of the tenant for the period.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services</subject>
-    <body>
-Hi {customer-name},
-
-This is the billing information for the time period of {start-date} to {end-date} for the use of WSO2 cloud services.
-
-Charges for subscriptions
-=========================
-{subscription-charges}
-
-Payment details
-===============
-{payment-details}
-
-Invoice Summary
-===============
-Brought Forward      {bought-forward}
-Total Cost          {total-cost}
-Total Payments      {total-payments}
-Carried Forward     {carried-forward}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-new-tenant-activation.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-new-tenant-activation.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-new-tenant-activation.xml
deleted file mode 100755
index 158a4c0..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-new-tenant-activation.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-
-<!--    
-    Contains the body of the mail that to be sent to the super admin or a given admin email address,
-    when a new tenant activates their account.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services - A Tenant Has Activated Their Account</subject>
-    <body>
-Hi,
-
-Congratulations! A tenant has activated their account just now in WSO2 Cloud Services. 
-
-Tenant Details
-===============
-Admin Name: {user-name}
-Domain Name: {domain-name}
-Email Address: {email-address}
-
-Tenant Admin Profile
-====================
-First Name: {first-name}
-Last Name: {last-name}
-
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-new-tenant-registration.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-new-tenant-registration.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-new-tenant-registration.xml
deleted file mode 100755
index aacc048..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-new-tenant-registration.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-
-<!--    
-    Contains the body of the mail that to be sent to the super admin or a given admin email address,
-    when a new tenant registers for an account.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services - A New Tenant Has Registererd To Stratos</subject>
-    <body>
-Hi,
-
-Congratulations! A new tenant has registered an account in WSO2 Cloud Services. 
-
-Tenant Details
-===============
-Admin Name: {user-name}
-Domain Name: {domain-name}
-Email Address: {email-address}
-
-Tenant Admin Profile
-====================
-First Name: {first-name}
-Last Name: {last-name}
-
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-password-reset.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-password-reset.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-password-reset.xml
deleted file mode 100755
index 73a5f5b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-password-reset.xml
+++ /dev/null
@@ -1,42 +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.
- -->
-
-<!-- 
-   Contains the body of the mail that to be sent when the tenant admin's password is reset, mostly
-   by a service administrator, known as the super-tenant in Stratos-world.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services - Password Reset</subject>
-    <body>
-Hi {first-name},
-
-Your password for the WSO2 Cloud Services has been reset by the Service Administrator.
-
-Admin Name: {user-name}
-Domain: {domain-name}
-
-Your New Password: {password}
-
-Please use this password along with your existing username to log in to your account. You are adviced to change the password once you logged in to your account using this password.
-
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-payment-received-customer.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-payment-received-customer.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-payment-received-customer.xml
deleted file mode 100755
index 6f16035..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-payment-received-customer.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent when a payment is received.
-  -->
-
-<configuration>       
-    <subject>[Payment Received] WSO2 Cloud Services</subject>
-    <body>
-Hi {customer-name},
-
-Thank you for your payment done on {date}. Following are the payment details.
-
-Transaction ID	: {transaction-id}
-Amount		: {amount}
-Invoice ID	: {invoice-id}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-payment-received-wso2.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-payment-received-wso2.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-payment-received-wso2.xml
deleted file mode 100755
index 5188ce5..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-payment-received-wso2.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent when a payment is received.
-  -->
-
-<configuration>       
-    <subject>[Payment Received] WSO2 Cloud Services</subject>
-    <body>
-Hi Finance Team,
-
-A payment was recived from customer {customer-name} on {date}. Following are the payment details.
-
-Transaction ID	: {transaction-id}
-Amount		: {amount}
-Invoice ID	: {invoice-id}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-registration-complete.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-registration-complete.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-registration-complete.xml
deleted file mode 100755
index d09c2a8..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-registration-complete.xml
+++ /dev/null
@@ -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.
- -->
-
-<!-- 
-   The mail that to be sent upon successful registration and the successful validation 
-    of the email.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services - Registration completed</subject>
-    <body>
-Hi {first-name},
-
-Congratulations! You have successfully created an account in WSO2 Cloud Services. Now you can access your account by visiting the following URL. Please bookmark this URL to visit your account later.
-
-Your account url: https://stratoslive.wso2.com/t/{domain-name}
-
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </body>
-</configuration>


[40/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery-1.7.1.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery-1.7.1.min.js b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery-1.7.1.min.js
deleted file mode 100755
index 198b3ff..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery-1.7.1.min.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/*! jQuery v1.7.1 jquery.com | jquery.org/license */
-(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p
 ;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e i
 n b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==n
 ull)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&
 b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a
 ,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parse
 Float(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.pro
 totype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.
 context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].
 splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventLis
 tener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return nul
 l;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)bre
 ak;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([
 ],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},brows
 er:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.lengt
 h;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,th
 en:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(argument
 s,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.st
 yle.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendCh
 ild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;b
 order:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.rem
 oveChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(
 b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."
 ),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b
 )},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textare
 a)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){
 f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return
 !1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNod
 e,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttr
 ibute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{ta
 bIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""
 &&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,
 C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
-f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function
 (a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+
 f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"ev
 ents")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({
 elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pa
 geX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeun
 load=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.s
 topPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,".
 _submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusi
 n",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function"
 )d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin 
 focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]
 +)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n
 .expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break
 }}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e
 +=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.len
 gth,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?nu
 ll:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[
 3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},
 password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b
 ,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=n
 ull?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d
 .push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElement
 ById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=functi
 on(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.
 call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.co
 ntains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i
 ]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&t
 his[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},co
 ntents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summar
 y|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="obje
 ct"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:fun
 ction(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
-{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach()
 );return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0
 ];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(
 a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createText
 Node(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\
 )/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&
 &isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;i
 f(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"au
 to":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arg
 uments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSe
 nd".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m)
 {if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHead
 ers:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("
 ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));tr
 y{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(
 j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&
 e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.
 readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style
 ){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&
 (a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,
 c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a
 ,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;t
 his.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.anim
 atedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();

<TRUNCATED>

[17/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery-1.5.1.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery-1.5.1.min.js b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery-1.5.1.min.js
deleted file mode 100755
index e8a831a..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery-1.5.1.min.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.5.1
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Wed Feb 23 13:55:29 2011 -0500
- */
-(function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No con
 version from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bP(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bO(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bq.test(a)?e(a,f):bO(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bO(a+"["+f+"]",b[f],c,e)}function bN(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bH,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bN(a,c,d,e,l,g)));(k||!l)&&!g["*"
 ]&&(l=bN(a,c,d,e,"*",g));return l}function bM(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bB),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bo(a,b,c){var e=b==="width"?bi:bj,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function ba(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function _(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function jQuery(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerH
 TML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});i
 f(J.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(r,"`").replace(s,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|jQuery)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(p,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,ha
 ndleObj:g,level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function w(){return!0}function v(){return!1}function g(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d
 .fn.init(a,b,g)},e=a.jQuery,f=a.jQuery,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery
 ?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.select
 or=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[
 c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.jQuery=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},typ
 e:function(a){return a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.doc
 umentElement,e=c.createElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="
 number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g
 ],j=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}catch(g){throw g}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}var c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments.length,c=b<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),e=c.promise();if(b>1){var f=E.call(arguments,0),g=b,h=function(a){return function(b){f[a]=argume
 nts.length>1?E.call(arguments,0):b,--g||c.resolveWith(e,f)}};while(b--)a=f[b],a&&d.isFunction(a.promise)?a.promise().then(h(b),c.reject):--g;g||c.resolveWith(e,f)}else c!==a&&c.resolve(a);return e},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b
 ,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",o
 ptSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e),b=e=f=null}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClo
 ne=m.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="funct
 ion"),b=null;return d};d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!g(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,h=b.nodeType,i=h?d.cache:b,j=h?b[d.expando]:d.expa
 ndo;if(!i[j])return;if(c){var k=e?i[j][f]:i[j];if(k){delete k[c];if(!g(k))return}}if(e){delete i[j][f];if(!g(i[j]))return}var l=i[j][f];d.support.deleteExpando||i!=a?delete i[j]:i[j]=null,l?(i[j]={},h||(i[j].toJSON=d.noop),i[j][f]=l):h&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d
 .data(this[0],a),e=f(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]
 ||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var h=/[\n\t\r]/g,i=/\s+/,j=/\r/g,k=/^(?:href|src|style)$/,l=/^(?:button|input)$/i,m=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,o=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(i);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g="
  "+f.className+" ",h=f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(h+=" "+b[j]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(i);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var j=(" "+g.className+" ").replace(h," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");g.className=d.trim(j)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),j=b,k=a.split(i);while(f=k[g++])j=e?j:!h.hasClass(f),h[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__
 className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(h," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var k=i?f:0,l=i?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(o.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(j,"")}return b}var n=d.isFunction(a);return this.each(function(b){var 
 c=d(this),e=a;if(this.nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&o.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=k.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&l.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?
 a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:m.test(a.nodeName)||n.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var p=/\.(.*)$/,q=/^(?:textarea|input|select)$/i,r=/\./g,s=/ /g,t=/[^\w\s.|`]/g,u=function(a){return a.replace(t,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=v;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l=
 {}),m||(k.handle=m=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")
 <0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var w=s.handle;w&&(w.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.eve
 nts&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(p,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.sl
 ice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.p
 arentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunloa
 d=null)}}}},d.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{if(b!==c&&!b.parentNode)r
 eturn;while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&C("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&C("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.t
 ype,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(q.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")r
 eturn!1;for(var c in z)d.event.add(this,c+".specialChange",z[c]);return q.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return q.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.le
 ngth;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.conte
 xt);if(typeof a==="object"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=p.exec(h),k="",j&&(k=j[0],h=h.replace(p,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.
 sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],
 d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}re
 turn a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.rep
 lace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",
 d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e
 ++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d
 ,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){r
 eturn"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType
 ===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){
 return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(
 j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeCh
 ild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p(
 [e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(d||!l.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return k(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerH
 TML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.
 text=k.getText,d.isXMLDoc=k.isXML,d.contains=k.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j
 )h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth
 (a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e
 )))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a)
 )return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function
 (a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.get
 ElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(thi
 s).remove(),b?d(b).before(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,ba)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[
 0].charAt(0)==="<"&&!V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){$(a,e),f=_(a),g=_(e);for(h=0;f[h];++h)$(f[h],g[h])}if(b){Z(a,e);if(c){f=_(a),g=_(e);for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||
 c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.make
 Array(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bb=/alpha\([^)]*\)/i,bc=/opacity=([^)]*)/,bd=/-([a-z])/ig,be=/([A-Z])/g,bf=/^-?\d+(?:px)?$/i,bg=/^-?\d/,bh={position:"absolute",visibility:"hidden",display:"block"},bi=["Left","Right"],bj=["Top","Bottom"],bk,bl,bm,bn=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cs
 sHooks:{opacity:{get:function(a,b){if(b){var c=bk(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bk)return bk(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bd,bn)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHoo
 ks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bo(a,b,e):d.swap(a,bh,function(){f=bo(a,b,e)});if(f<=0){f=bk(a,b,b),f==="0px"&&bm&&(f=bm(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bf.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bb.test(f)?f.replace(bb,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bl=function(a,c,e){var f,g,h;e=e.replace(be,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.styl
 e(a,e));return f}),c.documentElement.currentStyle&&(bm=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bf.test(d)&&bg.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bk=bl||bm,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bp=/%20/g,bq=/\[\]$/,br=/\r?\n/g,bs=/#.*$/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bu=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bv=/(?:^file|^widget|\-extension):$/,bw=/^(?:GET|HEAD)$/,bx=/^\/\//,by=/\?/,bz=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bA=/^(?:select|textarea)/i,bB=/\s+/,bC=/([?&])_=[^
 &]*/,bD=/(^|\-)([a-z])/g,bE=function(a,b,c){return b+c.toUpperCase()},bF=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,bG=d.fn.load,bH={},bI={},bJ,bK;try{bJ=c.location.href}catch(bL){bJ=c.createElement("a"),bJ.href="",bJ=bJ.href}bK=bF.exec(bJ.toLowerCase()),d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bG)return bG.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bz,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.nam
 e&&!this.disabled&&(this.checked||bA.test(this.nodeName)||bu.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(br,"\r\n")}}):{name:b.name,value:c.replace(br,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bJ,isLocal:bv.test(bK[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded
 ",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bM(bH),ajaxTransport:bM(bI),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bP(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bQ(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigge
 r("ajaxComplete",[u,e]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bD,bE)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bt.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bs,"").replace(bx,bK[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bB),e
 .crossDomain||(q=bF.exec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bK[1]||q[2]!=bK[2]||(q[3]||(q[1]==="http:"?80:443))!=(bK[3]||(bK[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bN(bH,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!bw.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(by.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bC,"$1_="+w);e.url=x+(x===e.url?(by.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);i
 f(e.beforeSend&&(e.beforeSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bN(bI,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bO(g,a[g],c,f);return e.join("&").replace(bp,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bR=d.now(),bS=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bR++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.js
 onp!=null||b.jsonp!==!1&&(bS.test(b.url)||f&&bS.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bS,l),b.url===j&&(f&&(k=k.replace(bS,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentE
 lement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bT=d.now(),bU,bV;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bX()||bY()}:bX,bV=d.ajaxSettings.xhr(),d.support.ajax=!!bV,d.support.cors=bV&&"withCredentials"in bV,bV=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),(!a.crossDomain||a.hasContent)&&!e["X-Requested-With"]&&(e["X-Requ
 ested-With"]="XMLHttpRequest");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bU[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bU||(bU={},bW()),h=bT++,g.onreadystatechange=bU[h]=c):c()},abort:function(){c&&c(0,1)}}}});var bZ={},b$=/^(?:toggle|show|hide)$/,b_=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ca,cb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(cc("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=thi
 s[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cd(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cc("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(cc("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);i
 f(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cd(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(b$.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=b_.exec(e),j=f.cur();if(i){var k=parseFloat(i[2])
 ,l=i[3]||(d.cssNumber[c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:cc("show",1),slideUp:cc("hide",1),slideToggle:cc("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.
 call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!ca&&(ca=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(t
 his.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"line
 ar");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(ca),ca=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var ce=/^t(?:able|d|h)$/i,cf=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset
 .bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=cg(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l
 +=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!ce.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td>
 </tr></table>";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.styl
 e.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=cf.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!cf.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.
 fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=cg(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=cg(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.do
 cumentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);
\ No newline at end of file


[43/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
deleted file mode 100755
index 13acb8d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * jQuery Orbit Plugin 1.2.3
- * www.ZURB.com/playground
- * Copyright 2010, ZURB
- * Free to use under the MIT license.
- * http://www.opensource.org/licenses/mit-license.php
-*/
-
-(function(d){d.fn.orbit=function(a){a=d.extend({animation:"horizontal-push",animationSpeed:600,timer:!0,advanceSpeed:4E3,pauseOnHover:!1,startClockOnMouseOut:!1,startClockOnMouseOutAfter:1E3,directionalNav:!0,captions:!0,captionAnimation:"fade",captionAnimationSpeed:600,bullets:!1,bulletThumbs:!1,bulletThumbLocation:"",afterSlideChange:function(){}},a);return this.each(function(){function q(){if(!a.timer||a.timer=="false")return!1;else r.is(":hidden")?s=setInterval(function(){l("next")},a.advanceSpeed):
-(o=!0,x.removeClass("active"),s=setInterval(function(){var a="rotate("+m+"deg)";m+=2;t.css({"-webkit-transform":a,"-moz-transform":a,"-o-transform":a});m>180&&(t.addClass("move"),z.addClass("move"));m>360&&(t.removeClass("move"),z.removeClass("move"),m=0,l("next"))},a.advanceSpeed/180))}function n(){if(!a.timer||a.timer=="false")return!1;else o=!1,clearInterval(s),x.addClass("active")}function A(){if(!a.captions||a.captions=="false")return!1;else{var y=e.eq(b).data("caption");(_captionHTML=d(y).html())?
-(j.attr("id",y).html(_captionHTML),a.captionAnimation=="none"&&j.show(),a.captionAnimation=="fade"&&j.fadeIn(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideDown(a.captionAnimationSpeed)):(a.captionAnimation=="none"&&j.hide(),a.captionAnimation=="fade"&&j.fadeOut(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideUp(a.captionAnimationSpeed))}}function B(){if(a.bullets)D.children("li").removeClass("active").eq(b).addClass("active");else return!1}function l(d){function c(){e.eq(f).css({"z-index":1});
-u=!1;a.afterSlideChange.call(this)}var f=b,g=d;if(f==g)return!1;if(e.length=="1")return!1;u||(u=!0,d=="next"?(b++,b==p&&(b=0)):d=="prev"?(b--,b<0&&(b=p-1)):(b=d,f<b?g="next":f>b&&(g="prev")),B(),e.eq(f).css({"z-index":2}),a.animation=="fade"&&e.eq(b).css({opacity:0,"z-index":3}).animate({opacity:1},a.animationSpeed,c),a.animation=="horizontal-slide"&&(g=="next"&&e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),g=="prev"&&e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,
-c)),a.animation=="vertical-slide"&&(g=="prev"&&e.eq(b).css({top:v,"z-index":3}).animate({top:0},a.animationSpeed,c),g=="next"&&e.eq(b).css({top:-v,"z-index":3}).animate({top:0},a.animationSpeed,c)),a.animation=="horizontal-push"&&(g=="next"&&(e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:-h},a.animationSpeed)),g=="prev"&&(e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:h},a.animationSpeed))),A())}var b=0,
-p=0,h,v,u,f=d(this).addClass("orbit"),c=f.wrap('<div class="orbit-wrapper" />').parent();f.add(h).width("1px").height("1px");var e=f.children("img, a, div");e.each(function(){var a=d(this),b=a.width(),a=a.height();b>f.width()&&(f.add(c).width(b),h=f.width());a>f.height()&&(f.add(c).height(a),v=f.height());p++});if(e.length==1)a.directionalNav=!1,a.timer=!1,a.bullets=!1;e.eq(b).css({"z-index":3}).fadeIn(function(){e.css({display:"block"})});if(a.timer){c.append('<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>');
-var r=d("div.timer"),o;if(r.length!=0){var t=d("div.timer span.rotator"),z=d("div.timer span.mask"),x=d("div.timer span.pause"),m=0,s;q();r.click(function(){o?n():q()});if(a.startClockOnMouseOut){var C;c.mouseleave(function(){C=setTimeout(function(){o||q()},a.startClockOnMouseOutAfter)});c.mouseenter(function(){clearTimeout(C)})}}}a.pauseOnHover&&c.mouseenter(function(){n()});if(a.captions){c.append('<div class="orbit-caption"></div>');var j=c.children(".orbit-caption");A()}if(a.directionalNav){if(a.directionalNav==
-"false")return!1;c.append('<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>');var k=c.children("div.slider-nav").children("span.left"),w=c.children("div.slider-nav").children("span.right");k.click(function(){n();l("prev")});w.click(function(){n();l("next")})}if(a.bullets){c.append('<ul class="orbit-bullets"></ul>');var D=d("ul.orbit-bullets");for(i=0;i<p;i++){k=d("<li>"+(i+1)+"</li>");if(a.bulletThumbs&&(w=e.eq(i).data("thumb")))k=d('<li class="has-thumb">'+
-i+"</li>"),k.css({background:"url("+a.bulletThumbLocation+w+") no-repeat"});d("ul.orbit-bullets").append(k);k.data("index",i);k.click(function(){n();l(d(this).data("index"))})}B()}})}})(jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit-1.2.3.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit-1.2.3.css b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit-1.2.3.css
deleted file mode 100755
index bff4f1f..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit-1.2.3.css
+++ /dev/null
@@ -1,202 +0,0 @@
-/* CSS for jQuery Orbit Plugin 1.2.3
- * www.ZURB.com/playground
- * Copyright 2010, ZURB
- * Free to use under the MIT license.
- * http://www.opensource.org/licenses/mit-license.php
- 
- 
- 
-/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
-   ================================================== */
-#featured { 
-	width: 940px;
-	height: 450px;
-	url('orbit/loading.gif') no-repeat center center;
-	overflow: hidden; }
-#featured>img,  
-#featured>div,
-#featured>a { display: none; }
-
-
-
-
-/* CONTAINER
-   ================================================== */
-
-div.orbit-wrapper {
-    width: 1px;
-    height: 1px;
-    position: relative; }
-
-div.orbit {
-    width: 1px;
-    height: 1px;
-    position: relative;
-    overflow: hidden }
-
-div.orbit>img {
-    position: absolute;
-    top: 0;
-    left: 0;
-    display: none; }
-
-div.orbit>a {
-    border: none;
-    position: absolute;
-    top: 0;
-    left: 0;
-    line-height: 0; 
-    display: none; }
-
-.orbit>div {
-    position: absolute;
-    top: 0;
-    left: 0;
-    width: 100%;
-    height: 100%; }
-
-/* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
-
-
-/* TIMER
-   ================================================== */
-
-div.timer {
-    width: 40px;
-    height: 40px;
-    overflow: hidden;
-    position: absolute;
-    top: 10px;
-    right: 10px;
-    opacity: .6;
-    cursor: pointer;
-    z-index: 1001; }
-
-span.rotator {
-    display: block;
-    width: 40px;
-    height: 40px;
-    position: absolute;
-    top: 0;
-    left: -20px;
-    background: url(orbit/rotator-black.png) no-repeat;
-    z-index: 3; }
-
-span.mask {
-    display: block;
-    width: 20px;
-    height: 40px;
-    position: absolute;
-    top: 0;
-    right: 0;
-    z-index: 2;
-    overflow: hidden; }
-
-span.rotator.move {
-    left: 0 }
-
-span.mask.move {
-    width: 40px;
-    left: 0;
-    background: url(orbit/timer-black.png) repeat 0 0; }
-
-span.pause {
-    display: block;
-    width: 40px;
-    height: 40px;
-    position: absolute;
-    top: 0;
-    left: 0;
-    background: url(orbit/pause-black.png) no-repeat;
-    z-index: 4;
-    opacity: 0; }
-
-span.pause.active {
-    background: url(orbit/pause-black.png) no-repeat 0 -40px }
-
-div.timer:hover span.pause,
-span.pause.active {
-    opacity: 1 }
-
-
-/* CAPTIONS
-   ================================================== */
-
-.orbit-caption {
-    display: none;
-    font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
-
-.orbit-wrapper .orbit-caption {
-    background: #000;
-    background: rgba(0,0,0,.6);
-    z-index: 1000;
-    color: #fff;
-	text-align: center;
-	padding: 7px 0;
-    font-size: 13px;
-    position: absolute;
-    right: 0;
-    bottom: 0;
-    width: 100%; }
-
-
-/* DIRECTIONAL NAV
-   ================================================== */
-
-div.slider-nav {
-    display: block }
-
-div.slider-nav span {
-    width: 30px;
-    height: 41px;
-    text-indent: -9999px;
-    position: absolute;
-    z-index: 1000;
-    background-color: #fffff;
-    top: 50%;
-    margin-top: -22px;
-    cursor: pointer; }
-
-div.slider-nav span.right {
-    background: url(orbit/right-arrow.png);
-    right: 0; }
-
-div.slider-nav span.left {
-    background: url(orbit/left-arrow.png);
-    left: 0; }
-
-/* BULLET NAV
-   ================================================== */
-
-.orbit-bullets {
-    position: absolute;
-    z-index: 1000;
-    list-style: none;
-    bottom: -40px;
-    left: 50%;
-	margin-left: -50px;
-    padding: 0; }
-
-.orbit-bullets li {
-    float: left;
-    margin-left: 5px;
-    cursor: pointer;
-    color: #999;
-    text-indent: -9999px;
-    background: url(orbit/bullets.jpg) no-repeat 4px 0;
-    width: 13px;
-    height: 12px;
-    overflow: hidden; }
-
-.orbit-bullets li.active {
-    color: #222;
-    background-position: -8px 0; }
-    
-.orbit-bullets li.has-thumb {
-    background: none;
-    width: 100px;
-    height: 75px; }
-
-.orbit-bullets li.active.has-thumb {
-    background-position: 0 0;
-    border-top: 2px solid #000; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/left-arrow.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/left-arrow.png b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/left-arrow.png
deleted file mode 100755
index bd65cb1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/left-arrow.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/loading.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/loading.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/loading.gif
deleted file mode 100755
index 969f505..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/loading.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/mask-black.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/mask-black.png b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/mask-black.png
deleted file mode 100755
index e4e77b5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/mask-black.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/right-arrow.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/right-arrow.png b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/right-arrow.png
deleted file mode 100755
index 2c9baab..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/right-arrow.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/rotator-black.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/rotator-black.png b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/rotator-black.png
deleted file mode 100755
index a0d24a7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/rotator-black.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/timer-black.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/timer-black.png b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/timer-black.png
deleted file mode 100755
index e4e77b5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/js/orbit/timer-black.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/style.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/style.css b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/style.css
deleted file mode 100755
index 587c997..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/style.css
+++ /dev/null
@@ -1,160 +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 15px; }
-
-div#header { height: 140px; }
-div.top-nav {
-	float: right;
-}
-div.top-nav ul {
-	list-style: none;
-	margin: 0px;
-	padding: 0px;
-}
-div.top-nav ul li {
-	position: relative;
-	float: left;
-	padding-left: 10px;
-	padding-right: 10px;
-	padding-top: 10px;
-	padding-bottom: 0px;
-	border-right: solid 1px #005577;
-}
-div.top-nav ul li.right {
-	border-right: 0px;
-}
-div.top-nav ul li a {
-	color: #005577;
-	font-weight: bold;
-	font-size: 16px;
-}
-div.top-nav ul li a:hover {
-	color: #ffffff;
-}
-div.logo { float: left; margin-top: 25px; }
-div#content { background-color: #ffffff; background-image: url(images/content-bg.gif); background-repeat: repeat-y; background-position: left top; }
-div#left {
-	float: left;
-	width: 400px;
-	background-image: url(images/left-bg.gif);
-	background-position: right top;
-	background-repeat: no-repeat;
-}
-div#left div.stratos-products div.title {
-	margin-left: 30px;
-	margin-top: 5px;
-	font-size: 24px;
-	font-weight: normal;
-	line-height: 32px;
-}
-div#left div.stratos-products div.products {
-	margin-left: 30px;
-	margin-top: 25px;
-	padding-bottom: 40px;
-}
-div#left div.stratos-products div.products a {
-	display: block;
-	height: 24px;
-	margin-bottom: 7px;
-	background-image: url(images/stratos-products.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-div#left div.stratos-products div.products a {
-	background: url(images/stratos-products-new.jpg) no-repeat top left;
-}
-div#left div.stratos-products div.products a.as-new{ background-position: 0 0; width: 170px; height: 24px; } 
-div#left div.stratos-products div.products a.bam-new{ background-position: 0 -74px; width: 204px; height: 23px; } 
-div#left div.stratos-products div.products a.bps-new{ background-position: 0 -147px; width: 198px; height: 23px; } 
-div#left div.stratos-products div.products a.brs-new{ background-position: 0 -220px; width: 183px; height: 23px; } 
-div#left div.stratos-products div.products a.cep-new{ background-position: 0 -293px; width: 231px; height: 22px; } 
-div#left div.stratos-products div.products a.cg-new{ background-position: 0 -365px; width: 148px; height: 24px; } 
-div#left div.stratos-products div.products a.dss-new{ background-position: 0 -439px; width: 181px; height: 24px; } 
-div#left div.stratos-products div.products a.esb-new{ background-position: 0 -513px; width: 192px; height: 24px; }
-div#left div.stratos-products div.products a.greg-new{ background-position: 0 -587px; width: 180px; height: 23px; } 
-div#left div.stratos-products div.products a.is-new{ background-position: 0 -660px; width: 147px; height: 23px; } 
-div#left div.stratos-products div.products a.mb-new{ background-position: 0 -733px; width: 157px; height: 23px; } 
-div#left div.stratos-products div.products a.ss-new{ background-position: 0 -806px; width: 142px; height: 23px; } 
-div#left div.stratos-products div.products a.ts-new{ background-position: 0 -879px; width: 130px; height: 23px; } 
-div#left div.stratos-products div.products a:hover { opacity:0.7;filter:alpha(opacity=70) }
-div#right {
-	float: left;
-	width: 560px;
-}
-
-div#right div.register { width: 555px; margin-top: 15px; margin-right: 0px; padding-bottom: 10px; text-align: center;
-background-image: url(images/intro-bg.gif);background-position: center bottom; background-repeat: no-repeat;
-}
-div#right div.register a { display: block; height: 62px; margin-bottom: 10px; }
-div#right div.register a img { margin-bottom: 7px; }
-div#right div.register a:hover img { opacity:0.7;filter:alpha(opacity=70) }
-
-div#right div.banner{
-	width: 500px;
-	margin: auto;
-	height: 297px;
-	margin-top: 30px;
-}
-div#right div.banner div#featured {
-	width: 500px;
-	height: 297px;
-}
-div#right div.banner div#featured div.screencast {
-	width: 500px;
-	height: 297px;
-	text-align: center;
-}
-div#right div.banner div#featured div.screencast h2 {
-	font-size: 16px;
-	margin-top: 0px;
-	margin-bottom: 0px;
-	padding-bottom: 8px;
-	padding-top: 8px;
-	line-height: 16px;
-	background-color: #000000;
-	color: #ffffff;
-	margin-left: 30px;
-	margin-right: 30px;
-}
-div#right div.banner div#featured div.whitepaper, div#right div.banner div#featured div.webinar {
-	width: 500px;
-	height: 297px;
-	text-align: center;
-	margin-top: 23px;
-}
-div#bottom { 
-	background-image: url(images/feature-middle-bg.gif);
-	background-position: center top;
-	background-repeat: no-repeat; 
-	}
-div#bottom div.feature {
-	float: left; 
-	width: 240px;
-	padding-left: 40px;
-	padding-right: 40px;
-	font-size: 20px;
-	line-height: 25px;
-	font-weight: bold;
-	text-align: center;
-	padding-bottom: 20px;
-}
-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; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/distribution/pom.xml
deleted file mode 100755
index 09ee4ae..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/pom.xml
+++ /dev/null
@@ -1,744 +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.
- -->
-<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.stratos2</groupId>
-	    <artifactId>wso2stratos2-parent</artifactId>
-	    <version>1.0.0</version>
-            <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2sc</artifactId>
-    <packaging>jar</packaging>
-    <name>WSO2 Stratos2  - Distribution</name>
-    <description>WSO2 Stratos2  Distribution</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <version>${rampart.mar.version}</version>
-            <type>mar</type>
-        </dependency>
-	<dependency>
-            <groupId>org.wso2.andes</groupId>
-            <artifactId>andes-client</artifactId>
-            <version>0.13-wso2v6</version>
-            <type>jar</type>
-        </dependency>
-	<dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>features-dashboard</artifactId>
-            <version>${features-dashboard.war.version}</version>
-            <type>war</type>
-        </dependency>
-        <dependency>
-            <groupId>com.h2database.wso2</groupId>
-            <artifactId>h2-database-engine</artifactId>
-            <version>${orbit.version.h2.engine}</version>
-        </dependency>
-	 <!-- Carbon core distribution -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>wso2carbon-core</artifactId>
-            <version>${carbon.kernel.version}</version>
-            <type>zip</type>
-        </dependency>
-
-        <!-- Synapse dependencies -->
-        <!--dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-commons</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-nhttp-transport</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-pipe-transport</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-core</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-tasks</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-extensions</artifactId>
-            <version>${synapse.version}</version>
-        </dependency-->
-
-        <!-- Carbon mediation initializer -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.initializer</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.bridge</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-	      <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.dependency.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-
-        
-        <!-- ### Required Carbon components ### -->
-        <!-- Transport managament components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Transport components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.http</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.nhttp</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.https</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.mail</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Sequence management components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.service</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.sequences.common</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.sequences</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.router.impl</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.clazz.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.command.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-         <!--Entitlement mediator dependency -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.identity.entitlement.mediator</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-         <!--OAuth mediator dependency -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.identity.oauth.mediator</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-
-        <!--Drools dependency-->
-        <dependency>
-            <groupId>org.drools.wso2</groupId>
-            <artifactId>drools</artifactId>
-            <version>5.0.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>jsr94.wso2</groupId>
-            <artifactId>jsr94</artifactId>
-            <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.mvel.wso2</groupId>
-            <artifactId>mvel2</artifactId>
-            <version>2.0.10.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>joda-time.wso2</groupId>
-            <artifactId>joda-time</artifactId>
-            <version>1.6.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.antlr.wso2</groupId>
-            <artifactId>antlr-runtime</artifactId>
-            <version>3.1.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>janino.wso2</groupId>
-            <artifactId>janino</artifactId>
-            <version>2.5.15.wso2v1</version>
-        </dependency>
-        <!-- Endpoints component -->
-	      <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.endpoint.common</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.endpoint</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Local Entries component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.localentry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Service management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.service.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Operation management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.operation.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Module Management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.module.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Security components (orbit) -->
-         <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-policy</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-trust</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-core</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <type>mar</type>
-            <version>1.6.1-wso2v1</version>
-        </dependency>
-        
-        <!-- Policy Editor component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.policyeditor</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Task component with startups -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.startup</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Synapse Config admin component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.configadmin</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Synapse Registry component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.registry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Datasources component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.datasource</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Throttle component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.throttle</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Caching component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.caching</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- RM component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.rm</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-              
-        <!-- Menus -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui.menu.registry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- ### Required Carbon orbit dependencies ### -->
-        <dependency>
-            <groupId>org.apache.geronimo.specs.wso2</groupId>
-            <artifactId>geronimo-jms_1.1_spec</artifactId>
-            <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-net.wso2</groupId>
-            <artifactId>commons-net</artifactId>
-            <version>2.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>jsch.wso2</groupId>
-            <artifactId>jsch</artifactId>
-            <version>0.1.41-wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents.wso2</groupId>
-            <artifactId>httpcore-nio</artifactId>
-            <version>4.1.0.wso2v2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.quartz-scheduler.wso2</groupId>
-            <artifactId>quartz</artifactId>
-            <version>2.1.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.codehaus.woodstox</groupId>
-            <artifactId>wstx-asl</artifactId>
-            <version>3.2.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
-            <version>1.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>net.sf.saxon.wso2</groupId>
-            <artifactId>saxon</artifactId>
-            <version>8.9.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.abdera.wso2</groupId>
-            <artifactId>abdera</artifactId>
-            <version>1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.ws.wso2</groupId>
-            <artifactId>spring.framework</artifactId>
-            <version>2.5.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-io.wso2</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>2.0.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-collections.wso2</groupId>
-            <artifactId>commons-collections</artifactId>
-            <version>3.2.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.savan.wso2</groupId>
-            <artifactId>savan-core</artifactId>
-            <version>1.0.0-wso2v2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.caching</groupId>
-            <artifactId>wso2caching-core</artifactId>
-            <version>3.5.0</version>
-        </dependency>
-        <!--Bouncycastle dependency for clients and servers-->
-        <dependency>
-            <groupId>bouncycastle</groupId>
-            <artifactId>bcprov-jdk15</artifactId>
-            <version>132</version>
-        </dependency>
-
-        <!-- autoscale components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.autoscale</artifactId>
-            <version>4.0.3</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.discovery.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.relay</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-
-    </dependencies>
-
-    <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>
-                <version>2.0-alpha-4</version>
-                <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>
-                                <artifactItem>
-                                    <groupId>com.acme.shoppingcart.global</groupId>
-                                    <artifactId>shopping-cart-global</artifactId>
-                                    <version>${shoppingcart.global.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>1-run-ant</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <path id="h2.classpath">
-                                    <path refid="maven.compile.classpath"/>
-                                </path>
-                                <echo
-                                        message="########### Create Billing Database ##############"/>
-                                <sql
-                                        driver="org.h2.Driver"
-                                        url="jdbc:h2:${basedir}/target/database/WSO2BILLING_DB"
-                                        userid="wso2carbon" password="wso2carbon" autocommit="true"
-                                        onerror="continue">
-                                    <classpath>
-                                        <path refid="h2.classpath"/>
-                                    </classpath>
-                                    <fileset file="../../billing-script/billing-h2.sql"/>
-									<fileset file="${basedir}/resources/dbscripts/metering_h2.sql"/>
-                                </sql>
-                                <echo
-                                        message="##################### END ########################"/>
-                            </tasks>
-                        </configuration>
-                    </execution>
-
-                    <execution>
-                        <id>3-extract-docs-from-components</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <property name="tempdir" value="target/docs-temp"/>
-                                <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>
-                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/conf" overwrite="true">
-                                    <fileset dir="../../conf">
-                                        <include name="user-mgt.xml"/>
-                                    </fileset>
-                                </copy>
-                                <delete file="target/${project.artifactId}-${project.version}.zip"/>
-                                <delete dir="${tempdir}"/>
-                                <mkdir dir="${tempdir}"/>
-                                <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="**/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="**/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}"/>
-                            </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/shopping-cart-global-${shoppingcart.global.version}"/>
-                                <delete file="target/${project.artifactId}-${project.version}.jar"/>
-                                <delete dir="target/sources"/>
-                                <delete dir="target/site"/>
-                                <delete dir="target/database"/>
-                                <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.0</version>
-                <executions>
-                    <execution>
-                        <phase>5-package</phase>
-                        <goals>
-                            <goal>site</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    <profiles>
-        <profile>
-            <id>default</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-assembly-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>1-pre_dist</id>
-                                <phase>test</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <filters>
-                                        <filter>${basedir}/src/assembly/filter.properties</filter>
-                                    </filters>
-                                    <descriptors>
-                                        <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>4-dist</id>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <filters>
-                                        <filter>${basedir}/src/assembly/filter.properties</filter>
-                                    </filters>
-                                    <descriptors>
-                                        <descriptor>${basedir}/src/assembly/bin.xml</descriptor>
-                                        <!--<descriptor>${basedir}/src/assembly/src.xml</descriptor>-->
-                                        <!--<descriptor>${basedir}/src/assembly/docs.xml</descriptor>-->
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>fix_configuration</id>
-            <activation>
-                <property>
-                    <name>build</name>
-                    <value>box</value>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-assembly-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>1-pre_dist</id>
-                                <phase>test</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <filters>
-                                        <filter>${basedir}/src/assembly/filter.properties</filter>
-                                    </filters>
-                                    <descriptors>
-                                        <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>4-dist</id>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <filters>
-                                        <filter>${basedir}/src/assembly/filter.properties</filter>
-                                    </filters>
-                                    <descriptors>
-                                        <descriptor>${basedir}/src/assembly/bin.xml</descriptor>
-                                        <!--<descriptor>${basedir}/src/assembly/src.xml</descriptor>-->
-                                        <!--<descriptor>${basedir}/src/assembly/docs.xml</descriptor>-->
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/config.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/config.xml b/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/config.xml
deleted file mode 100755
index 4155716..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/config.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- -
- - Licensed to the Apache Software Foundation (ASF) under one
- - or more contributor license agreements.  See the NOTICE file
- - distributed with this work for additional information
- - regarding copyright ownership.  The ASF licenses this file
- - to you under the Apache License, Version 2.0 (the
- - "License"); you may not use this file except in compliance
- - with the License.  You may obtain a copy of the License at
- -
- -   http://www.apache.org/licenses/LICENSE-2.0
- -
- - Unless required by applicable law or agreed to in writing,
- - software distributed under the License is distributed on an
- - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- - KIND, either express or implied.  See the License for the
- - specific language governing permissions and limitations
- - under the License.
- -
- -->
-<broker>
-    <prefix>${QPID_HOME}</prefix>
-    <work>${QPID_WORK}</work>
-    <conf>${prefix}/etc</conf>
-
-    <plugin-directory>${QPID_HOME}/lib/plugins</plugin-directory>
-    <cache-directory>${QPID_WORK}/cache</cache-directory>
-    
-    <connector>
-        <!-- To enable SSL edit the keystorePath and keystorePassword
-	     and set enabled to true. 
-             To disasble Non-SSL port set sslOnly to true -->
-        <ssl>
-            <enabled>false</enabled>
-            <sslOnly>false</sslOnly>
-            <keystorePath>/path/to/keystore.ks</keystorePath>
-            <keystorePassword>keystorepass</keystorePassword>
-        </ssl>
-        <qpidnio>false</qpidnio>
-        <protectio>
-            <enabled>false</enabled>
-            <readBufferLimitSize>262144</readBufferLimitSize>
-            <writeBufferLimitSize>262144</writeBufferLimitSize>	    
-        </protectio>
-        <transport>nio</transport>
-        <port>5672</port>
-        <sslport>8672</sslport>
-        <socketReceiveBuffer>32768</socketReceiveBuffer>
-        <socketSendBuffer>32768</socketSendBuffer>
-    </connector>
-    <management>
-        <enabled>true</enabled>
-        <jmxport>8999</jmxport>
-        <ssl>
-            <enabled>false</enabled>
-            <!-- Update below path to your keystore location, or run the bin/create-example-ssl-stores(.sh|.bat)
-                 script from within the etc/ folder to generate an example store with self-signed cert -->
-            <keyStorePath>${conf}/qpid.keystore</keyStorePath>
-            <keyStorePassword>password</keyStorePassword>
-        </ssl>
-    </management>
-    <advanced>
-        <filterchain enableExecutorPool="true"/>
-        <enablePooledAllocator>false</enablePooledAllocator>
-        <enableDirectBuffers>false</enableDirectBuffers>
-        <framesize>65535</framesize>
-        <compressBufferOnQueue>false</compressBufferOnQueue>
-        <enableJMSXUserID>false</enableJMSXUserID>
-        <locale>en_US</locale>	
-    </advanced>
-
-    <security>
-        <principal-databases>
-            <principal-database>
-                <name>carbon-user-store</name>
-                <class>org.wso2.carbon.qpid.authentication.qpid.CarbonBasedPrincipalDatabase</class>
-            </principal-database>
-        </principal-databases>
-
-        <msg-auth>false</msg-auth>
-        
-        <jmx>
-            <access>${conf}/jmxremote.access</access>
-            <principal-database>carbon-user-store</principal-database>
-        </jmx>
-    </security>
-
-    <virtualhosts>${conf}/virtualhosts.xml</virtualhosts>
-    
-    <heartbeat>
-        <delay>0</delay>
-        <timeoutFactor>2.0</timeoutFactor>
-    </heartbeat>
-    <queue>
-        <auto_register>true</auto_register>
-    </queue>
-
-    <status-updates>ON</status-updates>
-
-</broker>
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/jmxremote.access
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/jmxremote.access b/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/jmxremote.access
deleted file mode 100755
index f496e92..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/jmxremote.access
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-#Generated by JMX Console : Last edited by user:admin
-#Tue Jun 12 16:46:39 BST 2007
-#admin=admin
-#guest=readonly
-#user=readwrite

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/virtualhosts.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/virtualhosts.xml b/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/virtualhosts.xml
deleted file mode 100755
index 235994b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/etc/virtualhosts.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- -
- - Licensed to the Apache Software Foundation (ASF) under one
- - or more contributor license agreements.  See the NOTICE file
- - distributed with this work for additional information
- - regarding copyright ownership.  The ASF licenses this file
- - to you under the Apache License, Version 2.0 (the
- - "License"); you may not use this file except in compliance
- - with the License.  You may obtain a copy of the License at
- -
- -   http://www.apache.org/licenses/LICENSE-2.0
- -
- - Unless required by applicable law or agreed to in writing,
- - software distributed under the License is distributed on an
- - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- - KIND, either express or implied.  See the License for the
- - specific language governing permissions and limitations
- - under the License.
- -
- -->
-<virtualhosts>
-    <default>carbon</default>
-    <virtualhost>
-        <name>carbon</name>
-        <carbon>
-            <store>
-                <!--class>org.apache.qpid.server.store.MemoryMessageStore</class-->
-		<class>org.apache.qpid.server.store.DerbyMessageStore</class>
-		<environment-path>repository/database/qpid/derbystore</environment-path>
-            </store>
-
-            <housekeeping>
-                <threadCount>2</threadCount>
-                <expiredMessageCheckPeriod>20000</expiredMessageCheckPeriod>
-            </housekeeping>
-
-            <exchanges>
-                <exchange>
-                    <type>direct</type>
-                    <name>carbon.direct</name>
-                    <durable>true</durable>
-                </exchange>
-                <exchange>
-                    <type>topic</type>
-                    <name>carbon.topic</name>
-                </exchange>
-            </exchanges>
-            
-	    <queues>
-                <maximumQueueDepth>4235264</maximumQueueDepth>
-                <!-- 4Mb -->
-                <maximumMessageSize>2117632</maximumMessageSize>
-                <!-- 2Mb -->
-                <maximumMessageAge>600000</maximumMessageAge>
-                <!-- 10 mins -->
-                <maximumMessageCount>50</maximumMessageCount>
-                <!-- 50 messages -->
-            </queues>
-        </carbon>
-    </virtualhost>
-</virtualhosts>
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/qpid.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/qpid.xml b/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/qpid.xml
deleted file mode 100755
index faf9d15..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/qpid-resources/qpid.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!--
-  ~ Copyright 2005-2007 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.
-  -->
-<Qpid>
-    <!-- Start Qpid broker when Carbon starts up -->
-    <AutoStart>true</AutoStart>
-    <RegistryRoot>event</RegistryRoot>
-</Qpid>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/release-notes.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/release-notes.html b/products/stratos2/stratos_controller/1.0.0/modules/distribution/release-notes.html
deleted file mode 100755
index 96947a9..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/release-notes.html
+++ /dev/null
@@ -1,132 +0,0 @@
-<!--
-~ 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.
--->
-<html>
-<head>
-    <meta http-equiv="content-type" content=""/>
-    <title>WSO2 Stratos Manager 2.0.0 Release Notes</title>
-    <link href="./tools/cmd/css/appserver-dist-doc.css" rel="stylesheet"
-          type="text/css" media="all"/>
-</head>
-
-<body>
-<h1>WSO2 Stratos Manager 2.0.2 Release Notes</h1>
-
-<h3>${buildNumber}</h3>
-
-<p> WSO2 Stratos is a complete cloud middleware platform for implementing an enterprise service-oriented
-architecture (SOA). WSO2 Stratos is open source and is available under Apache license. It is built on
-top of and extends <a target="_blank" href="http://wso2.com/products/carbon/">WSO2 Carbon</a>, 
-the award-winning, comprehensive, concise, lean enterprise middleware platform.</p>
-
-<p>With WSO2 Stratos, IT professionals have a fully hosted platform-as-a-service (PaaS) for rapidly
-building and deploying services and composite applications, with instant provisioning capability.
-WSO2 Stratos delivers on the promise of cloud computing with a complete, enterprise middleware
-platform for delivering applications that can run on, and integrate with, any combination of private
-clouds, public clouds and on-premise systems. WSO2 Stratos is equipped with features for auto-scaling
-and single sign-on, as well as enhanced functionality for automatic activity monitoring, usage metering,
-and centralized governance and identity management.</p>
-
-
-<p>An open source product, WSO2 Stratos is available under the <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0.html">
-        Apache Software License (v2.0)
-    </a>
-   . This includes all of the extra integration and management
-   functionality as well.
-</p>
-
-<h2>New Features In This Release</h2>
-<ul>
-    <li>Service Aware Dynamic Load Balancing - Improved load balancing and auto-scaling</li>
-    <li>Registry Database performance improvements through storage optimization</li>
-    <li>Subversion backed deployment artifacts storage</li>
-    <li>Local transport improvements</li>
-	<li>Tenant aware logging</li>
-	<li>Ability to facilitate billing upon tenant registration</li>
-	<li>Migrated usage metering to WSO2 BAM2</li>
-    <li>Ghost deployer improvements</li>
-	<li>Stratos Manager can now act as a Single Sign On (SSO) provider</li>
-</ul>
-
-<h2>Key Features</h2>
-
-<ul>
-    <li>Auto-scaling capabilities.
-        WSO2 Stratos automatically adjusts the use of cloud resources to meet increased or decreased demand.</li>
-    <li>Single sign-on functionality.
-        Users only need to sign on once to access all WSO2 Stratos services that they are authorized to use.</li>
-    <li>Enhanced automatic activity monitoring.
-        Activity monitoring is available in real time, so there is no time gap between data collection and
-        the availability of data for monitoring.</li>
-    <li>Enhanced usage metering.
-        Metering is automated so that every operation by tenant users will be monitored and recorded.
-        The metering information can be used for billing and for offering constrained access for certain services.
-    </li>
-    <li>Enhanced centralized governance and identity management.
-        All the resources of all Stratos services can be monitored and governed from a single point - from WSO2
-        Stratos governance. When a modification, such as changing a security policy, or changing the keystore,
-        is done from a single place, it is immediately visible to all other services. In addition to that,
-        all services share a single user store. When a user is added from a service, that new user can immediately
-        access all other services available for the tenant.</li>
-	<li>Tenant aware logging.
-		Tenants can view their logs in order to monitor the status of the deployed services
-		of and applications. It is also helpful for debugging purposes.</li>
-    <li>Data-as-a-Service
-        Data-as-a-service offers storage for tenant's application data. In this release of Stratos, we offer two
-        built-in storage options. WSO2 RSS (Relational Storage Service) & CSS (Cassandra Storage Service).
-        RSS allows creating tenant specific MySQL databases instances and CSS allows creating column family
-        based storage. In addition, one can use other RDBMS engines to store data as well.</li>
-</ul>
-
-<h2>Reporting Problems</h2>
-<br/>
-Issues can be reported using the public JIRA available at
-<a href="https://wso2.org/jira/browse/STRATOS" target="_blank">
-    https://wso2.org/jira/browse/STRATOS</a>
-
-<h2>Contact us</h2>
-WSO2 Stratos team can be contacted via the mailing list:
-<br/>
-<strong>For Stratos Cloud Middleware Platform:</strong>
-<a href="mailto:dev@wso2.org">WSO2 Developer Mailing List</a>
-<br/>
-
-<br/>
-<strong>Forum</strong>
-WSO2 participates in community support for the products using the excellent Q&A site 
-<a href="http://stackoverflow.com/questions/tagged/wso2" target="_blank">stackoverflow.com</a> with tags "WSO2", "Stratos" etc.
-<br/>
-
-<h2>Support</h2>
-
-<p>
-As a fully open source solution WSO2 Stratos does not require any licensing fees.
-
-WSO2 offers a range of service and support options, including evaluation support, CloudStart(SM)
-consulting program, development support, and production support.    <br/>
-    <br/>
-
-    For additional support information please refer to
-    <a target="_blank"
-       href="http://wso2.com/support/">http://wso2.com/support/</a>
-</p>
-<p>Thank you for your interest in WSO2 Stratos</p>
-<strong>
-    <em>-The WSO2 Stratos Team</em>
-</strong>
-<hr/>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/metering_h2.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/metering_h2.sql b/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/metering_h2.sql
deleted file mode 100755
index 0491b8e..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/metering_h2.sql
+++ /dev/null
@@ -1,114 +0,0 @@
---
--- TABLES
---
-
-CREATE TABLE IF NOT EXISTS USAGE_HOURLY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        HOUR_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS USAGE_DAILY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        DAY_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS USAGE_MONTHLY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        MONTH_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS USAGE_LAST_HOURLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-	
-CREATE TABLE IF NOT EXISTS USAGE_LAST_DAILY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS USAGE_LAST_MONTHLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_HOURLY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	HOUR_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_DAILY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	DAY_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_MONTHLY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	MONTH_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_HOURLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-	
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_DAILY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_MONTHLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS REGISTRY_USAGE_HOURLY_ANALYTICS ( 
-	ID VARCHAR(50),
-	TENANT_ID VARCHAR(50),	
-	HISTORY_USAGE BIGINT,
-	CURRENT_USAGE BIGINT,
-	PRIMARY KEY (ID)
-); 
-
-
-COMMIT;
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/metering_mysql.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/metering_mysql.sql b/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/metering_mysql.sql
deleted file mode 100755
index 0c82b75..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/metering_mysql.sql
+++ /dev/null
@@ -1,120 +0,0 @@
--- WSO2 METERING DATABASE SQL FOR MySQL
-
-SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
-
-SET AUTOCOMMIT=0;
-START TRANSACTION;
-
---
--- TABLES
---
-
-CREATE TABLE IF NOT EXISTS USAGE_HOURLY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        HOUR_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS USAGE_DAILY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        DAY_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS USAGE_MONTHLY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        MONTH_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS USAGE_LAST_HOURLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-	
-CREATE TABLE IF NOT EXISTS USAGE_LAST_DAILY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS USAGE_LAST_MONTHLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_HOURLY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	HOUR_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_DAILY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	DAY_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_MONTHLY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	MONTH_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_HOURLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-	
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_DAILY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_MONTHLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS REGISTRY_USAGE_HOURLY_ANALYTICS ( 
-	ID VARCHAR(50),
-	TENANT_ID VARCHAR(50),	
-	HISTORY_USAGE BIGINT,
-	CURRENT_USAGE BIGINT,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB; 
-
-COMMIT;
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/wso2_rss.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/wso2_rss.sql b/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/wso2_rss.sql
deleted file mode 100755
index 411b1ce..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/resources/dbscripts/wso2_rss.sql
+++ /dev/null
@@ -1,81 +0,0 @@
-
-CREATE TABLE RSS_INSTANCE (
-  rss_instance_id INTEGER AUTO_INCREMENT,
-  name VARCHAR(128) NOT NULL,
-  server_url VARCHAR(1024) NOT NULL,
-  dbms_type VARCHAR(128) NOT NULL,
-  instance_type VARCHAR(128) NOT NULL,
-  server_category VARCHAR(128) NOT NULL,
-  admin_username VARCHAR(128),
-  admin_password VARCHAR(128),
-  tenant_id INTEGER NOT NULL,
-  UNIQUE (name, tenant_id),
-  PRIMARY KEY (rss_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE DATABASE_INSTANCE (
-  database_instance_id INTEGER AUTO_INCREMENT,
-  name VARCHAR(128) NOT NULL,
-  rss_instance_id INTEGER,
-  tenant_id INTEGER,
-  UNIQUE (name, rss_instance_id),
-  PRIMARY KEY (database_instance_id),
-  FOREIGN KEY (rss_instance_id) REFERENCES RSS_INSTANCE (rss_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE DATABASE_USER (
-  user_id INTEGER AUTO_INCREMENT,
-  db_username VARCHAR(128) NOT NULL,
-  rss_instance_id INTEGER,
-  user_tenant_id INTEGER,
-  UNIQUE (db_username, rss_instance_id, user_tenant_id),
-  PRIMARY KEY (user_id),
-  FOREIGN KEY (rss_instance_id) REFERENCES RSS_INSTANCE (rss_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE DATABASE_INSTANCE_PROPERTY (
-  db_property_id INTEGER AUTO_INCREMENT,
-  prop_name VARCHAR(128) NOT NULL,
-  prop_value TEXT,
-  database_instance_id INTEGER,
-  UNIQUE (prop_name, database_instance_id),
-  PRIMARY KEY (db_property_id),
-  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE USER_DATABASE_ENTRY (
-  user_id INTEGER,
-  database_instance_id INTEGER,
-  PRIMARY KEY (user_id, database_instance_id),
-  FOREIGN KEY (user_id) REFERENCES DATABASE_USER (user_id),
-  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE USER_DATABASE_PERMISSION (
-  user_id INTEGER,
-  database_instance_id INTEGER,
-  perm_name VARCHAR(128) NOT NULL,
-  perm_value VARCHAR(128),
-  PRIMARY KEY (user_id, database_instance_id, perm_name),
-  FOREIGN KEY (user_id) REFERENCES DATABASE_USER (user_id),
-  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE WSO2_RSS_DATABASE_INSTANCE_COUNT (
-  instance_count INTEGER NOT NULL DEFAULT 0
-) ENGINE="InnoDB";
-
-CREATE TABLE USER_PRIVILEGE_GROUP (
-  priv_group_id INTEGER AUTO_INCREMENT,
-  priv_group_name VARCHAR(128),
-  tenant_id INTEGER,
-  PRIMARY KEY (priv_group_id, priv_group_name, tenant_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE USER_PRIVILEGE_GROUP_ENTRY (
-  priv_group_id INTEGER,
-  perm_name VARCHAR(128),
-  perm_value CHAR(1),
-  PRIMARY KEY (priv_group_id, perm_name),
-  FOREIGN KEY (priv_group_id) REFERENCES USER_PRIVILEGE_GROUP (priv_group_id)
-) ENGINE="InnoDB";


[26/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml b/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
deleted file mode 100644
index 65d145d..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- !
- ! Copyright 2006 The Apache Software Foundation.
- !
- ! 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.
- !-->
-<serviceGroup>
-    <service name="CloudManagerService" scope="transportsession">
-        <transports>
-            <transport>https</transport>
-        </transports>
-        <parameter name="ServiceClass" locked="false">
-            org.wso2.stratos.manager.services.mgt.services.CloudManagerService
-        </parameter>
-        <operation name="retrieveCloudServiceInfo">
-            <parameter name="AuthorizationAction" locked="true">/permission/admin/login</parameter>
-        </operation>
-        <operation name="saveCloudServicesActivity">
-            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
-        </operation>
-        <operation name="activate">
-            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
-        </operation>
-        <operation name="deactivate">
-            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
-        </operation>
-    </service>
-    <parameter name="adminService" locked="true">true</parameter>
-    <parameter name="hiddenService" locked="true">true</parameter>
-</serviceGroup>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/pom.xml
deleted file mode 100644
index 64a08b5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/pom.xml
+++ /dev/null
@@ -1,153 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-# Copyright (c) 2008, 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.
-  -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos.manager.dashboard.ui</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon Cloud Manager - Dashboard User Interface</name>
-    <version>${stratos.controller.version}</version>
-
-    <build>
-
-        <plugins>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Export-Package>
-                            org.wso2.stratos.manager.dashboard.ui.*,
-                        </Export-Package>
-                        <Import-Package>
-                            org.wso2.carbon.ui.servlets.*,
-                            javax.servlet; version=2.4.0,
-                            javax.servlet.http; version=2.4.0,
-                            org.apache.lucene.*,
-                            *;resolution:=optional
-                        </Import-Package>
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-            
-        </plugins>
-    </build>
-
-   
-    <dependencies>
-
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.common.ui</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.profiles.ui</artifactId>
-            <version>${registry-component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.resource.ui</artifactId>
-            <version>${governance-component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.account.mgt.ui</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.common</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.manager.dashboard.stub</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-    </dependencies>
-
-    <properties>
-        <eclipse.version>3.2.0</eclipse.version>
-        <!-- Component versions == Carbon version, if not, please change the properties below. -->
-        <registry-component.version>4.1.0</registry-component.version>
-       <governance-component.version>4.1.0</governance-component.version>
-    </properties>
-
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
deleted file mode 100644
index f3556b9..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
+++ /dev/null
@@ -1,123 +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.
-*/
-package org.wso2.stratos.manager.dashboard.ui.clients;
-
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.client.Options;
-import org.apache.axis2.client.ServiceClient;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.wso2.carbon.CarbonConstants;
-import org.wso2.carbon.context.CarbonContext;
-import org.wso2.carbon.registry.core.exceptions.RegistryException;
-import org.wso2.carbon.ui.CarbonUIUtil;
-import org.wso2.carbon.utils.ServerConstants;
-import org.wso2.carbon.stratos.manager.dashboard.stub.CloudManagerServiceStub;
-import org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService;
-
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletRequest;
-import javax.servlet.http.HttpSession;
-
-public class CloudManagerServiceClient {
-     private static final Log log = LogFactory.getLog(CloudManagerServiceClient.class);
-
-    private CloudManagerServiceStub stub;
-    private String epr;
-    public static final String CLOUD_SERVICE = "cloudService";
-
-    public CloudManagerServiceClient(
-            String cookie, String backendServerURL, ConfigurationContext configContext)
-            throws RegistryException {
-
-        epr = backendServerURL + "CloudManagerService";
-
-        try {
-            stub = new CloudManagerServiceStub(configContext, epr);
-
-            ServiceClient client = stub._getServiceClient();
-            Options option = client.getOptions();
-            option.setManageSession(true);
-            option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
-
-        } catch (AxisFault axisFault) {
-            String msg = "Failed to initiate AddServices service client. " + axisFault.getMessage();
-            log.error(msg, axisFault);
-            throw new RegistryException(msg, axisFault);
-        }
-    }
-
-    public CloudManagerServiceClient(ServletRequest request, ServletConfig config, HttpSession session)
-            throws RegistryException {
-
-        String cookie = (String)session.getAttribute(ServerConstants.ADMIN_SERVICE_COOKIE);
-        String backendServerURL = CarbonUIUtil.getServerURL(config.getServletContext(), session);
-        ConfigurationContext configContext = (ConfigurationContext) config.
-                getServletContext().getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
-        epr = backendServerURL + "CloudManagerService";
-
-        try {
-            stub = new CloudManagerServiceStub(configContext, epr);
-
-            ServiceClient client = stub._getServiceClient();
-            Options option = client.getOptions();
-            option.setManageSession(true);
-            option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
-
-        } catch (AxisFault axisFault) {
-            String msg = "Failed to initiate Add Services service client. " + axisFault.getMessage();
-            log.error(msg, axisFault);
-            throw new RegistryException(msg, axisFault);
-        }
-    }
-
-    public CloudService[] retrieveCloudServiceInfo() throws Exception {
-        try {
-            if (CarbonContext.getCurrentContext().getCache(null).containsKey(CLOUD_SERVICE)) {
-                return (CloudService[]) CarbonContext.getCurrentContext()
-                        .getCache(null).get(CLOUD_SERVICE);
-            }
-        } catch (Exception ignored) {
-            // TODO: this exception needs not be handled, but the situation which leads to this
-            // exception needs to be.
-        }
-        CloudService[] cloudServices = stub.retrieveCloudServiceInfo();
-        CarbonContext.getCurrentContext().getCache(null).put(CLOUD_SERVICE, cloudServices);
-        return cloudServices;
-    }
-
-
-    public void saveCloudServicesActivity(String[] activeServiceNames) throws Exception {
-        CloudService[] cloudServices =
-                (CloudService[]) CarbonContext.getCurrentContext().getCache(null).get(CLOUD_SERVICE);
-
-        for (CloudService cloudService : cloudServices) {
-            for (String activeService : activeServiceNames) {
-                if (cloudService.getName().equals(activeService)) {
-                    cloudService.setActive(true);
-                    break;
-                } else {
-                    cloudService.setActive(false);
-                }
-            }
-        }
-
-        stub.saveCloudServicesActivity(activeServiceNames);
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/utils/Util.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/utils/Util.java b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/utils/Util.java
deleted file mode 100644
index 4d3ea56..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/utils/Util.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2008, 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.
- */
-package org.wso2.stratos.manager.dashboard.ui.utils;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class Util {
-    public static List<String> getNewlyActivatedServices(List<String> oldActivateServices,
-                                                  List<String> newActivateServices) {
-        List<String> newlyActivatedServices = new ArrayList<String>();
-        for (String service: newActivateServices) {
-            if (!oldActivateServices.contains(service)) {
-                newlyActivatedServices.add(service);
-            }
-        }
-        return newlyActivatedServices;
-    }
-    public static List<String> getNewlyDeactivatedServices(List<String> oldActivateServices,
-                                                  List<String> newActivateServices) {
-        List<String> newlyDeactivatedServices = new ArrayList<String>();
-        for (String service: oldActivateServices) {
-            if (!newActivateServices.contains(service)) {
-                newlyDeactivatedServices.add(service);
-            }
-        }
-        return newlyDeactivatedServices;
-    }
-
-   
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/CloudManagerService.wsdl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/CloudManagerService.wsdl b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/CloudManagerService.wsdl
deleted file mode 100644
index 6be162a..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/CloudManagerService.wsdl
+++ /dev/null
@@ -1,312 +0,0 @@
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd"
-                  xmlns:ns="http://services.mgt.services.manager.stratos.wso2.org"
-                  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
-                  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
-                  xmlns:ax2298="http://beans.mgt.services.manager.stratos.wso2.org/xsd"
-                  xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-                  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
-                  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
-                  targetNamespace="http://services.mgt.services.manager.stratos.wso2.org">
-    <wsdl:documentation>CloudManagerService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
-                   targetNamespace="http://beans.mgt.services.manager.stratos.wso2.org/xsd">
-            <xs:complexType name="CloudService">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="icon" nillable="true" type="xs:string"/>
-
-                    <xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="link" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="productPageURL" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax2299="http://beans.mgt.services.manager.stratos.wso2.org/xsd"
-                   attributeFormDefault="qualified" elementFormDefault="qualified"
-                   targetNamespace="http://services.mgt.services.manager.stratos.wso2.org">
-            <xs:import namespace="http://beans.mgt.services.manager.stratos.wso2.org/xsd"/>
-
-            <xs:element name="CloudManagerServiceException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="CloudManagerServiceException" nillable="true"
-                                    type="ns:Exception"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:complexType name="Exception">
-                <xs:sequence>
-
-                    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:element name="saveCloudServicesActivity">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" name="activeServiceNames" nillable="true"
-                                    type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-
-            </xs:element>
-            <xs:element name="retrieveCloudServiceInfo">
-                <xs:complexType>
-                    <xs:sequence/>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveCloudServiceInfoResponse">
-                <xs:complexType>
-                    <xs:sequence>
-
-                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true"
-                                    type="ax2299:CloudService"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="deactivate">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="cloudServiceName" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="activate">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="cloudServiceName" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="saveCloudServicesActivityRequest">
-        <wsdl:part name="parameters" element="ns:saveCloudServicesActivity"/>
-    </wsdl:message>
-    <wsdl:message name="saveCloudServicesActivityResponse"/>
-    <wsdl:message name="CloudManagerServiceException">
-        <wsdl:part name="parameters" element="ns:CloudManagerServiceException"/>
-    </wsdl:message>
-
-    <wsdl:message name="activateRequest">
-        <wsdl:part name="parameters" element="ns:activate"/>
-    </wsdl:message>
-    <wsdl:message name="activateResponse"/>
-    <wsdl:message name="retrieveCloudServiceInfoRequest">
-        <wsdl:part name="parameters" element="ns:retrieveCloudServiceInfo"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveCloudServiceInfoResponse">
-        <wsdl:part name="parameters" element="ns:retrieveCloudServiceInfoResponse"/>
-
-    </wsdl:message>
-    <wsdl:message name="deactivateRequest">
-        <wsdl:part name="parameters" element="ns:deactivate"/>
-    </wsdl:message>
-    <wsdl:message name="deactivateResponse"/>
-    <wsdl:portType name="CloudManagerServicePortType">
-        <wsdl:operation name="saveCloudServicesActivity">
-            <wsdl:input message="ns:saveCloudServicesActivityRequest" wsaw:Action="urn:saveCloudServicesActivity"/>
-            <wsdl:output message="ns:saveCloudServicesActivityResponse"
-                         wsaw:Action="urn:saveCloudServicesActivityResponse"/>
-
-            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
-                        wsaw:Action="urn:saveCloudServicesActivityCloudManagerServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="activate">
-            <wsdl:input message="ns:activateRequest" wsaw:Action="urn:activate"/>
-            <wsdl:output message="ns:activateResponse" wsaw:Action="urn:activateResponse"/>
-            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
-                        wsaw:Action="urn:activateCloudManagerServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCloudServiceInfo">
-            <wsdl:input message="ns:retrieveCloudServiceInfoRequest" wsaw:Action="urn:retrieveCloudServiceInfo"/>
-
-            <wsdl:output message="ns:retrieveCloudServiceInfoResponse"
-                         wsaw:Action="urn:retrieveCloudServiceInfoResponse"/>
-            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
-                        wsaw:Action="urn:retrieveCloudServiceInfoCloudManagerServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="deactivate">
-            <wsdl:input message="ns:deactivateRequest" wsaw:Action="urn:deactivate"/>
-            <wsdl:output message="ns:deactivateResponse" wsaw:Action="urn:deactivateResponse"/>
-            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
-                        wsaw:Action="urn:deactivateCloudManagerServiceException"/>
-        </wsdl:operation>
-    </wsdl:portType>
-
-    <wsdl:binding name="CloudManagerServiceSoap11Binding" type="ns:CloudManagerServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="saveCloudServicesActivity">
-            <soap:operation soapAction="urn:saveCloudServicesActivity" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activate">
-            <soap:operation soapAction="urn:activate" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCloudServiceInfo">
-
-            <soap:operation soapAction="urn:retrieveCloudServiceInfo" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap:fault use="literal" name="CloudManagerServiceException"/>
-
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="deactivate">
-            <soap:operation soapAction="urn:deactivate" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="CloudManagerServiceSoap12Binding" type="ns:CloudManagerServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="saveCloudServicesActivity">
-
-            <soap12:operation soapAction="urn:saveCloudServicesActivity" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap12:fault use="literal" name="CloudManagerServiceException"/>
-
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activate">
-            <soap12:operation soapAction="urn:activate" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap12:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCloudServiceInfo">
-            <soap12:operation soapAction="urn:retrieveCloudServiceInfo" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap12:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="deactivate">
-
-            <soap12:operation soapAction="urn:deactivate" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap12:fault use="literal" name="CloudManagerServiceException"/>
-
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="CloudManagerServiceHttpBinding" type="ns:CloudManagerServicePortType">
-        <http:binding verb="POST"/>
-        <wsdl:operation name="saveCloudServicesActivity">
-            <http:operation location="saveCloudServicesActivity"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="activate">
-            <http:operation location="activate"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCloudServiceInfo">
-            <http:operation location="retrieveCloudServiceInfo"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="deactivate">
-            <http:operation location="deactivate"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="CloudManagerService">
-        <wsdl:port name="CloudManagerServiceHttpsSoap11Endpoint" binding="ns:CloudManagerServiceSoap11Binding">
-            <soap:address
-                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsSoap11Endpoint/"/>
-
-        </wsdl:port>
-        <wsdl:port name="CloudManagerServiceHttpsSoap12Endpoint" binding="ns:CloudManagerServiceSoap12Binding">
-            <soap12:address
-                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="CloudManagerServiceHttpsEndpoint" binding="ns:CloudManagerServiceHttpBinding">
-            <http:address
-                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsEndpoint/"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/META-INF/component.xml b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/META-INF/component.xml
deleted file mode 100644
index 969c006..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/META-INF/component.xml
+++ /dev/null
@@ -1,35 +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.
- -->
-<component xmlns="http://products.wso2.org/carbon">
-    <!-- sample menu configuration -->
-    <menus>
-        <menu>
-            <id>mt_cloud_services_configurations</id>
-            <i18n-key>cloud.services.configurations</i18n-key>
-            <i18n-bundle>org.wso2.stratos.manager.dashboard.ui.i18n.Resources</i18n-bundle>
-            <parent-menu>configure_menu</parent-menu>
-            <link>../tenant-dashboard/cloud_services_configuration.jsp</link>
-            <region>region1</region>
-            <icon>../tenant-dashboard/images/service-configuration.gif</icon>
-            <order>40</order>
-            <style-class>home</style-class>
-            <require-permission>/permission/admin/configure/cloud-services</require-permission>
-            <require-not-super-tenant>true</require-not-super-tenant>
-        </menu>
-    </menus>
-</component>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/JSResources.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/JSResources.properties b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/JSResources.properties
deleted file mode 100644
index 49efc22..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/JSResources.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-password.mismatched=Passwords do not match.
-current.password.should.provided=You should provide the current password inorder to change the password.
-session.timed.out=Session timed out.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/Resources.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/Resources.properties b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/Resources.properties
deleted file mode 100644
index 3d49083..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/Resources.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-cloud.services.configurations=Services
-activate.your.cloud.services=Activate your Cloud Services
-cloud.services=Cloud Services

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
deleted file mode 100644
index 507f278..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
+++ /dev/null
@@ -1,203 +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.
- -->
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
-<%@ page import="org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
-<%@ page import="org.wso2.carbon.account.mgt.ui.clients.AccountMgtClient" %>
-<%@ page import="org.wso2.carbon.stratos.common.constants.StratosConstants" %>
-<%@ page import="java.util.List" %>
-<%@ page import="java.util.ArrayList" %>
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.utils.Util" %>
-<%@ page import="org.wso2.carbon.utils.multitenancy.MultitenantConstants" %>
-
-
-<jsp:include page="../registry_common/registry_common-i18n-ajaxprocessor.jsp"/>
-<script type="text/javascript" src="../registry_common/js/registry_validation.js"></script>
-<script type="text/javascript" src="../registry_common/js/registry_common.js"></script>
-<script type="text/javascript" src="../ajax/js/prototype.js"></script>
-<script type="text/javascript" src="../tenant-dashboard/js/dashboard.js"></script>
-<link href="../tenant-dashboard/css/dashboard.css" rel="stylesheet" type="text/css" media="all"/>
-
-
-<%
-
-    CloudManagerServiceClient cloudManagerClient;
-    CloudService[] cloudServices = null;
-    String error = "Error in getting the available and active service details.";
-    try {
-        cloudManagerClient = new CloudManagerServiceClient(request, config, session);
-        cloudServices = cloudManagerClient.retrieveCloudServiceInfo();
-    } catch (Exception e) {
-        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error,error,null)); 
-%>
-        <jsp:include page="../admin/error.jsp?<%=error%>"/>
-<%
-        return;
-    }
-%>
-<fmt:bundle basename="org.wso2.stratos.manager.dashboard.ui.i18n.Resources">
-<carbon:jsi18n
-        resourceBundle="org.wso2.stratos.manager.dashboard.ui.i18n.JSResources"
-        request="<%=request%>" namespace="org.wso2.stratos.manager.dashboard.ui"/>
-
-<div id="middle">
-<h2><fmt:message key="activate.your.cloud.services"/></h2>
-<div id="workArea">
-<%
-// if the account management permission there, we are showing the message to validate email address
-if (CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/account")) {
-
-    AccountMgtClient client = new AccountMgtClient(config, session);
-    boolean isEmailValidated = client.isEmailValidated();
-
-    if (!isEmailValidated) {
-%>
-
-<div class="green-note">Your organization has not validated the contact email address yet. Please validate it following
-the instructions in the <a href="../account-mgt/account_mgt.jsp">Account Management</a> page (Accessible from Configure-&gt;Account menu). </div>
-<%
-    }
-}
-String tenantDomain = null;
-if (session.getAttribute(MultitenantConstants.TENANT_DOMAIN) != null) {
-    tenantDomain = (String)session.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-} else {
-    // user is not logged in or just logged out, but still they are inside url own to the domain
-    tenantDomain = (String)request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-}
-String linkSuffix = "";
-    if (tenantDomain != null) {
-        linkSuffix = "/" + MultitenantConstants.TENANT_AWARE_URL_PREFIX + "/" + tenantDomain;
-    }
-
-boolean isUserAuthorized = CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/cloud-services");    
-%>
-<form id="cloudService" action="cloud_services_save_ajaxprocessor.jsp" method="post">
-<div>
-    <table cellspacing="0" class="tips">
-<%
-    List<String> activeServices = new ArrayList<String>();
-    int index = 1;
-
-    for (CloudService cloudService: cloudServices) {
-        index++;
-        String name = cloudService.getName();       
-        String imagePath = "images/" + name.replace(" ", "-") + "-logo.gif";
-        String projectPageUrl = cloudService.getProductPageURL();
-        String link = cloudService.getLink() + linkSuffix;
-        String icon = cloudService.getIcon();
-        String iconPath = icon.substring(0, icon.lastIndexOf('/'));
-        String iconName = icon.substring(icon.lastIndexOf('/') + 1);
-        String inactiveIcon = iconPath + "/" + "inactive-" + iconName;
-        String description = cloudService.getDescription();
-        String label = cloudService.getLabel();
-        boolean active = name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
-                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE) ||
-                cloudService.getActive();
-        String disabledStr = (name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
-                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE))?" disabled ": "";
-        boolean disabledBtn = (name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
-                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE));
-        if (!isUserAuthorized) {
-            disabledStr = " disabled ";
-        }
-        /*if (name.equals(StratosConstants.CLOUD_ESB_SERVICE)) {
-            active = false;
-            disabledStr = " disabled "; // we show an inactive and disabled link
-        }*/
-        if (active) {
-            activeServices.add(label);
-        }
-%>
-            <tr class="tips-row">
-
-            <td class="tip-checkbox">
-                <input type="checkbox" <%=disabledStr%> <%=active ? " checked=\"true\"" : ""%>
-                       name="cloudServices" id="cloudServices<%=index%>"  value="<%=name%>" style="display:none;"/>
-            </td>
-
-            <td>
-            	<img src="<%=icon%>" class="iconImage">
-                <% if (active) { %>
-            	<a target="_blank" href="<%=link%>" class="linkToService"><%=label%></a>
-                 <% } else { %>
-                <a class="linkToService"><%=label%></a>
-                <% } %>
-
-            </td>
-	<td class="access">
-        <% if (!disabledBtn) { %>          
-                <% if (active) { %>
-                <a target="_blank" input type="button" onclick="document.getElementById('cloudServices<%=index%>').checked=false;onChangeServiceSubscription()" class="deactivate-button"> Deactivate
-                </a>
-                <% } else { %>
-                <a target="_blank" input type="button" onclick="document.getElementById('cloudServices<%=index%>').checked=true;onChangeServiceSubscription()" class="activate-button"> Activate
-                <% } %>
-        <% } %>
-    </td>
-                
-	<td class="powered">Powered by<br/><a href="<%=projectPageUrl%>" target="_blank"><img src="<%=imagePath%>"/></a></td>
-                 </tr>
-               <% index++;
-            } %>
-
-                <td>&nbsp;</td>
-                </tr>
-    </table>
-    </div>
-</form>
-<%
-    List<String> oldActiveServices = (List<String>)session.getAttribute("active-statos-services");
-    if (oldActiveServices != null) {
-        List<String> newlyActivatedServices = Util.getNewlyActivatedServices(oldActiveServices, activeServices);
-        List<String> newlyDeactivatedServices = Util.getNewlyDeactivatedServices(oldActiveServices, activeServices);
-        String msg = null;
-        if (newlyActivatedServices.size() > 0) {
-            msg = "<li>";
-            for (String service: newlyActivatedServices) {
-                msg += "<ul>" + service + " <strong>activated</strong></ul>";
-            }
-            msg += "</li>";
-        }
-        if (newlyDeactivatedServices.size() > 0) {
-            if (msg == null) {
-                msg = "<li>";
-            }
-            for (String service: newlyDeactivatedServices) {
-                msg += "<ul>" + service + " <strong>deactivated</strong></ul>";
-            }
-            msg += "</li>";
-        }
-        if (msg != null) {
-%>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showInfoDialog('<%=msg%>');
-        });
-    </script>
-<%
-        }
-    }
-    session.setAttribute("active-statos-services", activeServices);
-%>
-</div>
-</div>
-</fmt:bundle>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
deleted file mode 100644
index a7ff6ec..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
+++ /dev/null
@@ -1,34 +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.
- -->
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %><%
-    String[] activeCloudServiceNames = request.getParameterValues("cloudServices");
-
-    String error = "Error in saving the results of the activities";
-    try {
-        CloudManagerServiceClient cloudServiceClient = new CloudManagerServiceClient(request, config, session);
-        cloudServiceClient.saveCloudServicesActivity(activeCloudServiceNames);
-    } catch (Exception e) {
-        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error,error,null));
-%>
-        <jsp:include page="../admin/error.jsp?<%=error%>"/>
-<%
-        return;
-    }
-    response.sendRedirect("../tenant-dashboard/cloud_services_configuration.jsp");
-%>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
deleted file mode 100644
index de0a70f..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
+++ /dev/null
@@ -1,231 +0,0 @@
-div.dashboard-clear {
-    clear:both;
-    margin-top:5px;
-}
-
-div.dashboard-comp {
-    width: 300px;
-    margin: 5px;
-    float: left;
-    border:1px solid #6997b2;
-    background: #ffffff;
-    height: 300px;
-}
-.dashboard-comp-head{
-background-image:url( ../../admin/images/table-header.gif);
-background-position:left bottom;
-background-repeat:repeat-x;
-font-weight:normal;
-height:22px;
-line-height:22px;
-text-indent:5px;
-font-weight:bold;
-}
-.dashboard-comp-bottom{
-padding-left:5px;
-padding-top:5px;
-}
-.dashboard-comp-msg{
-color:#505050;
-padding:5px;
-}
-
-div.dashboard-comp-body {
-    overflow: auto;
-    max-height: 230px;
-}
-
-div.activity-comp-body {
-    overflow: auto;
-    max-height: 278px;
-}
-table.tips {
-	border-collapse: separate;
-	padding-bottom: 10px;
-	width: 90%;
-}
-table.tips tbody tr.tips-row {
-}
-tr.tips-row td {
-	border-bottom: solid 1px #ccc;
-}
-tr.tips-row td.tip-checkbox {
-	padding-left: 40px;
-	padding-top: 4px;
-	padding-bottom: 4px;
-    border-left: 0px;
-    border-right: 0px;
-    border-top: 0px;
-    vertical-align: top;
-    padding-right:12px !important;
-}
-tr.tips-row td.tip-img {
-	padding-left: 15px;
-	padding-top: 4px;
-	padding-bottom: 4px;
-    border-left: 0px;
-    border-right: 0px;
-    border-top: 0px;
-    vertical-align: top;
-    padding-right:12px !important;
-}
-tr.tips-row td.tip-img a img {
-	border: 0px;
-}
-tr.tips-row td.tip {
-	background-image: url(../images/aas-top.gif);
-	background-repeat: no-repeat;
-	background-position: left 7px;
-    margin: 0px;
-    padding-left: 0px;
-    padding-right: 15px;
-    padding-top: 20px;
-    padding-bottom: 0px;
-    /*border-bottom: 1px solid #aaa;*/
-    border-left: 0px;
-    border-right: 0px;
-    border-top: 0px;
-    vertical-align: top;
-}
-tr.tips-row td.tip img {
-	float: left;
-	margin-top: -20px;
-	margin-left: 17px;
-	margin-right: 12px;
-	margin-bottom: 20px;
-}
-tr.tips-row td.tip h2 {
-    background-color: transparent !important;
-	font-size: 125%;
-	line-height: 125%;
-	margin-top: 0px;
-	margin-bottom: 3px;
-    border:medium none !important;
-    margin-top:3px !important;
-    margin-left: 0px !important;
-    padding-left: 0px !important;
-}
-tr.tips-row td.tip h2 a {
-	font-size:14px;
-    text-decoration:underline;
-}
-tr.tips-row td.tip p {
-	padding-bottom: 15px;
-}
-tr.tips-row td.access {
-	padding-left: 30px;
-	padding-right: 30px;
-	vertical-align: middle;
-}
-tr.tips-row td.access a.go-button {
-	width: 63px;
-	height: 42px;
-	display: block;
-	background-color: #ccc;
-	font-size: 20px;
-	line-height: 40px;
-	font-weight: bold;
-	color: #000000;
-	text-decoration: none;
-	padding-left: 19px;
-	background-image: url(../images/go-button.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-tr.tips-row td.access span.inactive {
-	width: 63px;
-	height: 42px;
-	display: block;
-	background-color: #ccc;
-	font-size: 20px;
-	line-height: 40px;
-	font-weight: bold;
-	color: #999999;
-	text-decoration: none;
-	padding-left: 19px;
-	background-image: url(../images/inactive-go-button.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-tr.tips-row td.access a.go-button:hover {
-	color: #0084A9;
-}
-tr.tips-row td.powered {
-	padding-left: 10px;
-	padding-right: 20px;
-	text-align: right;
-	font-size: 12px;
-	line-height: 20px;
-	color: #666666;
-	vertical-align: middle;
-}
-.green-note {
-    color: #f00;
-}
-div#menu ul.main li a.menu-home {
-display:block !important;
-}
-/* service config buttons */
-td.access a.activate-button {
-	width: 98px;
-	height: 42px;
-	cursor: pointer;
-	display: block;
-	background-color: #ccc;
-	font-size: 15px;
-	line-height: 40px;
-	font-weight: normal;
-	color: #000000;
-	text-decoration: none;
-	padding-left: 47px;
-	background-image: url(../images/activate-button.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-td.access a.activate-button:hover {
-	color: #00853F;
-}
-td.access a.deactivate-button {
-	width: 103px;
-	height: 42px;
-	cursor: pointer;
-	display: block;
-	background-color: #ccc;
-	font-size: 15px;
-	line-height: 40px;
-	font-weight: normal;
-	color: #000000;
-	text-decoration: none;
-	padding-left: 42px;
-	background-image: url(../images/deactivate-button.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-td.access a.deactivate-button:hover {
-	color: #B5121B;
-}
-.home_tips{
-width:100%;
-}
-.home_tips td{
-border-bottom:solid 1px #ccc;
-padding-bottom:5px !important;
-padding-top:5px !important;
-}
-.home_tips td img{
-vertical-align:middle;
-
-}
-.home_tips td img.iconImage{
-margin-right:10px;
-
-}
-.linkToService{
-color:#0D4D79 !important;
-padding-left:10px !important;
-font-size:18px;
-text-decoration:underline !important;
-}
-.home_tips td.powered{
-text-align:right;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png
deleted file mode 100644
index 1386a9e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide-old.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide-old.html b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide-old.html
deleted file mode 100644
index b6350e4..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide-old.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<!--
- ~ 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.
- -->
-<html>
-<head>
-    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
-  <title>Cloud Services - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-<p>[<a href="../../issue/viewAccounts.jsp">Issue Tracking</a>]
-            | [<a href="http://wso2.com/cloud/services/privacy-policy">Privacy Policy</a>] | [<a href="http://wso2.com/cloud/services/terms-of-use/">Terms of Use</a>]
-        </p>
-
-<h2><a href="http://wso2.com/cloud/stratos/">Cloud Services Home</a> </h1>
-
-<p>
-Cloud Services Home page provides an interface to access the services of the SOA platform of your organization. Stratos provides a web-based console for provisioning new tenants on the platform, allowing self-service provisioning of any WSO2 Carbon product, and running elastically on your choice of underlying virtualization infrastructure to provide all the PaaS benefits inherent to a cloud-native platform. A list of the services available under WSO2 Stratos for the tenant can be found in the cloud services home.
-</p>
-
-<img src="../../tenant-dashboard/docs/images/dashboard.png"/>
-<p>Figure1: Cloud Services Home Page</p>
-</body>
-
-<h3><a href="http://wso2.com/products/application-server/">Application Server</a></h3>
-<p>
-The WSO2 Application Server is an open source, enterprise-ready, Web services engine based on Apache Axis2. Bringing together a number of Apache Web services projects, WSO2 Application Server provides a secure, transactional and reliable runtime to create, consume, deploy and manage Web services for your SOA. 
-</p>
-
-<h3><a href="http://wso2.com/products/data-services-server/">Data Services Server</a></h3>
-<p>
-The WSO2 Data Services Server, data service tier assures ready access to enterprise data scattered across heterogeneous data sources in a unified manner. Due to the single data layer, benefits of optimizations and availability of more processing power will be visible to every service consumer. Access to real time data provides more accurate, up-to-date information for applications. Further this single interface to enterprise data can greatly help in preserving integrity of frequently modified data. 
-</p>
-
-<h3><a href="http://wso2.com/products/mashup-server/">Mashup Server</a></h3>
-<p>
-The WSO2 Mashup Server provides a platform for rapidly deploying Web service Mashups. Combining simple yet rich mashups with reusability, security, reliability and governance, the WSO2 Mashup Server offers enterprise-class service composition.  
-</p>
-
-<h3><a href="http://wso2.com/products/identity-server/">Identity Server</a></h3>
-<p>
-The WSO2 Identity Server is an open source identity and entitlement management server. It supports Information Cards and OpenID for authentication as well as XACML for fine grained authorization. Providing a complete enterprise ready identity solution, it integrates easily into existing user stores such as LDAP or Active Directory and supports multi-factor authentication and much more. The WSO2 Identity Server helps you build secured SOA in a few very easy steps.
-</p>
-
-<h3><a href="http://wso2.com/products/governance-registry/">Governance Registry</a></h3>
-<p>
-The WSO2 Governance Registry addresses both design-time and runtime governance scenarios, to ensure compliance with corporate standards. It allows enterprise architects and developers to always keep track of the services being created and used within an SOA. 
-</p>
-
-<h3><a href="http://wso2.com/products/gadget-server/">Gadget Server</a></h3>
-<p>
-With the WSO2 Gadget Server, you can offer your execs, employees, partners, or customers a way to get all the information in one place that they need. Each user's dashboard is individualized, allowing him/her to add, customize, and rearrange gadgets, as well as group them into tab sets. The open "Web" model means users can select gadgets not only from your enterprise, but also from Google and many others.
-</p>
-
-<h3><a href="http://wso2.com/products/business-activity-monitor/">Business Activity Monitor</a></h3>
-<p>
-The WSO2 Business Activity Monitor (WSO2 BAM) serves the needs of both business and IT domain experts to monitor and understand business activities within an SOA deployment. While specifically designed to monitor SOA deployments, it can be extended to cater to other general monitoring requirements as well. 
-</p>
-
-<h3><a href="http://wso2.com/products/business-process-server/">Business Process Server</a></h3>
-<p>
-The WSO2 Business Process Server is an easy-to-use open source business process server that executes business processes written using the WS-BPEL standard. Powered by Apache ODE, it provides a complete Web-based graphical console to deploy, manage and view processes in addition to managing and viewing process instances
-</p>
-
-<h3><a href="http://wso2.com/products/business-rules-server/">Business Rules Server</a></h3>
-<p>
-The WSO2 Business Rules Server brings the agility of business rules to your Service Oriented Architecture toolkit. Based on a solid platform for hosting business rules, our BRS excels at extending the capabilities of your SOA. 
-</p>
-
-<h3><a href="http://wso2.com/products/enterprise-service-bus/">Enterprise Service Bus</a></h3>
-<p>
-The WSO2 Enterprise Service Bus offers a lean approach to create a Service Oriented Architecture by adding monitoring, management, and virtualization to your existing service interactions. Its innovative design leads it to be one of the highest performance, lowest footprint, and widest interoperability integration systems available.
-</p>
-
-<h3><a href="http://wso2.com/products/message-broker/">Message Broker</a></h3>
-<p>
-The WSO2 Message Broker brings messaging and eventing capabilities into your Service Oriented Architecture. Extending the WSO2 Carbon platform to support event driven architectures, WSO2 Message Broker is powered by Apache Qpid, one of the leading Advanced Message Queuing Protocol (AMQP) messaging engines available today. 
-</p>
-
-<h3><a href="http://wso2.com/products/complex-event-processing-server/">Complex Event Processing Server</a></h3>
-<p>
-The WSO2 Complex Event Processing Server enables you to intelligently single out events with predefined properties and even manage and combine them in a manner that allows for real time analysis and a rapid response to whatever threat or opportunity that enterprises face.
-</p>
-
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
deleted file mode 100644
index 89a49f3..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<!--
- ~ 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.
- -->
-<html>
-<head>
-    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
-  <title>Cloud Services - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-
-	<h1>Cloud Services</h1>
-
-
-	<p>
-		Please refer <a href="http://docs.wso2.org/wiki/display/Stratos200/WSO2+Stratos+Documentation">
-			WSO2 Stratos 2.0 Documentation</a> for more information.
-	</p>
-</body>
-
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif
deleted file mode 100644
index 2154397..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif
deleted file mode 100644
index 3ee3303..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif
deleted file mode 100644
index 55e4751..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif
deleted file mode 100644
index f8b6a74..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif
deleted file mode 100644
index 5dd2171..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif
deleted file mode 100644
index ccba887..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif
deleted file mode 100644
index e69aaa6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif
deleted file mode 100644
index b80554a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif
deleted file mode 100644
index f70a205..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif
deleted file mode 100644
index 95cb5b3..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif
deleted file mode 100644
index 8e89ef5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif
deleted file mode 100644
index af1ac45..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif
deleted file mode 100644
index a2447bc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif
deleted file mode 100644
index f8ed9be..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif
deleted file mode 100644
index aa5c5ba..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif
deleted file mode 100644
index 5fa3679..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif
deleted file mode 100644
index a15dd8f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif
deleted file mode 100644
index 91e4c94..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif
deleted file mode 100644
index 55e4751..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif
deleted file mode 100644
index f8b6a74..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif
deleted file mode 100644
index 5dd2171..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif
deleted file mode 100644
index ccba887..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif
deleted file mode 100644
index b80554a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif
deleted file mode 100644
index e69aaa6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif
deleted file mode 100644
index c8d1b4a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif
deleted file mode 100644
index f70a205..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif
deleted file mode 100644
index 95cb5b3..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif
deleted file mode 100644
index 8e89ef5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif
deleted file mode 100644
index ae73e92..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif
deleted file mode 100644
index af1ac45..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif and /dev/null differ


[48/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/main.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/main.xml b/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/main.xml
deleted file mode 100644
index e8ead4a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/main.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-
-<!-- Default main sequence shipped with the WSO2 ESB -->
-<sequence xmlns="http://ws.apache.org/ns/synapse" name="main" onError="fault">
-    <description>The main sequence for the message mediation</description>
-
-    <in>
-        <property name="REQUEST_HOST_HEADER" expression="$trp:host" scope="axis2"/>
-        <property name="SERVICE_PREFIX" expression="$axis2:SERVICE_PREFIX"/>
-        <send>
-            <!--endpoint name="sdlbEndpoint">
-                <session type="http">-->
-                    <!-- Session timout is 15mins-->
-                    <!--sessionTimeout>900000</sessionTimeout>
-                </session>
-                <serviceDynamicLoadbalance failover="true"
-                                           algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"
-                                           configuration="$system:loadbalancer.xml"/>
-            </endpoint>
-            -->
-	          <!--endpoint name="tenantAwareLBEndpoint">
-                <class name ="org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint">
-                     <parameter name="algorithm"> org.apache.synapse.endpoints.algorithms.RoundRobin</parameter>
-                     <parameter name="configuration">$system:loadbalancer.conf</parameter>
-                     <parameter name="failover">true</parameter>          
-                     <parameter name="sessionTimeout">900000</parameter>
-  	            </class>
- 	          </endpoint-->
-        </send>
-        <drop/>
-    </in>
-
-    <out>
-        <!-- Handling status codes: 301, 302 Redirection -->
-        <filter source="$trp:Location" regex=".+">
-            <property name="LB_SP_Host" expression="$ctx:SERVICE_PREFIX"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
-
-            <property name="LB_Location_Protocol" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="1"/>
-            <property name="LB_Location_Host" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
-            <property name="LB_Location_Path" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="4"/>
-
-            <!--<log level="custom">
-               <property name="ameera-ocation" expression="$trp:Location"/>
-               <property name="ameera-sprefix" expression="$ctx:SERVICE_PREFIX"/>
-           </log>-->
-
-            <filter xpath="fn:lower-case($ctx:LB_SP_Host)=fn:lower-case($ctx:LB_Location_Host)">
-                <then>
-                    <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
-                        <case regex="https://">
-                            <property name="Location"
-                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                      scope="transport"/>
-                        </case>
-                        <case regex="http://">
-                            <property name="Location"
-                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                      scope="transport"/>
-                        </case>
-                    </switch>
-                </then>
-
-                <else>
-                    <filter xpath="$ctx:LB_REQUEST_HOST=fn:lower-case($ctx:LB_Location_Host)">
-                        <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
-                            <case regex="https://">
-                                <property name="Location"
-                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                          scope="transport"/>
-                            </case>
-                            <case regex="http://">
-                                <property name="Location"
-                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                          scope="transport"/>
-                            </case>
-                        </switch>
-                    </filter>
-                </else>
-            </filter>
-        </filter>
-
-        <!-- Send the messages where they have been sent (i.e. implicit To EPR) -->
-        <property name="messageType" value="text/html" scope="axis2"/>
-        <send/>
-        <drop/>
-    </out>
-
-</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/synapse.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/synapse.xml b/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/synapse.xml
deleted file mode 100755
index f3da986..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/synapse.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-
-<!-- The default synapse configuration shipped with the WSO2 Elastic  Load Balancer
- -->
-
-<definitions xmlns="http://ws.apache.org/ns/synapse">
-</definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/synapse.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/synapse.properties b/products/stratos2/stratos_controller/1.0.0/conf/synapse.properties
deleted file mode 100755
index 36e21c2..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/synapse.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-#synapse.threads.core = 20
-#synapse.threads.max = 100
-#synapse.threads.keepalive = 5
-#synapse.threads.qlen = 10
-#synapse.threads.group = synapse-thread-group
-#synapse.threads.idprefix = SynapseWorker
-
-synapse.sal.endpoints.sesssion.timeout.default=600000
-
-#In memory statistics cleaning state 
-statistics.clean.enable=false
-
-# Dependency tracking Synapse observer
-# Comment out to disable dependency management
-synapse.observers=org.wso2.carbon.mediation.dependency.mgt.DependencyTracker
-
-# User defined wsdlLocator/Schema Resolver Implementations.
-# synapse.wsdl.resolver=org.wso2.carbon.mediation.initializer.RegistryWSDLLocator
-# synapse.schema.resolver=org.wso2.carbon.mediation.initializer.RegistryXmlSchemaURIResolver
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/tenant-reg-agent.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/tenant-reg-agent.xml b/products/stratos2/stratos_controller/1.0.0/conf/tenant-reg-agent.xml
deleted file mode 100755
index ba5c7ad..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/tenant-reg-agent.xml
+++ /dev/null
@@ -1,24 +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.
- -->
-<tenantRegListenerServers>
-    <!--<server>
-        <serverUrl>https://10.100.1.206:9443/services/</serverUrl>
-        <userName>admin</userName>
-        <password>admin</password>
-    </server>-->
-</tenantRegListenerServers>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/throttling-rules.drl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/throttling-rules.drl b/products/stratos2/stratos_controller/1.0.0/conf/throttling-rules.drl
deleted file mode 100755
index 2225fa6..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/throttling-rules.drl
+++ /dev/null
@@ -1,251 +0,0 @@
-import org.wso2.carbon.throttling.manager.dataobjects.*;
-import org.wso2.carbon.billing.mgt.dataobjects.*;
-import org.wso2.carbon.stratos.common.constants.*;
-
-// free users restrictions
-
-rule unsetRestrictFreeUsers
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
-
-end
-
-
-rule restrictFreeDataVolume
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (20 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed disk storage of 20Mb. Please upgrade the subscription.");
-end
-
-
-rule unsetRestrictFreeDataVolume
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (20 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
-end
-
-
-rule restrictFreeBandwidth
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
- eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
- 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) > (50 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");
- validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");
- validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");                      
-end
-
-
-rule unsetRestrictFreeBandwidth
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
- eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
- 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) < (50 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION,false,null);
- validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION,false,null);
- validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION,false,null);
-end
-
-
-//---------------------------------------------------------------------------------
-// small users restrictions
-
-
-
-rule restrictSmallDataVolume
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (50 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed disk storage of 50Mb. Please upgrade the subscription.");
-end
-
-
-rule unsetRestrictSmallDataVolume
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (50 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
-end
-
-
-rule restrictSmallBandwidth
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
- eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
- 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) > (150 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription.");
- validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription.");
- validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription."); 
-end
-
-
-rule unsetRestrictSmallBandwidth
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
- eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
- 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) < (150 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION,false,null);
- validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION,false,null);
- validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION,false,null);
-end
-
-
-rule unsetRestrictSmallUsers
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
-then
-
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
-
-end
-
-
-
-
-//-------------------------------------------------------------------------------
-// medium users restrictions
-
-
-
-rule restrictMediumDataVolume
-when
- $package: MultitenancyPackage(name == "Professional")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (500 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed disk storage of 500Mb. Please upgrade the subscription.");
-end
-
-
-rule unsetRestrictMediumDataVolume
-when
- $package: MultitenancyPackage(name == "Professional")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (500 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
-end
-
-
-rule unsetRestrictMediumUsers
-when
- $package: MultitenancyPackage(name == "Professional")
- $dataContext : ThrottlingDataContext()
-then
-
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
-
-end
-
-
-
-//-----------------------------------------------------------------------------------------------
-// large users restrictions
-
-
-rule restrictLargeDataVolume
-when
- $package: MultitenancyPackage(name == "Enterprise")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (1500 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed disk storage of 1500Mb.");
-end
-
-
-rule unsetRestrictLargeDataVolume
-when
- $package: MultitenancyPackage(name == "Enterprise")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (1500 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
-end
-
-
-rule unsetRestrictLargeUsers
-when
- $package: MultitenancyPackage(name == "Enterprise")
- $dataContext : ThrottlingDataContext()
-then
-
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
-
-end
-
-
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/user-mgt.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/user-mgt.xml b/products/stratos2/stratos_controller/1.0.0/conf/user-mgt.xml
deleted file mode 100644
index c902307..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/user-mgt.xml
+++ /dev/null
@@ -1,238 +0,0 @@
-<!--
-  ~ Copyright 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.
-  -->
-        
-<UserManager>
-    <Realm>
-        <Configuration>
-                <AdminRole>admin</AdminRole>
-                <AdminUser>
-                     <UserName>admin</UserName>
-                     <Password>admin</Password>
-                </AdminUser>
-            <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
-            <Property name="dataSource">jdbc/WSO2CarbonDB</Property>
-            <Property name="MultiTenantRealmConfigBuilder">org.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder</Property>
-        </Configuration>
-	<!-- Following is the default user store manager. This user store manager is based on embedded-apacheds LDAP. It reads/writes users and roles into the 		     default apacheds LDAP user store. Descriptions about each of the following properties can be found in user management documentation of the 	 respective product. In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-	    <Property name="UserEntryObjectClass">wso2Person</Property>
-            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-	    <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
-        </UserStoreManager-->
-
-	<!-- Following is the configuration for internal JDBC user store. This user store manager is based on JDBC. In case if application needs to manage 		     passwords externally set property <Property name="PasswordsExternallyManaged">true</Property>. In case if user core cache domain is needed to 			identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>. Furthermore properties, IsEmailUserName and 	     			DomainCalculation are readonly properties. 
-	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->	
-        <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager">
-	    <Property name="ReadOnly">false</Property>
-            <Property name="MaxUserNameListLength">100</Property>
-            <Property name="IsEmailUserName">false</Property>
-            <Property name="DomainCalculation">default</Property>
-            <Property name="PasswordDigest">SHA-256</Property>
-            <Property name="StoreSaltedPassword">true</Property>
-            <Property name="UserNameUniqueAcrossTenants">false</Property>
-            <Property name="PasswordJavaRegEx">^[\S]{5,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-        </UserStoreManager>
-	
-	<!-- If product is using an external LDAP as the user store in READ ONLY mode, use following user manager.
-		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
- 	-->
-        <!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager">
-            <Property name="ReadOnly">true</Property>
-	    <Property name="MaxUserNameListLength">100</Property>
-            <Property name="ConnectionURL">ldap://localhost:10389</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="UserSearchBase">ou=system</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="ReadLDAPGroups">false</Property>
-            <Property name="GroupSearchBase">ou=system</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
-        </UserStoreManager-->
-	
-	<!-- Active directory configuration is as follows.
-	    In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	    There are few special properties for "Active Directory". 
-	    They are : 
-	    1.Referral - (comment out this property if this feature is not reuired) This enables LDAP referral support.
-	    2.BackLinksEnabled - (Do not comment, set to true or false) In some cases LDAP works with BackLinksEnabled. In which role is stored
-	     at user level. Depending on this value we need to change the Search Base within code.
-	    3.isADLDSRole - (Do not comment) Set to true if connecting to an AD LDS instance else set to false.  
-	-->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager">
-            <Property name="defaultRealmName">WSO2.ORG</Property>
-            <Property name="kdcEnabled">false</Property>
-            <Property name="ConnectionURL">ldaps://10.100.1.100:636</Property> 
-            <Property name="ConnectionName">CN=admin,CN=Users,DC=WSO2,DC=Com</Property>
-            <Property name="ConnectionPassword">A1b2c3d4</Property>
-	    <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
-            <Property name="UserEntryObjectClass">user</Property>
-            <Property name="UserNameAttribute">cn</Property>
-            <Property name="isADLDSRole">false</Property>
-	    <Property name="userAccountControl">512</Property>
-            <Property name="UserNameListFilter">(objectClass=user)</Property>
-	    <Property name="UserNameSearchFilter">(&amp;(objectClass=user)(cn=?))</Property>
-            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
-	    <Property name="GroupEntryObjectClass">group</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="GroupNameListFilter">(objectcategory=group)</Property>
-	    <Property name="GroupNameSearchFilter">(&amp;(objectClass=group)(cn=?))</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-            <Property name="Referral">follow</Property>
-	    <Property name="BackLinksEnabled">true</Property>
-        </UserStoreManager-->
-	
-	<!-- If product is using an external LDAP as the user store in read/write mode, use following user manager 
-		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	-->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="ConnectionURL">ldap://localhost:10389</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">secret</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-	    <Property name="UserEntryObjectClass">inetOrgPerson</Property>
-            <Property name="UserSearchBase">ou=system</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">false</Property>
-            <Property name="GroupSearchBase">ou=system</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
-        </UserStoreManager-->
-
-	<!-- Following user manager is used by Identity Server (IS) as its default user manager. 
-	     IS will do token replacement when building the product. Therefore do not change the syntax. 
-	     If "kdcEnabled" parameter is true, IS will allow service principle management. Thus "ServicePasswordJavaRegEx", "ServiceNameJavaRegEx"
-	     properties control the service name format and service password formats.
-	     In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	-->
-	<!--ISUserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="defaultRealmName">WSO2.ORG</Property>
-            <Property name="kdcEnabled">false</Property>
-            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-            <Property name="UserEntryObjectClass">scimPerson</Property>
-            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ServicePasswordJavaRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ServiceNameJavaRegEx">^[\\S]{2,30}/[\\S]{2,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-	    <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
-	    <Property name="SCIMEnabled">true</Property>
-        </ISUserStoreManager-->
-
-        <AuthorizationManager
-            class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager">
-            <Property name="AdminRoleManagementPermissions">/permission</Property>
-	    <Property name="AuthorizationCacheEnabled">true</Property>
-        </AuthorizationManager>
-    </Realm>
-</UserManager>
-
-<!--*******Description of some of the configuration properties used in user-mgt.xml*********************************
-UserRolesCacheEnabled - This is to indicate whether to cache role list of a user. By default it is set to true.
-                        You may need to disable it if user-roles are changed by external means and need to reflect
-                        those changes in the carbon product immediately.
-
-ReplaceEscapeCharactersAtUserLogin - This is to configure whether escape characters in user name needs to be replaced at user login.
-				     Currently the identified escape characters that needs to be replaced are '\' & '\\'
-
-UserDNPattern - This property will be used when authenticating users. During authentication we do a bind. But if the user is login with
-                email address or some other property we need to first lookup LDAP and retreive DN for the user. This involves an additional step. 
-                If UserDNPattern is specified the DN will be contructed using the pattern specified in this property. Performance of this is much better than looking
-                up DN and binding user.
-
-passwordHashMethod - This says how the password should be stored. Allowed values are as follows,
-                     SHA - Uses SHA digest method
-                     MD5 - Uses MD 5 digest method
-                     PLAIN_TEXT - Plain text passwords
-                     In addition to above this supports all digest methods supported by http://docs.oracle.com/javase/6/docs/api/java/security/MessageDigest.html.
-
--->

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/zoo.cfg
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/zoo.cfg b/products/stratos2/stratos_controller/1.0.0/conf/zoo.cfg
deleted file mode 100644
index ca3cc26..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/zoo.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-tickTime=2000
-dataDir=repository/data/zookeeper
-clientPort=2181
-start_zk_server=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/pom.xml
deleted file mode 100644
index 376f351..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/pom.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-<!--
-# Copyright (c) 2008, 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.
-  -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos.manager.services.mgt</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon Cloud Manager- Cloud Services Management</name>
-    <version>${stratos.controller.version}</version>
-
-    <build>
-
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Private-Package>
-                            org.wso2.stratos.manager.services.mgt.*,
-                        </Private-Package>
-                        <Import-Package>
-                            org.wso2.carbon.registry.core.*;version=1.0.1,
-                            !javax.xml.namespace,
-                            javax.xml.namespace; version=0.0.0,
-                            javax.servlet; version=2.4.0,
-                            javax.servlet.http; version=2.4.0,
-                            org.apache.axiom.*; version="${axiom.osgi.version.range}",
-                            *;resolution:=optional
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-
-    </build>
- <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <!--<dependency>-->
-            <!--<groupId>org.wso2.carbon</groupId>-->
-            <!--<artifactId>org.wso2.carbon.registry.extensions</artifactId>-->
-            <!--<version>${registry-component.version}</version>-->
-        <!--</dependency>-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.resource</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.common</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-    </dependencies>
-   
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/beans/CloudService.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/beans/CloudService.java b/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/beans/CloudService.java
deleted file mode 100644
index d6ccd1a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/beans/CloudService.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2008, 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.
- */
-package org.wso2.stratos.manager.services.mgt.beans;
-
-public class CloudService {
-    private String name;
-    private String label;
-    private String link;
-    private String icon;
-    private String description;
-    private boolean active;
-    private String productPageURL;
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getLabel() {
-        return label;
-    }
-
-    public void setLabel(String label) {
-        this.label = label;
-    }
-
-    public String getLink() {
-        return link;
-    }
-
-    public void setLink(String link) {
-        this.link = link;
-    }
-
-    public String getIcon() {
-        return icon;
-    }
-
-    public void setIcon(String icon) {
-        this.icon = icon;
-    }
-
-    public String getDescription() {
-        return description;
-    }
-
-    public void setDescription(String description) {
-        this.description = description;
-    }
-
-    public boolean isActive() {
-        return active;
-    }
-
-    public void setActive(boolean active) {
-        this.active = active;
-    }
-
-    public String getProductPageURL() {
-        return productPageURL;
-    }
-
-    public void setProductPageURL(String productPageURL) {
-        this.productPageURL = productPageURL;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java b/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
deleted file mode 100644
index e56b030..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
+++ /dev/null
@@ -1,73 +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.
-*/
-package org.wso2.stratos.manager.services.mgt.internal;
-
-import org.wso2.carbon.registry.core.service.RegistryService;
-import org.wso2.carbon.user.core.service.RealmService;
-import org.wso2.stratos.manager.services.mgt.util.Util;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import org.osgi.service.component.ComponentContext;
-
-/**
- * @scr.component name="org.wso2.stratos.manager.services.mgt"
- * immediate="true"
- * @scr.reference name="registry.service"
- * interface="org.wso2.carbon.registry.core.service.RegistryService" cardinality="1..1"
- * policy="dynamic" bind="setRegistryService" unbind="unsetRegistryService"
- * @scr.reference name="user.realmservice.default"
- * interface="org.wso2.carbon.user.core.service.RealmService"
- * cardinality="1..1" policy="dynamic" bind="setRealmService"
- * unbind="unsetRealmService"
- */
-public class CloudServiceMgtServiceComponent {
-    private static Log log = LogFactory.getLog(CloudServiceMgtServiceComponent.class);
-
-    protected void activate(ComponentContext context) {
-        try {
-            Util.loadCloudServicesConfiguration();
-            Util.loadServiceIcons();
-            log.debug("******* Cloud Manager Service Manager bundle is activated ******* ");
-        } catch (Throwable e) {
-            String msg = "******* Cloud Manager Service Manager bundle activation failed. ******* ";
-            log.error(msg, e);
-        }
-    }
-
-    protected void deactivate(ComponentContext context) {
-        log.debug("******* Cloud Manager Service Manager bundle is deactivated ******* ");
-    }
-    protected void setRegistryService(RegistryService registryService) {
-        Util.setRegistryService(registryService);
-    }
-
-    protected void unsetRegistryService(RegistryService registryService) {
-        Util.setRegistryService(null);
-    }
-
-    protected void setRealmService(RealmService realmService) {
-        Util.setRealmService(realmService);
-    }
-
-    protected void unsetRealmService(RealmService realmService) {
-        Util.setRealmService(null);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/services/CloudManagerService.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/services/CloudManagerService.java b/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/services/CloudManagerService.java
deleted file mode 100644
index 7cebc43..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/services/CloudManagerService.java
+++ /dev/null
@@ -1,121 +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.
-*/
-package org.wso2.stratos.manager.services.mgt.services;
-
-import org.wso2.carbon.core.AbstractAdmin;
-import org.wso2.carbon.registry.core.session.UserRegistry;
-import org.wso2.carbon.stratos.common.config.CloudServiceConfig;
-import org.wso2.carbon.stratos.common.config.CloudServicesDescConfig;
-import org.wso2.carbon.stratos.common.constants.StratosConstants;
-import org.wso2.stratos.manager.services.mgt.beans.CloudService;
-import org.wso2.stratos.manager.services.mgt.util.Util;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-public class CloudManagerService extends AbstractAdmin {
-    
-    public CloudService[] retrieveCloudServiceInfo() throws Exception {
-        UserRegistry registry = (UserRegistry)getConfigUserRegistry();
-        int tenantId = registry.getTenantId();
-
-        CloudServicesDescConfig cloudServicesDesc = Util.getCloudServicesDescConfig();
-        Map<String, CloudServiceConfig> cloudServiceConfigs =
-                cloudServicesDesc.getCloudServiceConfigs();
-        List<CloudService> cloudServices = new ArrayList<CloudService>();
-        if (cloudServiceConfigs != null) {
-            Set<String> configKeys = cloudServiceConfigs.keySet();
-            for (String configKey : configKeys) {
-                CloudServiceConfig cloudServiceConfig = cloudServiceConfigs.get(configKey);
-                String label = cloudServiceConfig.getLabel();
-                if (label == null) {
-                    // we are only returning display-able services
-                    continue;
-                }
-                CloudService cloudService = new CloudService();
-                String name = cloudServiceConfig.getName();
-                cloudService.setName(name);
-                cloudService.setLabel(label);
-                cloudService.setLink(cloudServiceConfig.getLink());
-                cloudService.setIcon(cloudServiceConfig.getIcon());
-                cloudService.setDescription(cloudServiceConfig.getDescription());
-                cloudService.setProductPageURL(cloudServiceConfig.getProductPageURL());
-                boolean active = Util.isCloudServiceActive(name, tenantId);
-                cloudService.setActive(tenantId == 0 || active);
-
-                cloudServices.add(cloudService);
-            }
-        }
-        return cloudServices.toArray(new CloudService[cloudServices.size()]);
-    }
-
-    public void saveCloudServicesActivity(String[] activeServiceNames) throws Exception {
-        UserRegistry registry = (UserRegistry)getConfigUserRegistry();
-        int tenantId = registry.getTenantId();
-
-        CloudServicesDescConfig cloudServicesDesc = Util.getCloudServicesDescConfig();
-        Map<String, CloudServiceConfig> cloudServiceConfigMap =
-                cloudServicesDesc.getCloudServiceConfigs();
-
-        List<String> activeServiceNamesList = Arrays.asList(activeServiceNames);
-        if (cloudServiceConfigMap != null) {
-            for (String cloudServiceName : cloudServiceConfigMap.keySet()) {
-                if (activeServiceNamesList.contains(cloudServiceName)) {
-                    // this should be made active
-                    if (!Util.isCloudServiceActive(cloudServiceName, tenantId)) {
-                        Util.setCloudServiceActive(true, cloudServiceName, tenantId);
-                    }
-                } else {
-                    // this should be made inactive
-                    if (Util.isCloudServiceActive(cloudServiceName, tenantId)) {
-                        Util.setCloudServiceActive(false, cloudServiceName, tenantId);
-                    }
-
-                }
-            }
-        }
-        Util.setCloudServiceActive(true, StratosConstants.CLOUD_IDENTITY_SERVICE, tenantId);
-        Util.setCloudServiceActive(true, StratosConstants.CLOUD_GOVERNANCE_SERVICE, tenantId);
-    }
-
-    public void activate(String cloudServiceName) throws Exception {
-        UserRegistry registry = (UserRegistry) getConfigUserRegistry();
-        int tenantId = registry.getTenantId();
-        if (!Util.isCloudServiceActive(cloudServiceName, tenantId)) {
-            Util.setCloudServiceActive(true, cloudServiceName, tenantId);
-        }
-    }
-
-    public void deactivate(String cloudServiceName) throws Exception {
-        if (StratosConstants.CLOUD_IDENTITY_SERVICE.equals(cloudServiceName) ||
-            StratosConstants.CLOUD_GOVERNANCE_SERVICE.equals(cloudServiceName)) {
-            // cloud identity and governance services cannot be deactivated..
-            return;
-        }
-        UserRegistry registry = (UserRegistry) getConfigUserRegistry();
-        int tenantId = registry.getTenantId();
-        if (Util.isCloudServiceActive(cloudServiceName, tenantId)) {
-            Util.setCloudServiceActive(false, cloudServiceName, tenantId);
-        }
-    }
-}
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Constants.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Constants.java b/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Constants.java
deleted file mode 100644
index 3de0498..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Constants.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2008, 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.
- */
-package org.wso2.stratos.manager.services.mgt.util;
-
-public class Constants {
-    public static final String CLOUD_SERVICE_INFO_STORE_PATH =
-            "/repository/components/org.wso2.stratos/cloud-manager/cloud-services";
-    public static final String CLOUD_SERVICE_ICONS_STORE_PATH =
-            "/repository/components/org.wso2.stratos/cloud-manager/" +
-                    "cloud-services-icons";
-
-    public static final String CLOUD_SERVICE_IS_ACTIVE_PROP_KEY = "active";
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Util.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Util.java b/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Util.java
deleted file mode 100644
index 93b63ca..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Util.java
+++ /dev/null
@@ -1,261 +0,0 @@
-/*
- * Copyright (c) 2008, 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.
- */
-package org.wso2.stratos.manager.services.mgt.util;
-
-import org.wso2.carbon.registry.core.Collection;
-import org.wso2.carbon.registry.core.RegistryConstants;
-import org.wso2.carbon.registry.core.Resource;
-import org.wso2.carbon.registry.core.exceptions.RegistryException;
-import org.wso2.carbon.registry.core.service.RegistryService;
-import org.wso2.carbon.registry.core.session.UserRegistry;
-import org.wso2.carbon.stratos.common.config.CloudServiceConfig;
-import org.wso2.carbon.stratos.common.config.CloudServicesDescConfig;
-import org.wso2.carbon.stratos.common.config.PermissionConfig;
-import org.wso2.carbon.stratos.common.constants.StratosConstants;
-import org.wso2.carbon.stratos.common.util.CommonUtil;
-import org.wso2.carbon.user.api.RealmConfiguration;
-import org.wso2.carbon.user.core.service.RealmService;
-import org.wso2.carbon.user.core.tenant.TenantManager;
-import org.wso2.carbon.user.mgt.UserMgtConstants;
-import org.wso2.carbon.utils.CarbonUtils;
-
-import org.apache.axiom.om.OMElement;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.activation.MimetypesFileTypeMap;
-
-public class Util {
-
-    private static final Log log = LogFactory.getLog(Util.class);
-
-    private static final String CONFIG_FILENAME = "cloud-services-desc.xml";
-
-    private static RegistryService registryService;
-    private static RealmService realmService;
-    private static CloudServicesDescConfig cloudServicesDescConfig = null;
-
-    public static synchronized void setRegistryService(RegistryService service) {
-        if ((registryService == null) || (service == null)) {
-            registryService = service;
-        }
-    }
-
-    public static RegistryService getRegistryService() {
-        return registryService;
-    }
-
-    public static synchronized void setRealmService(RealmService service) {
-        if ((realmService == null) || (service == null)) {
-            realmService = service;
-        }
-    }
-
-    public static RealmService getRealmService() {
-        return realmService;
-    }
-
-    public static TenantManager getTenantManager() {
-        return realmService.getTenantManager();
-    }
-
-    public static RealmConfiguration getBootstrapRealmConfiguration() {
-        return realmService.getBootstrapRealmConfiguration();
-    }
-
-    public static UserRegistry getTenantZeroSystemGovernanceRegistry() throws RegistryException {
-        return registryService.getGovernanceSystemRegistry();
-    }
-
-    public static UserRegistry getSystemGovernanceRegistry(int tenantId) throws RegistryException {
-        return registryService.getGovernanceSystemRegistry(tenantId);
-    }
-
-    public static UserRegistry getSystemConfigRegistry(int tenantId) throws RegistryException {
-        return registryService.getConfigSystemRegistry(tenantId);
-    }
-
-    public static void loadCloudServicesConfiguration() throws Exception {
-        // now load the cloud services configuration
-        String configFileName =
-                CarbonUtils.getCarbonConfigDirPath() + File.separator + StratosConstants.MULTITENANCY_CONFIG_FOLDER +
-                        File.separator+ CONFIG_FILENAME;
-        OMElement configElement;
-        try {
-            configElement = CommonUtil.buildOMElement(new FileInputStream(configFileName));
-        } catch (Exception e) {
-            String msg = "Error in building the cloud service configuration. config filename: " +
-                            configFileName + ".";
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-        cloudServicesDescConfig = new CloudServicesDescConfig(configElement);
-    }
-
-    public static CloudServicesDescConfig getCloudServicesDescConfig() {
-        return cloudServicesDescConfig;
-    }
-
-    public static CloudServiceConfig getCloudServiceConfig(String cloudServiceName) {
-        Map<String, CloudServiceConfig> cloudServiceConfigs =
-                cloudServicesDescConfig.getCloudServiceConfigs();
-        return cloudServiceConfigs.get(cloudServiceName);
-    }
-
-    public static void setCloudServiceActive(boolean active, String cloudServiceName, 
-                                             int tenantId)throws Exception {
-        CloudServiceConfig cloudServiceConfig = getCloudServiceConfig(cloudServiceName);
-        if (cloudServiceConfig.getLabel() == null) {
-            // for the non-labeled services, we are not setting/unsetting the service active
-            return;
-        }
-
-        UserRegistry tenantZeroSystemGovernanceRegistry;
-        UserRegistry systemConfigRegistry;
-        try {
-            tenantZeroSystemGovernanceRegistry = Util.getTenantZeroSystemGovernanceRegistry();
-            systemConfigRegistry = Util.getSystemConfigRegistry(tenantId);
-        } catch (RegistryException e) {
-            String msg = "Error in getting the tenant 0 system config registry";
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-
-        String cloudServiceInfoPath =
-                Constants.CLOUD_SERVICE_INFO_STORE_PATH + RegistryConstants.PATH_SEPARATOR +
-                        tenantId + RegistryConstants.PATH_SEPARATOR + cloudServiceName;
-        Resource cloudServiceInfoResource;
-        if (tenantZeroSystemGovernanceRegistry.resourceExists(cloudServiceInfoPath)) {
-            cloudServiceInfoResource = tenantZeroSystemGovernanceRegistry.get(cloudServiceInfoPath);
-        } else {
-            cloudServiceInfoResource = tenantZeroSystemGovernanceRegistry.newCollection();
-        }
-        cloudServiceInfoResource.setProperty(Constants.CLOUD_SERVICE_IS_ACTIVE_PROP_KEY,
-                active ? "true" : "false");
-        tenantZeroSystemGovernanceRegistry.put(cloudServiceInfoPath, cloudServiceInfoResource);
-
-        // then we will copy the permissions
-        List<PermissionConfig> permissionConfigs = cloudServiceConfig.getPermissionConfigs();
-        for (PermissionConfig permissionConfig : permissionConfigs) {
-            String path = permissionConfig.getPath();
-            String name = permissionConfig.getName();
-            if (active) {
-                if (!systemConfigRegistry.resourceExists(path)) {
-                    Collection collection = systemConfigRegistry.newCollection();
-                    collection.setProperty(UserMgtConstants.DISPLAY_NAME, name);
-                    systemConfigRegistry.put(path, collection);
-                }
-            } else {
-                if (systemConfigRegistry.resourceExists(path)) {
-                    systemConfigRegistry.delete(path);
-                }
-            }
-        }
-    }
-
-    public static boolean isCloudServiceActive(String cloudServiceName, 
-                                               int tenantId)throws Exception {
-        UserRegistry systemGovernanceRegistry;
-        try {
-            systemGovernanceRegistry = Util.getTenantZeroSystemGovernanceRegistry();
-        } catch (RegistryException e) {
-            String msg = "Error in getting the tenant 0 system config registry";
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-
-        String cloudServiceInfoPath =
-                Constants.CLOUD_SERVICE_INFO_STORE_PATH + RegistryConstants.PATH_SEPARATOR +
-                        tenantId + RegistryConstants.PATH_SEPARATOR + cloudServiceName;
-        
-        if (systemGovernanceRegistry.resourceExists(cloudServiceInfoPath)) {
-            Resource cloudServiceInfoResource = systemGovernanceRegistry.get(cloudServiceInfoPath);
-            String isActiveStr = cloudServiceInfoResource.getProperty(
-                    Constants.CLOUD_SERVICE_IS_ACTIVE_PROP_KEY);
-            return "true".equals(isActiveStr);
-        }
-        
-        return false;
-    }
-
-    /**
-     * Currently this is not used, as the icons are loaded from the webapps
-     * 
-     * @throws Exception
-     */
-    public static void loadServiceIcons() throws Exception {
-        String serviceIconDirLocation =
-                CarbonUtils.getCarbonHome() + "/resources/cloud-service-icons";
-        File serviceIconDirDir = new File(serviceIconDirLocation);
-        UserRegistry registry = getTenantZeroSystemGovernanceRegistry();
-        try {
-            // adding the common media types
-            Map<String, String> extensionToMediaTypeMap = new HashMap<String, String>();
-            extensionToMediaTypeMap.put("gif", "img/gif");
-            extensionToMediaTypeMap.put("jpg", "img/gif");
-            extensionToMediaTypeMap.put("png", "img/png");
-
-            File[] filesAndDirs = serviceIconDirDir.listFiles();
-            if (filesAndDirs == null) {
-                return;
-            }
-            List<File> filesDirs = Arrays.asList(filesAndDirs);
-
-            for (File file : filesDirs) {
-                String filename = file.getName();
-                String fileRegistryPath = Constants.CLOUD_SERVICE_ICONS_STORE_PATH +
-                                RegistryConstants.PATH_SEPARATOR + filename;
-
-                // Add the file to registry
-                Resource newResource = registry.newResource();
-                String mediaType = null;
-                if (filename.contains(".")) {
-                    String fileExt = filename.substring(filename.lastIndexOf(".") + 1);
-                    mediaType = extensionToMediaTypeMap.get(fileExt.toLowerCase());
-                }
-                if (mediaType == null) {
-                    mediaType = new MimetypesFileTypeMap().getContentType(file);
-                }
-                newResource.setMediaType(mediaType);
-                newResource.setContentStream(new FileInputStream(file));
-                registry.put(fileRegistryPath, newResource);
-            }
-        } catch (Exception e) {
-            String msg = "Error loading icons to the system registry for registry path: " +
-                            Constants.CLOUD_SERVICE_ICONS_STORE_PATH;
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-
-        try {
-            CommonUtil.setAnonAuthorization(RegistryConstants.GOVERNANCE_REGISTRY_BASE_PATH + 
-                    Constants.CLOUD_SERVICE_ICONS_STORE_PATH, registry.getUserRealm());
-        } catch (RegistryException e) {
-            String msg = "Setting the annon access enabled for the services icons paths.";
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml b/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
deleted file mode 100644
index 1af9ec6..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ~  Copyright (c) 2009, 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.
-  -->
-
-<component xmlns="http://products.wso2.org/carbon">
-    <ManagementPermissions>
-        <ManagementPermission>
-            <DisplayName>Configure</DisplayName>
-            <ResourceId>/permission/admin/configure</ResourceId>
-        </ManagementPermission>
-        <ManagementPermission>
-            <DisplayName>Cloud-Services</DisplayName>
-            <ResourceId>/permission/admin/configure/cloud-services</ResourceId>
-        </ManagementPermission>
-   </ManagementPermissions>
-</component>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml b/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
deleted file mode 100644
index 65d145d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- !
- ! Copyright 2006 The Apache Software Foundation.
- !
- ! 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.
- !-->
-<serviceGroup>
-    <service name="CloudManagerService" scope="transportsession">
-        <transports>
-            <transport>https</transport>
-        </transports>
-        <parameter name="ServiceClass" locked="false">
-            org.wso2.stratos.manager.services.mgt.services.CloudManagerService
-        </parameter>
-        <operation name="retrieveCloudServiceInfo">
-            <parameter name="AuthorizationAction" locked="true">/permission/admin/login</parameter>
-        </operation>
-        <operation name="saveCloudServicesActivity">
-            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
-        </operation>
-        <operation name="activate">
-            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
-        </operation>
-        <operation name="deactivate">
-            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
-        </operation>
-    </service>
-    <parameter name="adminService" locked="true">true</parameter>
-    <parameter name="hiddenService" locked="true">true</parameter>
-</serviceGroup>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/pom.xml
deleted file mode 100644
index 09fc091..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/pom.xml
+++ /dev/null
@@ -1,153 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-# Copyright (c) 2008, 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.
-  -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos.manager.dashboard.ui</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon Cloud Manager - Dashboard User Interface</name>
-    <version>${stratos.controller.version}</version>
-
-    <build>
-
-        <plugins>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Export-Package>
-                            org.wso2.stratos.manager.dashboard.ui.*,
-                        </Export-Package>
-                        <Import-Package>
-                            org.wso2.carbon.ui.servlets.*,
-                            javax.servlet; version=2.4.0,
-                            javax.servlet.http; version=2.4.0,
-                            org.apache.lucene.*,
-                            *;resolution:=optional
-                        </Import-Package>
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-            
-        </plugins>
-    </build>
-
-   
-    <dependencies>
-
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.common.ui</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.profiles.ui</artifactId>
-            <version>${registry-component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.resource.ui</artifactId>
-            <version>${governance-component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.account.mgt.ui</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.common</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.manager.dashboard.stub</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-    </dependencies>
-
-    <properties>
-        <eclipse.version>3.2.0</eclipse.version>
-        <!-- Component versions == Carbon version, if not, please change the properties below. -->
-        <registry-component.version>4.1.0</registry-component.version>
-       <governance-component.version>4.1.0</governance-component.version>
-    </properties>
-
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
deleted file mode 100644
index f3556b9..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
+++ /dev/null
@@ -1,123 +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.
-*/
-package org.wso2.stratos.manager.dashboard.ui.clients;
-
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.client.Options;
-import org.apache.axis2.client.ServiceClient;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.wso2.carbon.CarbonConstants;
-import org.wso2.carbon.context.CarbonContext;
-import org.wso2.carbon.registry.core.exceptions.RegistryException;
-import org.wso2.carbon.ui.CarbonUIUtil;
-import org.wso2.carbon.utils.ServerConstants;
-import org.wso2.carbon.stratos.manager.dashboard.stub.CloudManagerServiceStub;
-import org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService;
-
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletRequest;
-import javax.servlet.http.HttpSession;
-
-public class CloudManagerServiceClient {
-     private static final Log log = LogFactory.getLog(CloudManagerServiceClient.class);
-
-    private CloudManagerServiceStub stub;
-    private String epr;
-    public static final String CLOUD_SERVICE = "cloudService";
-
-    public CloudManagerServiceClient(
-            String cookie, String backendServerURL, ConfigurationContext configContext)
-            throws RegistryException {
-
-        epr = backendServerURL + "CloudManagerService";
-
-        try {
-            stub = new CloudManagerServiceStub(configContext, epr);
-
-            ServiceClient client = stub._getServiceClient();
-            Options option = client.getOptions();
-            option.setManageSession(true);
-            option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
-
-        } catch (AxisFault axisFault) {
-            String msg = "Failed to initiate AddServices service client. " + axisFault.getMessage();
-            log.error(msg, axisFault);
-            throw new RegistryException(msg, axisFault);
-        }
-    }
-
-    public CloudManagerServiceClient(ServletRequest request, ServletConfig config, HttpSession session)
-            throws RegistryException {
-
-        String cookie = (String)session.getAttribute(ServerConstants.ADMIN_SERVICE_COOKIE);
-        String backendServerURL = CarbonUIUtil.getServerURL(config.getServletContext(), session);
-        ConfigurationContext configContext = (ConfigurationContext) config.
-                getServletContext().getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
-        epr = backendServerURL + "CloudManagerService";
-
-        try {
-            stub = new CloudManagerServiceStub(configContext, epr);
-
-            ServiceClient client = stub._getServiceClient();
-            Options option = client.getOptions();
-            option.setManageSession(true);
-            option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
-
-        } catch (AxisFault axisFault) {
-            String msg = "Failed to initiate Add Services service client. " + axisFault.getMessage();
-            log.error(msg, axisFault);
-            throw new RegistryException(msg, axisFault);
-        }
-    }
-
-    public CloudService[] retrieveCloudServiceInfo() throws Exception {
-        try {
-            if (CarbonContext.getCurrentContext().getCache(null).containsKey(CLOUD_SERVICE)) {
-                return (CloudService[]) CarbonContext.getCurrentContext()
-                        .getCache(null).get(CLOUD_SERVICE);
-            }
-        } catch (Exception ignored) {
-            // TODO: this exception needs not be handled, but the situation which leads to this
-            // exception needs to be.
-        }
-        CloudService[] cloudServices = stub.retrieveCloudServiceInfo();
-        CarbonContext.getCurrentContext().getCache(null).put(CLOUD_SERVICE, cloudServices);
-        return cloudServices;
-    }
-
-
-    public void saveCloudServicesActivity(String[] activeServiceNames) throws Exception {
-        CloudService[] cloudServices =
-                (CloudService[]) CarbonContext.getCurrentContext().getCache(null).get(CLOUD_SERVICE);
-
-        for (CloudService cloudService : cloudServices) {
-            for (String activeService : activeServiceNames) {
-                if (cloudService.getName().equals(activeService)) {
-                    cloudService.setActive(true);
-                    break;
-                } else {
-                    cloudService.setActive(false);
-                }
-            }
-        }
-
-        stub.saveCloudServicesActivity(activeServiceNames);
-    }
-}


[46/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
deleted file mode 100644
index 6a9d212..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
+++ /dev/null
@@ -1,381 +0,0 @@
-//service urls
-var managerUrl;
-var asUrl;
-var dssUrl;
-var esbUrl;
-var gregUrl;
-var msUrl;
-var gsUrl;
-var mbUrl;
-var cepUrl;
-var isUrl;
-var bpsUrl;
-var brsUrl;
-var bamUrl;
-var csgUrl;
-var linkSuffix;
-
-// array definitions to store service feature urls
-var managerFeaturesURL=new Array;
-var asFeaturesUrl = new Array;
-var dssFeaturesUrl = new Array;
-var esbFeaturesUrl = new Array;
-var gregFeaturesUrl = new Array;
-var msFeaturesUrl = new Array;
-var gsFeaturesUrl = new Array;
-var mbFeaturesUrl = new Array;
-var cepFeaturesUrl = new Array;
-var isFeaturesUrl = new Array;
-var bpsFeaturesUrl = new Array;
-var brsFeaturesUrl = new Array;
-var bamFeaturesUrl = new Array;
-var csgFeaturesUrl = new Array;
-
-
-// urls of features
-
-// Manager
-managerFeaturesURL[0]="/carbon/tenant-billing/past_invoice.jsp"; // link to billing component
-managerFeaturesURL[1]="/carbon/tenant-billing/docs/userguide.html"; // billing component docs
-managerFeaturesURL[2]="/carbon/tenant-usage/tenant_usage.jsp" ; // link to metering component
-managerFeaturesURL[3]="/carbon/tenant-usage/docs/userguide.html"
-managerFeaturesURL[4]="/carbon/account-mgt/account_mgt.jsp"
-managerFeaturesURL[5]="/carbon/account-mgt/docs/userguide.html"
-managerFeaturesURL[6]="/carbon/userstore/index.jsp"
-managerFeaturesURL[7]="/carbon/userstore/docs/userguide.html"
-//app server
-asFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to web service hosting
-asFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //web service hosting docs
-asFeaturesUrl[2]="/carbon/webapp-mgt/upload.jsp";//web -app hosting
-asFeaturesUrl[3]="/carbon/webapp-mgt/docs/userguide.html";//web -app hosting docs
-asFeaturesUrl[4]="/carbon/tracer/index.jsp";//message tracing
-asFeaturesUrl[5]="/carbon/tracer/docs/userguide.html";//message tracing docs
-asFeaturesUrl[6]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
-asFeaturesUrl[7]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
-asFeaturesUrl[8]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
-asFeaturesUrl[9]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
-asFeaturesUrl[10]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
-asFeaturesUrl[11]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs
-asFeaturesUrl[12]="/carbon/modulemgt/index.jsp";//axis2 modules mgmnt
-asFeaturesUrl[13]="/carbon/modulemgt/docs/userguide.html";//axis2 modules mgmnt docs
-asFeaturesUrl[14]="/carbon/tryit/index.jsp";//Service testing
-asFeaturesUrl[15]="/carbon/tryit/docs/userguide.html";//service testing docs
-
-//bam server
-bamFeaturesUrl[0]="/carbon/bam-server-data/mediation_data.jsp";  // link to Real Time Mediation Monitoring
-bamFeaturesUrl[1]="/carbon/bam-server-data/docs/userguide.html";  // link to Real Time Mediation Monitoring docs
-bamFeaturesUrl[2]="/carbon/bam-server-data/mediation_analytics.jsp"; //link to Mediation Analysis
-bamFeaturesUrl[3]="/carbon/bam-server-data/docs/userguide.html"; //link to Mediation Analysis docs
-bamFeaturesUrl[4]="/carbon/bam-server-data/service_data.jsp";//link to Real time Service Monitoring
-bamFeaturesUrl[5]="/carbon/bam-server-data/docs/userguide.html";//link to Real time Service Monitoring docs
-bamFeaturesUrl[6]="";//link to Summary Generation
-bamFeaturesUrl[7]="";//link to Summary Generation
-bamFeaturesUrl[8]="/carbon/bam-server-data/service_stats.jsp";//link to Service Invocation Analysis
-bamFeaturesUrl[9]="/carbon/bam-server-data/docs/userguide.html";//link to Service Invocation Analysis docs
-bamFeaturesUrl[10]="/carbon/dashboard/index.jsp";//link to Dashboard
-bamFeaturesUrl[11]="/carbon/dashboard/docs/userguide.html";//link to Dashboard docs
-bamFeaturesUrl[12]="";//link to Activity Correlation and Monitoring
-bamFeaturesUrl[13]="";//link to Activity Correlation and Monitoring docs
-bamFeaturesUrl[14]="";//link to Message Collection and Archival
-bamFeaturesUrl[15]="";//link to Message Collection and Archival docs
-
-//bps server
-bpsFeaturesUrl[0]="";  // link to WS-BPEL 2.0 and BPELWS 1.1
-bpsFeaturesUrl[1]="/carbon/admin/docs/userguide.html";  // link to WS-BPEL 2.0 and BPELWS 1.1 docs
-bpsFeaturesUrl[2]="";  // link Secure Business Processes
-bpsFeaturesUrl[3]="/carbon/admin/docs/userguide.html";  // link Secure Business Processes docs
-bamFeaturesUrl[4]="";//link to Process Monitoring
-bamFeaturesUrl[5]="/carbon/admin/docs/userguide.html";//link to Process Monitoring docs
-bpsFeaturesUrl[6]=""; //link to Instance Data Cleanup
-bpsFeaturesUrl[7]="/carbon/admin/docs/userguide.html"; //link to Instance Data Cleanup docs
-bpsFeaturesUrl[8]=""; //link to BPEL Extensions
-bpsFeaturesUrl[9]="/carbon/admin/docs/userguide.html"; //link to BPEL Extensions docs
-bamFeaturesUrl[10]="";//link to Process Versioning
-bamFeaturesUrl[11]="/carbon/admin/docs/userguide.html";//link to Process Versioning docs
-
-//brs server
-brsFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to web service hosting support
-brsFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //web service hosting docs
-brsFeaturesUrl[2]="/carbon/ruleservices/rule_service_wizard_step1.jsp";//Rule service creation support
-brsFeaturesUrl[3]="/carbon/ruleservices/docs/userguide.html";//Rule service creation support docs
-brsFeaturesUrl[4]="/carbon/resources/resource.jsp";//Registry as a Rule Repository
-brsFeaturesUrl[5]="/carbon/resources/docs/userguide.html";//Registry as a Rule Repository docs
-brsFeaturesUrl[6]="/carbon/tryit/index.jsp";//Service testing
-brsFeaturesUrl[7]="/carbon/tryit/docs/userguide.html";//service testing docs
-/*brsFeaturesUrl[8]="/carbon/tracer/index.jsp";//message tracing
-brsFeaturesUrl[9]="/carbon/tracer/docs/userguide.html";//message tracing docs
-brsFeaturesUrl[10]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
-brsFeaturesUrl[11]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
-brsFeaturesUrl[12]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
-brsFeaturesUrl[13]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
-brsFeaturesUrl[14]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
-brsFeaturesUrl[15]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs */
-
-//cep server
-cepFeaturesUrl[0]="/carbon/CEP/cep_queries.jsp"; // link to CEP buckets list
-cepFeaturesUrl[1]="/carbon/CEP/docs/userguide.html"; // link to CEP buckets doc
-cepFeaturesUrl[2]= "/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/message" ; // path to registry stored message boxes
-cepFeaturesUrl[3]="/carbon/messagebox/docs/userguide.html"; // message box docs
-
-//dss server
-dssFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to Data Service Hosting
-dssFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //Data Service Hosting docs
-dssFeaturesUrl[2]="/carbon/ds/scriptAddSource.jsp";//Data as a Service
-dssFeaturesUrl[3]="/carbon/ds/docs/userguide.html";//Data as a Service docs
-dssFeaturesUrl[4]="/carbon/tryit/index.jsp";//Service testing
-dssFeaturesUrl[5]="/carbon/tryit/docs/userguide.html";//service testing docs
-dssFeaturesUrl[6]="/carbon/tracer/index.jsp";//message tracing
-dssFeaturesUrl[7]="/carbon/tracer/docs/userguide.html";//message tracing docs
-dssFeaturesUrl[8]="/carbon/adminconsole/databases.jsp";//DB Explorer
-dssFeaturesUrl[9]="/carbon/adminconsole/docs/userguide.html";//DB Explorer docs
-/*dssFeaturesUrl[6]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
-dssFeaturesUrl[7]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
-dssFeaturesUrl[8]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
-dssFeaturesUrl[9]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
-dssFeaturesUrl[10]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
-dssFeaturesUrl[11]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs */
-
-//esb server
-esbFeaturesUrl[0]="/carbon/proxyservices/templates.jsp";  // Proxy Service
-esbFeaturesUrl[1]="/carbon/proxyservices/docs/userguide.html"; //Proxy Service docs
-esbFeaturesUrl[2]="/carbon/sequences/list_sequences.jsp";//Sequence
-esbFeaturesUrl[3]="/carbon/sequences/docs/userguide.html";//Sequence docs
-esbFeaturesUrl[4]="/carbon/endpoints/index.jsp";//Endpoint
-esbFeaturesUrl[5]="/carbon/endpoints/docs/userguide.html";//Endpoint docs
-esbFeaturesUrl[6]="/carbon/task/index.jsp";//Scheduled Tasks
-esbFeaturesUrl[7]="/carbon/task/docs/userguide.html";//Scheduled Tasks docs
-esbFeaturesUrl[8]="/carbon/message_processor/index.jsp";//Store and Forward
-esbFeaturesUrl[9]="/carbon/message_processor/docs/userguide.html";//Store and Forward docs
-esbFeaturesUrl[10]="/carbon/executors/list_executors.jsp";//Priority Execution
-esbFeaturesUrl[11]="/carbon/executors/docs/userguide.html";//Priority Execution docs
-esbFeaturesUrl[12]="/carbon/tryit/index.jsp";//Service testing
-esbFeaturesUrl[13]="/carbon/tryit/docs/userguide.html";//service testing docs
-esbFeaturesUrl[14]="/carbon/tracer/index.jsp";//message tracing
-esbFeaturesUrl[15]="/carbon/tracer/docs/userguide.html";//message tracing docs
-
-//greg server
-gregFeaturesUrl[0]="//carbon/services/services.jsp";  // Service
-gregFeaturesUrl[1]="/carbon/services/docs/userguide.html"; //Service docs
-gregFeaturesUrl[2]="/carbon/wsdl/wsdl.jsp";//WSDL
-gregFeaturesUrl[3]="/carbon/wsdl/docs/userguide.html";//WSDL docs
-gregFeaturesUrl[4]="/carbon/schema/schema.jsp";//Schema
-gregFeaturesUrl[5]="/carbon/schema/docs/userguide.html";//Schema docs
-gregFeaturesUrl[6]="/carbon/policy/policy.jsp";//Policy
-gregFeaturesUrl[7]="/carbon/policy/docs/userguide.html";//Policy docs
-gregFeaturesUrl[8]="/carbon/search/advancedSearch.jsp";//Search
-gregFeaturesUrl[9]="/carbon/search/docs/userguide.html";//Search docs
-gregFeaturesUrl[10]="/carbon/activities/activity.jsp";//Activities
-gregFeaturesUrl[11]="/carbon/activities/docs/userguide.html";//Activities docs
-gregFeaturesUrl[12]="/carbon/notifications/notifications.jsp";//Notifications
-gregFeaturesUrl[13]="/carbon/notifications/docs/userguide.html";//Notifications docs
-gregFeaturesUrl[14]="/carbon/extensions/add_extensions.jsp";//Extensions
-gregFeaturesUrl[15]="/carbon/extensions/docs/userguide.html";//Extensions docs
-
-//gs server
-gsFeaturesUrl[0]="";  // Enterprise Information Portal
-gsFeaturesUrl[1]=""; //Enterprise Information Portal docs
-gsFeaturesUrl[2]="";//Easy User Options
-gsFeaturesUrl[3]="";//Easy User Options docs
-gsFeaturesUrl[4]="";//Author Gadgets
-gsFeaturesUrl[5]="";//Author Gadgets docs
-gsFeaturesUrl[6]="";//Client-side Gadgets
-gsFeaturesUrl[7]="";//Client-side Gadgets docs
-gsFeaturesUrl[8]="";//Enterprise Gadget Repository
-gsFeaturesUrl[9]="";//Enterprise Gadget Repository docs
-gsFeaturesUrl[10]="";//Anonymous Mode
-gsFeaturesUrl[11]="";//Anonymous Mode docs
-gsFeaturesUrl[12]="";//Secure Sign-in Options
-gsFeaturesUrl[13]="";//Secure Sign-in Options docs
-gsFeaturesUrl[14]="";//Extensions Management Console
-gsFeaturesUrl[15]="";//Extensions Management Console docs
-
-//is server
-isFeaturesUrl[0]="/carbon/userprofile/index.jsp";  //User Profile
-isFeaturesUrl[1]="/carbon/userprofile/docs/userguide.html"; //User Profile docs
-isFeaturesUrl[2]="/carbon/identity-provider/index.jsp";//OpenID
-isFeaturesUrl[3]="/carbon/identity-provider/docs/userguide.html";//OpenID docs
-isFeaturesUrl[4]="/carbon/identity-provider/index.jsp";//Information Card
-isFeaturesUrl[5]="/carbon/identity-provider/docs/userguide.html";//Information Card docs
-isFeaturesUrl[6]="/carbon/sso-saml/manage_service_providers.jsp";//SAML 2.0 Single Sign-On
-isFeaturesUrl[7]="/carbon/sso-saml/docs/userguide.html";//SAML 2.0 Single Sign-On docs
-isFeaturesUrl[8]="/carbon/multi-factor/xmpp-config.jsp";//Multifactor Authentication
-isFeaturesUrl[9]="/carbon/multi-factor/docs/userguide.html";//Multifactor Authentication docs
-isFeaturesUrl[10]="/carbon/userstore/index.jsp";//Users and Roles
-isFeaturesUrl[11]="/carbon/userstore/docs/userguide.html";//Users and Roles docs
-isFeaturesUrl[12]="/carbon/identity-trusted-relying-parties/add-trusted-rp.jsp";//Relying Partie
-isFeaturesUrl[13]="/carbon/identity-trusted-relying-parties/docs/userguide.html";//Relying Partie docs
-isFeaturesUrl[14]="/carbon/keystoremgt/keystore-mgt.jsp";//Key Stores
-isFeaturesUrl[15]="/carbon/keystoremgt/docs/userguide.html";//Key Stores docs
-
-//mb server
-mbFeaturesUrl[0]="";  //Publish/Subscribe to Topics
-mbFeaturesUrl[1]=""; //Publish/Subscribe to Topics docs
-mbFeaturesUrl[2]="";//AMQP
-mbFeaturesUrl[3]="";//AMQP docs
-mbFeaturesUrl[4]="";//Topic Authorization
-mbFeaturesUrl[5]="";//Topic Authorization docs
-mbFeaturesUrl[6]="";//Manage topics and queues permissions
-mbFeaturesUrl[7]="";//Manage topics and queues permissions docs
-mbFeaturesUrl[8]="";//SQS support
-mbFeaturesUrl[9]="";//SQS support docs
-mbFeaturesUrl[10]="";//User based authorization for queues
-mbFeaturesUrl[11]="";//User based authorization for queues docs
-mbFeaturesUrl[12]="";//Manage message boxes
-mbFeaturesUrl[13]="";//Manage message boxes docs
-mbFeaturesUrl[14]="";//Message box as event sink
-mbFeaturesUrl[15]="";//Message box as event sink docs
-
-//ms server
-msFeaturesUrl[0]="/carbon/js_scraper/index.jsp";  //Scrape the Web
-msFeaturesUrl[1]="/carbon/js_scraper/docs/userguide.html"; //Scrape the Web docs
-msFeaturesUrl[2]="/carbon/js_service/newMashup.jsp";//Compose and Expose
-msFeaturesUrl[3]="/carbon/js_service/docs/userguide.html";//Compose and Expose docs
-msFeaturesUrl[4]="/carbon/task/index.jsp";//Schedule Tasks
-msFeaturesUrl[5]="/carbon/task/docs/userguide.html";//Schedule Tasks docs
-msFeaturesUrl[6]="";//Javascript Stubs
-msFeaturesUrl[7]="";//Javascript Stubs docs
-msFeaturesUrl[8]="/carbon/modulemgt/index.jsp";//Modules
-msFeaturesUrl[9]="/carbon/modulemgt/docs/userguide.html";//Modules docs
-msFeaturesUrl[10]="/carbon/tracer/index.jsp";//Message Tracing
-msFeaturesUrl[11]="/carbon/tracer/docs/userguide.html";//Message Tracing docs
-/*msFeaturesUrl[12]="";//Caching & Throttling
-msFeaturesUrl[13]="";//Caching & Throttling docs
-msFeaturesUrl[14]="";//service testing
-msFeaturesUrl[15]="";//service testing docs */
-
-
-//csg server
-csgFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  
-csgFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; 
-
-// functions to generate urls of features upon onclick
-
- function generateManagerFeatureUrl(which){
-	var featureUrl=managerFeaturesURL[which];
-	return window.open(featureUrl,'_self',false);
- }
-
-
-function generateAsFeatureUrl(which){
-	var featureUrl=window.asUrl + asFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-function generateBamFeatureUrl(which){
-	var featureUrl=window.bamUrl + bamFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-function generateBpsFeatureUrl(which){
-	var featureUrl=window.bpsUrl + bpsFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-function generateBrsFeatureUrl(which){
-	var featureUrl=window.brsUrl + brsFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateCepFeatureUrl(which){
-	var featureUrl=window.cepUrl + cepFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateDssFeatureUrl(which){
-	var featureUrl=window.dssUrl + dssFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateEsbFeatureUrl(which){
-	var featureUrl=window.esbUrl + esbFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateGregFeatureUrl(which){
-	var featureUrl=window.gregUrl + gregFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateGsFeatureUrl(which){
-	var featureUrl=window.gsUrl + gsFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateIsFeatureUrl(which){
-	var featureUrl=window.isUrl + isFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-function generateMbFeatureUrl(which){
-	var featureUrl=window.mbUrl + mbFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateMsFeatureUrl(which){
-	var featureUrl=window.msUrl + msFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateCsgFeatureUrl(which){
-	var featureUrl=window.csgUrl + csgFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-
-// functions to set the urls of services
-
-
-function gotoAppServer(){
-  window.open(asUrl,'_newtab')  ;
-}
-
-function gotoDss(){
-  window.open(dssUrl,'_newtab')  ;
-}
-
-function gotoEsb(){
-  window.open(esbUrl,'_newtab')  ;
-}
-
-
-function gotoMs(){
-  window.open(msUrl,'_newtab')  ;
-}
-
-function gotoIs(){
-  window.open(isUrl,'_newtab')  ;
-}
-
-function gotoGreg(){
-  window.open(gregUrl,'_newtab')  ;
-}
-
-function gotoGs(){
-  window.open(gsUrl,'_newtab')  ;
-}
-
-function gotoBam(){
-  window.open(bamUrl,'_newtab')  ;
-}
-
-
-function gotoBps(){
-  window.open(bpsUrl,'_newtab')  ;
-}
-
-
-function gotoBrs(){
-  window.open(brsUrl,'_newtab')  ;
-}
-
-function gotoCep(){
-  window.open(cepUrl,'_newtab')  ;
-}
-
-function gotoMb(){
-  window.open(mbUrl,'_newtab')  ;
-}
-
-function gotoCsg(){
-  window.open(csgUrl,'_newtab')  ;
-}
-
-
-
-
-
-
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
deleted file mode 100644
index e294f8c..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
+++ /dev/null
@@ -1,12 +0,0 @@
-function execOnPageLoad() {
-    // currently not used
-}
-
-function onChangeServiceSubscription() {
-    sessionAwareFunction(function() {
-        
-        var cloudServiceForm = document.getElementById("cloudService");
-        cloudServiceForm.submit();
-        
-    }, org_wso2_stratos_manager_dashboard_ui_jsi18n["session.timed.out"]);
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/INSTALL.txt b/products/stratos2/stratos_controller/1.0.0/modules/distribution/INSTALL.txt
deleted file mode 100755
index 5c3a9bc..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/INSTALL.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-Installing  WSO2 Stratos Manager 2.0.1
-===============================================
-
-Standalone Mode
-===============
-1. The directory containing this INSTALL file will be the root and it will be
-   treated as Carbon home directory and let it be CARBON_HOME.
-
-2. All the shell scripts and .bat files are available in CARBON_HOME/bin directory.
-
-3. To start Stratos-Manager one can use either wso2server.sh or daemon.sh in all *nix
-   system & wso2server.bat file on Windows operating systems.
-
-4. Either of the following commands can be used to start Stratos-Manager
-      i)  ./wso2server.sh {console|start|stop|restart|status|dump|version}
-    ii)  wso2server.bat {start|stop|version}
-
-            Usage: wso2server.sh [command] [system-properties]
-
-            command:
-                --debug <port> 	Start the server in remote debugging mode.
-                        port: The remote debugging port.
-                --start		Start Carbon as a Unix daemon in the background
-                --stop		Stop the Carbon Unix daemon
-                --restart	Restart the Carbon Unix daemon
-                --cleanRegistry	Clean registry space. [CAUTION] All Registry data will be lost.
-                --version	What version of the product are you running?
-
-            system-properties:
-                -DhttpPort=<httpPort>		Overrides the HTTP port defined in the catalina-server.xml file
-                -DhttpsPort=<httpsPort>		Overrides the HTTPS port defined in the catalina-server.xml file
-                -DosgiConsole=[port]		Start Carbon with Equinox OSGi console.
-                                            If the optional 'port' parameter is provided, a telnet port will be opened
-                -DosgiDebugOptions=[options-file]
-                                            Start Carbon with OSGi debugging enabled.
-                                            If the optional 'options-file is provided, the OSGi debug options will be loaded from it.
-                -Dsetup				        Clean the Registry & other configuration, recreate DB, re-populate the configuration, and start Carbon
-                -DserverRoles=<roles>		A comma separated list of roles. Used in deploying cApps
-                -Dcarbon.use.registry.repo	Use registry based repository.
-                -DdisableHttpLog		    Disable HTTP access logging
-                -DapplyPatches			    Use this system property when there are patches to be applied/reverted to/from the system.
-                                            Drop the patches to $CARBON_HOME/repository/componenets/patches directory and restart the system with this property.
-                                            When you want to revert a patch, delete it from the patches directory and restart the system with this property
-                -DworkerNode=true			This is required in clustered setups with master and worker nodes, not applicable for Stratos Manager.
-
-
-
-System Requirements
-===================
-1. Minimum memory - 1 GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. JDK - 1.6.x (1.6.0_24 onwards recommended for production)
-4. The Management Console requires you to enable Javascript of the Web browser,
-   with MS IE 6 and 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.
-   NOTE:
-     On Windows Server 2003, it is not allowed to go below the medium security
-     level in Internet Explorer 6.x and the default medium security setting with
-     IE does not allow sufficient level of JS or ActiveX enablement for the
-     management console to run.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/LICENSE.txt b/products/stratos2/stratos_controller/1.0.0/modules/distribution/LICENSE.txt
deleted file mode 100755
index 9fdb424..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/LICENSE.txt
+++ /dev/null
@@ -1,455 +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   
-addressing-1.6.1-wso2v7.mar                                                     bundle         apache2   
-ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
-annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
-antlr-runtime_3.2.0.wso2v1.jar                                                  bundle         bsd       
-antlr_2.7.7.wso2v1.jar                                                          bundle         bsd       
-antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
-ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
-apache-cassandra_1.1.3.wso2v2.jar                                               bundle         apache2   
-apache-zookeeper_3.3.6.wso2v1.jar                                               bundle         apache2   
-atomikos_3.8.0.wso2v1.jar                                                       bundle         apache2   
-authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
-axiom_1.2.11.wso2v3.jar                                                         bundle         apache2   
-axis2-json_1.6.1.wso2v7.jar                                                     bundle         apache2   
-axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
-axis2_1.6.1.wso2v7.jar                                                          bundle         apache2   
-axis_1.4.0.wso2v1.jar                                                           bundle         apache2   
-backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
-batik-anim-1.7.jar                                                              jarinbundle    apache2   
-batik-awt-util-1.7.jar                                                          jarinbundle    apache2   
-batik-bridge-1.7.jar                                                            jarinbundle    apache2   
-batik-codec-1.7.jar                                                             jarinbundle    apache2   
-batik-css-1.7.jar                                                               jarinbundle    apache2   
-batik-dom-1.7.jar                                                               jarinbundle    apache2   
-batik-ext-1.7.jar                                                               jarinbundle    apache2   
-batik-extension-1.7.jar                                                         jarinbundle    apache2   
-batik-gui-util-1.7.jar                                                          jarinbundle    apache2   
-batik-gvt-1.7.jar                                                               jarinbundle    apache2   
-batik-js-1.7.jar                                                                jarinbundle    apache2   
-batik-parser-1.7.jar                                                            jarinbundle    apache2   
-batik-script-1.7.jar                                                            jarinbundle    apache2   
-batik-slideshow-1.7.jar                                                         jarinbundle    apache2   
-batik-svg-dom-1.7.jar                                                           jarinbundle    apache2   
-batik-svggen-1.7.jar                                                            jarinbundle    apache2   
-batik-swing-1.7.jar                                                             jarinbundle    apache2   
-batik-transcoder-1.7.jar                                                        jarinbundle    apache2   
-batik-util-1.7.jar                                                              jarinbundle    apache2   
-batik-xml-1.7.jar                                                               jarinbundle    apache2   
-batik_1.7.0.wso2v1.jar                                                          bundle         apache2   
-bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
-com.google.gson_2.1.0.jar                                                       bundle         apache2   
-commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
-commons-beanutils-1.8.0.jar                                                     jarinbundle    apache2   
-commons-beanutils_1.8.0.wso2v1.jar                                              bundle         apache2   
-commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
-commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-configuration_1.6.0.wso2v1.jar                                          bundle         apache2   
-commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
-commons-digester-1.8.1.jar                                                      jarinbundle    apache2   
-commons-digester-1.8.jar                                                        jarinbundle    apache2   
-commons-digester_1.8.1.wso2v1.jar                                               bundle         apache2   
-commons-discovery-0.2.jar                                                       jarinbundle    apache2   
-commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
-commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
-commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
-commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
-compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
-drools_5.2.1.wso2v1.jar                                                         bundle         apache2   
-ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
-fop-0.94.jar                                                                    jarinbundle    apache2   
-geronimo-jaxws_2.2_spec-1.0.jar                                                 bundle         apache2   
-geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
-geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
-geronimo-stax-api_1.0_spec-1.0.1.wso2v2.jar                                     bundle         apache2   
-guava_12.0.0.wso2v1.jar                                                         bundle         apache2   
-guice_3.0.0.wso2v1.jar                                                          bundle         apache2   
-h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
-h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
-hadoop-core_0.20.203.wso2v2.jar                                                 bundle         apache2   
-hector-core_1.1.0.wso2v1.jar                                                    bundle         mit       
-high-scale-lib_1.1.2.wso2v1.jar                                                 bundle         public    
-httpclient-4.1.1-wso2v1.jar                                                     bundle         apache2   
-httpclient_4.1.1.wso2v1.jar                                                     bundle         apache2   
-httpcore_4.1.0.wso2v1.jar                                                       bundle         apache2   
-infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
-itext-2.1.7.jar                                                                 jarinbundle    unknown   
-itext_2.1.7.wso2v1.jar                                                          bundle         mpl11     
-janino_2.5.15.wso2v1.jar                                                        bundle         bsd       
-jasper-jdt_6.0.18.wso2v1.jar                                                    bundle         apache2   
-jasperreports_4.5.0.wso2v1.jar                                                  bundle         lgpl3     
-javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
-javax.servlet_3.0.0.wso2v1.jar                                                  bundle         apache2   
-jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
-jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
-jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
-jcommon-1.0.15.jar                                                              jarinbundle    unknown   
-jcommon_1.0.15.wso2v1.jar                                                       bundle         lgpl2     
-jdbc-pool_7.0.28.wso2v1.jar                                                     bundle         apache2   
-jdom_1.0.0.wso2v1.jar                                                           bundle         jdom      
-jericho-html-2.4.jar                                                            jarinbundle    epl1      
-jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
-jfreechart-1.0.13.jar                                                           jarinbundle    unknown   
-jfreechart_1.0.13.wso2v1.jar                                                    bundle         lgpl2     
-jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
-joda-time_1.6.0.wso2v1.jar                                                      bundle         apache2   
-json_2.0.0.wso2v1.jar                                                           bundle         json      
-jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
-jsr94_1.1.0.wso2v1.jar                                                          bundle         beajsr94  
-jxl_2.6.8.wso2v1.jar                                                            bundle         lgpl2     
-kaptcha_2.3.0.wso2v1.jar                                                        bundle         apache2   
-libthrift_0.7.0.wso2v2.jar                                                      bundle         apache2   
-marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
-mvel2_2.1.0.wso2v1.jar                                                          bundle         apache2   
-neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
-nekohtml-1.9.7.jar                                                              jarinbundle    apache2   
-opencsv-1.8.jar                                                                 jarinbundle    apache2   
-opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
-openid4java-nodeps_0.9.6.wso2v2.jar                                             bundle         apache2   
-opensaml-1.1.406.jar                                                            jarinbundle    apache2   
-opensaml-2.4.1.jar                                                              jarinbundle    apache2   
-opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
-openws-1.4.1.jar                                                                jarinbundle    apache2   
-openxri-client-1.2.0.jar                                                        jarinbundle    apache2   
-openxri-syntax-1.2.0.jar                                                        jarinbundle    apache2   
-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar                         bundle         epl1      
-org.eclipse.core.expressions_3.4.300.v20110228.jar                              bundle         epl1      
-org.eclipse.core.jobs_3.5.100.v20110404.jar                                     bundle         epl1      
-org.eclipse.core.runtime_3.7.0.v20110110.jar                                    bundle         epl1      
-org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
-org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
-org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
-org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
-org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
-org.eclipse.equinox.app_1.3.100.v20110321.jar                                   bundle         epl1      
-org.eclipse.equinox.common_3.6.0.v20110523.jar                                  bundle         epl1      
-org.eclipse.equinox.concurrent_1.0.200.v20110502.jar                            bundle         epl1      
-org.eclipse.equinox.ds_1.3.0.v20110502.jar                                      bundle         epl1      
-org.eclipse.equinox.frameworkadmin.equinox_1.0.300.v20110506.jar                bundle         epl1      
-org.eclipse.equinox.frameworkadmin_2.0.0.v20110502-1955.jar                     bundle         epl1      
-org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800-wso2v1.jar              bundle         epl1      
-org.eclipse.equinox.launcher_1.2.0.v20110502.jar                                bundle         epl1      
-org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
-org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
-org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
-org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
-org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
-org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
-org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
-org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
-org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
-org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
-org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
-org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
-org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
-org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
-org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
-org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
-org.eclipse.equinox.preferences_3.4.0.v20110502.jar                             bundle         epl1      
-org.eclipse.equinox.registry_3.5.100.v20110502.jar                              bundle         epl1      
-org.eclipse.equinox.security_1.1.0.v20110502.jar                                bundle         epl1      
-org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110502-1955.jar     bundle         epl1      
-org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar               bundle         epl1      
-org.eclipse.equinox.util_1.0.300.v20110502.jar                                  bundle         epl1      
-org.eclipse.osgi.services_3.3.0.v20110513.jar                                   bundle         epl1      
-org.eclipse.osgi_3.7.0.v20110613.jar                                            bundle         epl1      
-org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
-org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
-org.wso2.carbon.account.mgt.stub_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.account.mgt.ui_2.0.5.jar                                        bundle         apache2   
-org.wso2.carbon.account.mgt_2.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.activation_2.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.addressing_4.0.0.jar                                            bundle         apache2   
-org.wso2.carbon.admin.mgt.stub_4.0.0.jar                                        bundle         apache2   
-org.wso2.carbon.admin.mgt.ui_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.admin.mgt_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.application.deployer_4.0.5.jar                                  bundle         apache2   
-org.wso2.carbon.application.upload_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.authenticator.proxy_4.0.2.jar                                   bundle         apache2   
-org.wso2.carbon.authenticator.stub_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.base_4.0.0.jar                                                  bundle         apache2   
-org.wso2.carbon.billing.core_2.0.3.jar                                          bundle         apache2   
-org.wso2.carbon.billing.mgt.stub_4.0.3.jar                                      bundle         apache2   
-org.wso2.carbon.billing.mgt.ui_2.0.5.jar                                        bundle         apache2   
-org.wso2.carbon.billing.mgt_2.0.3.jar                                           bundle         apache2   
-org.wso2.carbon.bootstrap-4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.bridge-4.0.0.jar                                                bundle         apache2   
-org.wso2.carbon.business.messaging.paypal.integration.core_4.0.2.jar            bundle         apache2   
-org.wso2.carbon.caching.core_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.captcha.mgt_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.cluster.mgt.core_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.coordination.common_4.0.1.jar                                   bundle         apache2   
-org.wso2.carbon.coordination.core_4.0.5.jar                                     bundle         apache2   
-org.wso2.carbon.core.bootup.validator_4.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.core.commons.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.core.common_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.core.services_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.core_4.0.5.jar                                                  bundle         apache2   
-org.wso2.carbon.databridge.agent.thrift_4.0.2.jar                               bundle         apache2   
-org.wso2.carbon.databridge.commons.thrift_4.0.0.jar                             bundle         apache2   
-org.wso2.carbon.databridge.commons_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.email.sender_2.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.email.verification.stub_4.0.0.jar                               bundle         apache2   
-org.wso2.carbon.email.verification.ui_4.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.email.verification_4.0.2.jar                                    bundle         apache2   
-org.wso2.carbon.event.admin_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.event.client.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.event.client_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.common_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.core_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.event.ws_4.0.2.jar                                              bundle         apache2   
-org.wso2.carbon.feature.mgt.core_4.0.5.jar                                      bundle         apache2   
-org.wso2.carbon.feature.mgt.services_4.0.4.jar                                  bundle         apache2   
-org.wso2.carbon.feature.mgt.stub_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.feature.mgt.ui_4.0.5.jar                                        bundle         apache2   
-org.wso2.carbon.framework.exporter_4.0.5.jar                                    bundle         apache2   
-org.wso2.carbon.google.analytics.ui_2.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.http.bridge-4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.i18n_4.0.5.jar                                                  bundle         apache2   
-org.wso2.carbon.identity.authenticator.saml2.sso.common_4.0.5.jar               bundle         apache2   
-org.wso2.carbon.identity.authenticator.saml2.sso.stub_4.0.1.jar                 bundle         apache2   
-org.wso2.carbon.identity.authenticator.saml2.sso.ui_4.0.5.jar                   bundle         apache2   
-org.wso2.carbon.identity.authenticator.saml2.sso_4.0.3.jar                      bundle         apache2   
-org.wso2.carbon.identity.base_4.0.2.jar                                         bundle         apache2   
-org.wso2.carbon.identity.core_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.identity.menu.ui_4.0.1.jar                                      bundle         apache2   
-org.wso2.carbon.identity.provider.openid.stub_4.0.0.jar                         bundle         apache2   
-org.wso2.carbon.identity.provider.openid.ui_4.0.3.jar                           bundle         apache2   
-org.wso2.carbon.identity.provider.openid_4.0.1.jar                              bundle         apache2   
-org.wso2.carbon.identity.provider_4.0.3.jar                                     bundle         apache2   
-org.wso2.carbon.identity.relyingparty.ui_4.0.5.jar                              bundle         apache2   
-org.wso2.carbon.identity.relyingparty_4.0.2.jar                                 bundle         apache2   
-org.wso2.carbon.identity.sso.saml.stub_4.0.1.jar                                bundle         apache2   
-org.wso2.carbon.identity.sso.saml.ui_4.0.5.jar                                  bundle         apache2   
-org.wso2.carbon.identity.sso.saml_4.0.5.jar                                     bundle         apache2   
-org.wso2.carbon.keystore.mgt_2.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.load.balance.agent_2.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.logging-4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.logging.admin.stub_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.logging.admin.ui_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.logging.service_4.0.5.jar                                       bundle         apache2   
-org.wso2.carbon.logging.view.stub_4.0.3.jar                                     bundle         apache2   
-org.wso2.carbon.logging.view.ui_4.0.5.jar                                       bundle         apache2   
-org.wso2.carbon.logging_4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.ndatasource.common_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.ndatasource.core_4.0.5.jar                                      bundle         apache2   
-org.wso2.carbon.ndatasource.rdbms_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.ntask.common_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.ntask.core_4.0.5.jar                                            bundle         apache2   
-org.wso2.carbon.ntask.solutions_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.osgi.security_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.payment.paypal_2.0.2.jar                                        bundle         apache2   
-org.wso2.carbon.payment.stub_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.payment.ui_2.0.3.jar                                            bundle         apache2   
-org.wso2.carbon.qpid.stub_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.queuing_4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.redirector.servlet.stub_4.0.0.jar                               bundle         apache2   
-org.wso2.carbon.redirector.servlet.ui_2.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.redirector.servlet_2.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.register.ui_2.0.5.jar                                           bundle         apache2   
-org.wso2.carbon.registry.admin.api_4.0.1.jar                                    bundle         apache2   
-org.wso2.carbon.registry.api_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.registry.common.ui_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.registry.common_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.registry.core_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.registry.properties.stub_4.0.0.jar                              bundle         apache2   
-org.wso2.carbon.registry.properties.ui_4.0.0.jar                                bundle         apache2   
-org.wso2.carbon.registry.properties_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.registry.resource.stub_4.0.0.jar                                bundle         apache2   
-org.wso2.carbon.registry.resource.ui_4.0.1.jar                                  bundle         apache2   
-org.wso2.carbon.registry.resource_4.0.1.jar                                     bundle         apache2   
-org.wso2.carbon.registry.search.stub_4.0.0.jar                                  bundle         apache2   
-org.wso2.carbon.registry.search.ui_4.0.1.jar                                    bundle         apache2   
-org.wso2.carbon.registry.search_4.0.1.jar                                       bundle         apache2   
-org.wso2.carbon.registry.server_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.registry.servlet_4.0.1.jar                                      bundle         apache2   
-org.wso2.carbon.remote-tasks.stub_4.0.2.jar                                     bundle         apache2   
-org.wso2.carbon.reporting.api_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.reporting.core_4.0.2.jar                                        bundle         apache2   
-org.wso2.carbon.reporting.util_4.0.0.jar                                        bundle         apache2   
-org.wso2.carbon.roles.mgt_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.rule.backend_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.rule.common_4.0.2.jar                                           bundle         apache2   
-org.wso2.carbon.rule.kernel_4.0.2.jar                                           bundle         apache2   
-org.wso2.carbon.rule.ws.admin_4.0.2.jar                                         bundle         apache2   
-org.wso2.carbon.rule.ws_4.0.2.jar                                               bundle         apache2   
-org.wso2.carbon.sample.installer.stub_4.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.sample.installer.ui_2.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.sample.installer_2.0.5.jar                                      bundle         apache2   
-org.wso2.carbon.securevault_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.security.mgt.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.security.mgt.ui_4.0.1.jar                                       bundle         apache2   
-org.wso2.carbon.security.mgt_4.0.5.jar                                          bundle         apache2   
-org.wso2.carbon.server-4.0.2.jar                                                bundle         apache2   
-org.wso2.carbon.server.admin.common_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.server.admin.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.server.admin.ui_4.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.server.admin_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.service.mgt_4.0.5.jar                                           bundle         apache2   
-org.wso2.carbon.servletbridge-4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.sso.redirector.ui_2.0.1.jar                                     bundle         apache2   
-org.wso2.carbon.stratos.common.stub_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.stratos.common_2.0.5.jar                                        bundle         apache2   
-org.wso2.carbon.stratos.landing.page.deployer_2.0.5.jar                         bundle         apache2   
-org.wso2.carbon.stratos.manager.dashboard.stub_4.0.0.jar                        bundle         apache2   
-org.wso2.carbon.task.services_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.task_4.0.0.jar                                                  bundle         apache2   
-org.wso2.carbon.tenant.activity.stub_4.0.0.jar                                  bundle         apache2   
-org.wso2.carbon.tenant.activity.ui_2.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.tenant.activity_2.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.tenant.dispatcher_2.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.tenant.mgt.core_2.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.tenant.mgt.email.sender_2.0.0.jar                               bundle         apache2   
-org.wso2.carbon.tenant.mgt.stub_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.tenant.mgt.ui_2.0.2.jar                                         bundle         apache2   
-org.wso2.carbon.tenant.mgt_2.0.3.jar                                            bundle         apache2   
-org.wso2.carbon.tenant.register.stub_4.0.0.jar                                  bundle         apache2   
-org.wso2.carbon.theme.mgt.stub_4.0.0.jar                                        bundle         apache2   
-org.wso2.carbon.theme.mgt.ui_2.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.theme.mgt_2.0.5.jar                                             bundle         apache2   
-org.wso2.carbon.throttling.agent.stub_4.0.5.jar                                 bundle         apache2   
-org.wso2.carbon.throttling.agent_2.0.5.jar                                      bundle         apache2   
-org.wso2.carbon.throttling.manager_2.0.5.jar                                    bundle         apache2   
-org.wso2.carbon.throttling.stub_4.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.throttling.ui_2.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.tomcat.ext_4.0.5.jar                                            bundle         apache2   
-org.wso2.carbon.tomcat.fragment.dummy_4.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.tomcat.patch_4.0.1.jar                                          bundle         apache2   
-org.wso2.carbon.tomcat_4.0.5.jar                                                bundle         apache2   
-org.wso2.carbon.transaction.manager_4.0.2.jar                                   bundle         apache2   
-org.wso2.carbon.transport.https_4.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.transport.http_4.0.0.jar                                        bundle         apache2   
-org.wso2.carbon.transport.mgt_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.ui.menu.general_4.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.ui.menu.registry_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.ui.menu.tools_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.ui_4.0.5.jar                                                    bundle         apache2   
-org.wso2.carbon.usage.agent_2.0.5.jar                                           bundle         apache2   
-org.wso2.carbon.usage.stub_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.usage.ui_2.0.5.jar                                              bundle         apache2   
-org.wso2.carbon.usage_2.0.5.jar                                                 bundle         apache2   
-org.wso2.carbon.user.api_4.0.3.jar                                              bundle         apache2   
-org.wso2.carbon.user.core_4.0.5.jar                                             bundle         apache2   
-org.wso2.carbon.user.mgt.common_4.0.5.jar                                       bundle         apache2   
-org.wso2.carbon.user.mgt.stub_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.user.mgt.ui_4.0.5.jar                                           bundle         apache2   
-org.wso2.carbon.user.mgt_4.0.5.jar                                              bundle         apache2   
-org.wso2.carbon.utils_4.0.5.jar                                                 bundle         apache2   
-org.wso2.carbon.validate.domain.stub_4.0.0.jar                                  bundle         apache2   
-org.wso2.carbon.validate.domain.ui_2.0.3.jar                                    bundle         apache2   
-org.wso2.carbon.validate.domain_2.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.webapp.deployer_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.webapp.mgt_4.0.2.jar                                            bundle         apache2   
-org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
-org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
-org.wso2.stratos.identity.saml2.sso.mgt.ui_2.0.5.jar                            bundle         apache2   
-org.wso2.stratos.identity.saml2.sso.mgt_2.0.0.jar                               bundle         apache2   
-org.wso2.stratos.manager.dashboard.ui_2.0.2.jar                                 bundle         apache2   
-org.wso2.stratos.manager.login.ui_2.0.2.jar                                     bundle         apache2   
-org.wso2.stratos.manager.services.mgt_2.0.2.jar                                 bundle         apache2   
-org.wso2.stratos.manager.styles_2.0.2.jar                                       bundle         apache2   
-paypal-1.1.0.wso2v1.jar                                                         bundle         apache2   
-paypal_1.1.0.wso2v1.jar                                                         bundle         apache2   
-pdepublishing-ant.jar                                                           jar            epl1      
-pdepublishing.jar                                                               jar            epl1      
-perf4j_0.9.12.wso2v1.jar                                                        bundle         apache2   
-poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
-poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
-poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
-quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
-rampart-1.6.1-wso2v6.mar                                                        bundle         apache2   
-rampart-core_1.6.1.wso2v8.jar                                                   bundle         apache2   
-rampart-policy_1.6.1.wso2v8.jar                                                 bundle         apache2   
-rampart-trust_1.6.1.wso2v8.jar                                                  bundle         apache2   
-saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
-smack_3.0.4.wso2v1.jar                                                          bundle         apache2   
-spring.framework_3.1.0.wso2v1.jar                                               bundle         apache2   
-step2-common-1.0.0-wso2v1.jar                                                   bundle         apache2   
-step2-consumer-1.0.0-wso2v1.jar                                                 bundle         apache2   
-step2_1.0.0.wso2v1.jar                                                          bundle         apache2   
-synapse-commons_2.1.0.wso2v8.jar                                                bundle         apache2   
-synapse-core_2.1.0.wso2v8.jar                                                   bundle         apache2   
-synapse-extensions_2.1.0.wso2v8.jar                                             bundle         apache2   
-synapse-samples_2.1.0.wso2v8.jar                                                bundle         apache2   
-synapse-tasks_2.1.0.wso2v8.jar                                                  bundle         apache2   
-taglibs.standard_1.1.2.wso2v1.jar                                               bundle         apache2   
-tcpmon-1.0.jar                                                                  jar            apache2   
-tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
-tomcat-ha_7.0.28.wso2v1.jar                                                     bundle         apache2   
-tomcat_7.0.28.wso2v1.jar                                                        bundle         apache2   
-tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
-woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
-wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
-wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
-xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
-xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
-xkms_2.4.0.wso2v1.jar                                                           bundle         apache2   
-xml-apis-1.3.04.jar                                                             jarinbundle    unknown   
-xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
-xml-apis-ext-1.3.04.jar                                                         jarinbundle    unknown   
-xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
-xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
-xmlgraphics-commons-1.3.1.jar                                                   jarinbundle    apache2   
-XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
-xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
-
-
-
-The license types used by the above libraries and their information is given below:
-
-lgpl3          GNU LESSER GENERAL PUBLIC LICENSE  Version 3
-               http://www.gnu.org/licenses/lgpl-3.0.txt
-epl1           Eclipse Public License
-               http://www.eclipse.org/legal/epl-v10.html
-lgpl2          Lesser GPL v2.1
-               http://www.opensource.org/licenses/lgpl-2.1.php
-mpl11          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/MPL-1.1.html
-mpl10          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/
-mit            MIT License
-               http://www.opensource.org/licenses/mit-license.php
-unknown        
-               unknown
-cddl1          Common Development and Distribution License
-               http://www.opensource.org/licenses/cddl1.php
-cpl1           Common Public License 1.0
-               http://www.eclipse.org/legal/cpl-v10.html
-json           JSON.org License
-               null
-jsmon          ThoughtWorks Javasysmon License
-               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
-jdom           JDOM License - Apache Styled
-               null
-apache2        Apache License Version 2.0
-               http://www.apache.org/licenses/LICENSE-2.0.html
-bsd            Berkeley License
-               http://www.opensource.org/licenses/bsd-license.php
-bouncy         Bouncy Castle License
-               http://www.bouncycastle.org/licence.html
-beajsr94       BEA License for JSR94 API
-               http://download.oracle.com/otndocs/jcp/jreng-1_0a-fr-spec-api-oth-JSpec/jreng-1_0a-fr-spec-api-oth-JSpec-license.html
-public         Public Domain
-               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/README.txt
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/README.txt b/products/stratos2/stratos_controller/1.0.0/modules/distribution/README.txt
deleted file mode 100755
index 9bbaa8d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/README.txt
+++ /dev/null
@@ -1,144 +0,0 @@
-WSO2 Stratos 
-------------
-
-Welcome to the WSO2 Stratos
-
-WSO2 Stratos is a complete cloud middleware platform for implementing an enterprise service-oriented 
-architecture (SOA). WSO2 Stratos is open source and is available under Apache license. It is built on 
-top of and extends WSO2 Carbon, the award-winning, comprehensive, concise, lean enterprise middleware
-platform.
-
-With WSO2 Stratos, IT professionals have a fully hosted platform-as-a-service (PaaS) for rapidly 
-building and deploying services and composite applications, with instant provisioning capability. 
-WSO2 Stratos delivers on the promise of cloud computing with a complete, enterprise middleware 
-platform for delivering applications that can run on, and integrate with, any combination of private 
-clouds, public clouds and on-premise systems. WSO2 Stratos is equipped with features for auto-scaling 
-and single sign-on, as well as enhanced functionality for automatic activity monitoring, usage metering, 
-and centralized governance and identity management.
-
-WSO2 Stratos offers all the benefits of the cloud without the complexity or fear of vendor lock-in.
-    * WSO2 Stratos is integrated across multiple middleware platform services and provides unified 
-         interfaces across services; hence facilitate shorter project times.
-    * Metering reduce costs by allowing monitoring that lead to optimizing data center utilization 
-         and allowing companies to pay only for what they use.
-    * Auto-scaling provides the ability to scale up or down based on the demand for services and usage 
-         capacity, eliminating both resource starvation as well as resource slack.
-    * Multi-tenancy means applications supporting different organizations, business units or regional 
-         offices can be delivered cost-effectively from a single location sharing the same platform and 
-         resources, yet run fully independently.
-    * Built-in automated governance and centralized identity management facilitates control over 
-         applications and services across different tenants.
-    * WSO2 Stratos is based on the comprehensive WSO2 Carbon middleware platform, hence, applications 
-         can be migrated smoothly and safely on premise, to a private cloud, to the public cloud, or to a 
-         hybrid environment.providing unprecedented deployment flexibility.
-
-WSO2 Stratos comes with all of the production-quality runtime engines in WSO2 Carbon available as cloud services:
-    * WSO2 Enterprise Service Bus as a Service
-    * WSO2 Application Server as a Service
-    * WSO2 Data as a Service
-    * WSO2 Governance as a Service
-    * WSO2 Identity as a Service
-    * WSO2 Business Activity Monitoring as a Service
-    * WSO2 Business Processes as a Service
-    * WSO2 Business Rules as a Service
-    * WSO2 Gadgets as a Service
-    * WSO2 Complex Event Processing as a Service
-    * WSO2 Message Broker as a Service 
-
-WSO2 Stratos Features
----------------------
-
-At the heart of the WSO2 Stratos Platform as a Service is a cloud manager. This PaaS home service provides 
-management and monitoring capabilities and offers a Web portal where users can register their domains (tenants), 
-log in, manage their accounts, manage users and roles, and activate/deactivate the middleware services that 
-are available for their users.
-
-The PaaS home offers point-and-click simplicity for provisioning middleware services, so developers can 
-get started immediately and focus on the business logic, rather than configuring and deploying software systems.
-
-The platform integration layer within WSO2 Stratos allows it to install onto any existing cloud infrastructure 
-such as Eucalyptus, Ubuntu Enterprise Cloud, Amazon EC2, and VMware ESX. Enterprises are never locked into a 
-specific infrastructure provider or platform.
-
-Once WSO2 Stratos is installed, a Web-based management portal lets users configure, manage and govern 
-independent-but-consistent services for each department, or for each stage of a system's lifecycle. 
-Each server is completely virtual, scaling up automatically to handle the required load, and metered and 
-billed according to use.
-
-Noteworthy WSO2 Stratos features include:
-    * Auto-scaling capabilities.
-        WSO2 Stratos automatically adjusts the use of cloud resources to meet increased or decreased demand.
-    * Single sign-on functionality.
-        Users only need to sign on once to access all WSO2 Stratos services that they are authorized to use.
-    * Enhanced automatic activity monitoring.
-        Activity monitoring is available in real time, so there is no time gap between data collection and 
-        the availability of data for monitoring.
-    * Enhanced usage metering.
-        Metering is automated so that every operation by tenant users will be monitored and recorded. 
-        The metering information can be used for billing and for offering constrained access for certain services.
-	* Tenant aware logging
-		Tenants can view their logs in order to monitor the status of the deployed services
-		of and applications. It is also helpful for debugging purposes.
-    * Enhanced centralized governance and identity management.
-        All the resources of all Stratos services can be monitored and governed from a single point - from WSO2 
-        Stratos governance. When a modification, such as changing a security policy, or changing the keystore, 
-        is done from a single place, it is immediately visible to all other services. In addition to that, 
-        all services share a single user store. When a user is added from a service, that new user can immediately 
-        access all other services available for the tenant.
-
-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:
-
-   Apacge Rampart   : http://ws.apache.org/rampart/
-   Apache WSS4J     : http://ws.apache.org/wss4j/
-   Apache Santuario : http://santuario.apache.org/
-   Bouncycastle     : http://www.bouncycastle.org/
-
-
-
-Support
--------
-As a fully open source solution WSO2 Stratos does not require any licensing fees. 
-
-WSO2 offers a range of service and support options, including evaluation support, CloudStart(SM) 
-consulting program, development support, and production support. 
-
-For additional support information please visit  http://wso2.com/support/
-
-About WSO2
-----------
-WSO2 is the lean enterprise middleware company. It delivers the only complete open source enterprise 
-SOA middleware stack purpose-built as an integrated platform to support today.s heterogeneous 
-enterprise environments.internally and in the cloud. WSO2.s service and support team is led by 
-technical experts who have proven success in deploying enterprise SOAs and contribute to the technology 
-standards that enable them. 
-
-For more information, visit http://wso2.com and the WSO2 Oxygen Tank developer portal at http://wso2.org
-
----------------------------------------------------------------------------------------------------
-
-WSO2 Stratos Team
-
-(c) 2009 - 2011, WSO2 Inc.


[42/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/bin.xml b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/bin.xml
deleted file mode 100755
index 441c88b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/bin.xml
+++ /dev/null
@@ -1,555 +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>
-    <!--<id>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>**/*.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>**/INSTALL.txt</exclude>
-                <exclude>**/LICENSE.txt</exclude>
-                <exclude>**/release-notes.html</exclude>
-                <exclude>**/carbon.xml</exclude>
-                <exclude>**/README*</exclude>
-		<!--Removing relying party ui bundle to fix STRATOS-1149 -->
-                <exclude>**/org.wso2.carbon.identity.relyingparty.ui_4.1.0-SNAPSHOT.jar</exclude>
-                <exclude>**/org.wso2.carbon.identity.relyingparty.stub_4.1.0-SNAPSHOT.jar</exclude>
-		<!--Removing roles mgt ui to fix STRATOS-2114-->
-                <exclude>**/org.wso2.carbon.roles.mgt.ui_4.1.0-SNAPSHOT.jar</exclude>
-                <exclude>**/org.wso2.carbon.roles.mgt.stub_4.1.0-SNAPSHOT.jar</exclude>
-               <exclude>**/log4j.properties</exclude>
-            </excludes>
-        </fileSet>	
-        <fileSet>
-            <directory>target/shopping-cart-global-${shoppingcart.global.version}</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/samples/bin</outputDirectory>
-            <includes>
-                <include>**/*.car</include>
-                <include>**/*.properties</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <excludes>
-                <exclude>**/daemon.sh</exclude>
-                <exclude>**/wso2server.bat</exclude>
-		<exclude>**/wso2server.sh</exclude>
-		 <exclude>**/log4j.properties</exclude>
-            </excludes>
-            <includes>
-                <include>**/*.sh</include>
-                <include>**/native/*</include>
-            </includes>
-            <fileMode>755</fileMode>
-        </fileSet>
-	<fileSet>
-            <directory>../../conf/synapse-configs</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/synapse-configs
-            </outputDirectory>
-        </fileSet>
-        <fileSet>
-            <directory>../../conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-            <excludes>
-                <exclude>**/samples-desc.xml</exclude>
-                <exclude>**/identity.xml</exclude>
-                <exclude>**/user-mgt.xml</exclude>
-                <exclude>**/datasources.properties</exclude>
-                <exclude>.svn</exclude>
-                <exclude>email-bill-generated.xml</exclude>
-                <exclude>email-billing-notifications.xml</exclude>
-                <exclude>email-new-tenant-activation.xml</exclude>
-                <exclude>email-new-tenant-registration.xml</exclude>
-                <exclude>email-password-reset.xml</exclude>
-                <exclude>email-payment-received-customer.xml</exclude>
-				<exclude>email-registration-payment-received-customer.xml</exclude>
-                <exclude>email-payment-received-wso2.xml</exclude>
-                <exclude>email-registration-complete.xml</exclude>
-                <exclude>email-registration-moderation.xml</exclude>
-                <exclude>email-registration.xml</exclude>
-                <exclude>email-update.xml</exclude>
-		<exclude>tenant-reg-agent.xml</exclude>
-            </excludes>
-        </fileSet>
-        <fileSet>
-            <directory>../../conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/email</outputDirectory>
-            <includes>
-                <include>email-bill-generated.xml</include>
-                <include>email-billing-notifications.xml</include>
-                <include>email-new-tenant-activation.xml</include>
-                <include>email-new-tenant-registration.xml</include>
-                <include>email-password-reset.xml</include>
-                <include>email-payment-received-customer.xml</include>
-                <include>email-registration-payment-received-customer.xml</include>
-				<include>email-payment-received-wso2.xml</include>
-                <include>email-registration-complete.xml</include>
-                <include>email-registration-moderation.xml</include>
-                <include>email-registration.xml</include>
-                <include>email-update.xml</include>
-            </includes>
-        </fileSet>
-	<fileSet>
-            <directory>../../conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/multitenancy</outputDirectory>
-            <includes>
-                <include>tenant-reg-agent.xml</include>
-                <include>features-dashboard.xml</include>
-            </includes>
-        </fileSet>
-	<fileSet>
-            <directory>../../conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources</outputDirectory>
-            <includes>
-                <include>stratos-datasources.xml</include>
-            </includes>
-        </fileSet>
-
-        <fileSet>
-            <directory>carbon-home/scripts</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/billing-dbscripts</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-            <excludes>
-                <exclude>.svn</exclude>
-            </excludes>
-        </fileSet>
-
-        <!-- copy documentation -->
-        <fileSet>
-            <directory>target/site</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/docs</outputDirectory>
-            <fileMode>755</fileMode>
-        </fileSet>
-
-        <!-- Copying themes, cloud icons-->
-         <fileSet>
-            <directory>../../resources</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/resources</outputDirectory>
-            <fileMode>755</fileMode>
-            <includes>
-                <include>allthemes/**</include>
-                <include>powerded-by-logos/**</include>
-            </includes>
-            <excludes>
-                <exclude>.svn</exclude>
-            </excludes>
-        </fileSet>
-
-        <!--start BAM related files -->
-        <!--<fileSet>
-            <directory>resources/dataservices</directory>
-            <outputDirectory>
-                ${pom.artifactId}-${pom.version}/repository/deployment/server/dataservices
-            </outputDirectory>
-            <includes>
-                <include>*.dbs</include>
-                <include>*.xml</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>resources/dataservices/bam</directory>
-            <outputDirectory>
-                ${pom.artifactId}-${pom.version}/repository/deployment/server/dataservices
-            </outputDirectory>
-            <includes>
-                <include>*.dbs</include>
-                <include>*.xml</include>
-            </includes>
-        </fileSet>-->
-
-        <fileSet>
-            <directory>resources</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/resources</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-	<!--fileSet>
-            <directory>resources/dbscripts</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet-->
-        <!--end BAM related files -->
-
-	<!--qpid related files -->
-	<fileSet>
-           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/advanced/</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/advanced</outputDirectory>
-	   <includes>
-               <include>**/*</include>
-           </includes>
-	    <excludes>
-                <exclude>**/jmx.xml</exclude>
-		<exclude>**/tenant-axis2.xml</exclude>
-		<exclude>**/authenticators.xml</exclude>
-		<exclude>**/logging-config.xml</exclude>
-            </excludes>
-        </fileSet>
-	<!-- end of qpid related files -->
-
-	 <fileSet>
-           <directory>../p2-profile/target/wso2carbon-core-${carbon.platform.version}/repository/conf/etc/</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-           <includes>
-               <include>**/cassandra.yaml</include>
-           </includes>
-        </fileSet>
-	<fileSet>
-           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
-	   <includes>
-       		<include>**/identity.xml</include>
-		<include>**/rule-engine-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/multitenancy/</outputDirectory>
-           <includes>
-                <include>**/multitenancy-packages.xml</include>
-                <include>**/stratos.xml</include>
-                <include>**/eula.xml</include>
-                <include>**/usage-throttling-agent-config.xml</include>
-		<!--include>**/cloud-services-desc.xml</include-->
-           </includes>
-        </fileSet>
-
-		<!-- copy the landing page webapp -->
-        <fileSet>
-			<directory>lib/home</directory>
-			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps/STRATOS_ROOT</outputDirectory>
-		</fileSet>
-
-		<fileSet>
-			<directory>../../modules/features-dashboard/target/</directory>
-			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
-			<includes>
-				<include>**/*.war</include>
-			</includes>
-		</fileSet>
-        <fileSet>
-			<directory>../../resources/cloud-services-icons/target/</directory>
-			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
-			<includes>
-				<include>**/*.war</include>
-			</includes>
-		</fileSet>
-		<fileSet>
-            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/identity</outputDirectory>
-            <includes>
-                <include>**/**.sql</include>
-            </includes>
-		</fileSet>
-
-		<!-- copy the billing h2 db -->
-		<fileSet>
-			<directory>target/database</directory>
-			<outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory>
-		</fileSet> 
-    </fileSets>
-
-    <dependencySets>
-        <dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-        </dependencySet>
-	<!-- use the new tool to create a bundles -->
-        <dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
-            <includes>
-                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
-            </includes>
-        </dependencySet>
-        <!--dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/samples/axis2Client/client_repo/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/samples/axis2Server/repository/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet-->
-        <dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/axis2/client/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/client/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.rampart:rampart:mar</include>
-            </includes>
-        </dependencySet>
-	<dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/client-lib</outputDirectory>
-            <includes>
-                <include>org.wso2.andes: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>
-            </includes>
-        </dependencySet>
-	
-	<!--<dependencySet>
-		<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
-		<includes>
-                    <include>org.wso2.carbon:features-dashboard:war</include>
-		</includes>
-	</dependencySet>-->
-    </dependencySets>
-
-    <files>
-        <file>
-            <source>../../billing-script/billing-mysql.sql</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-        <file>
-            <source>INSTALL.txt</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../conf/samples-desc.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../conf/datasources.properties</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-	<!--file>
-            <source>../../conf/cartridge-config.properties</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file-->
-	<file>
-            <source>../../conf/cloud-services-desc.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/multitenancy</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>README.txt</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>LICENSE.txt</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>release-notes.html</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>target/wso2carbon-core-${carbon.kernel.version}/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}/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>target/wso2carbon-core-${carbon.kernel.version}/bin/wso2server.bat</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file-->
-	<!--file>
-            <source>bam-resources/bam.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/resources/security/userRP.jks</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/resources/security/</outputDirectory>
-            <fileMode>644</fileMode>
-        </file>
-	<!--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-->
-	
-	<!-- Including logging-config.xml 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>
-	<file>
-            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/log4j.properties</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
-        </file>
-	<file>
-            <source>src/bin/wso2server.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/git-folder-structure.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/manage-git-repo.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/set-mysql-password.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-        <file>
-            <source>src/bin/add_entry_zone_file.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-        <file>
-            <source>src/bin/remove_entry_zone_file.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/update-instance.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/wso2server.bat</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-         <!-- Including log4j.properties file -->
-        <!--file>
-            <source>
-                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/log4j.properties
-
-            </source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-        </file-->      
-	<file>
-            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/claim-config.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/sso-idp-config.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
-        </file-->
-
-	<!-- Including coordination-client-config.xml file -->
-        <file>
-            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/coordination-client-config.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-	<!-- Ntask config file -->
-	<file>
-            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/tasks-config.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-	<file>
-            <source>../../conf/zoo.cfg</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-	<file>
-            <source>../../conf/jaas.conf</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/security</outputDirectory>
-	    <destName>jaas.conf</destName>
-            <filtered>true</filtered>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/dist.xml b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/dist.xml
deleted file mode 100755
index c0df315..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/dist.xml
+++ /dev/null
@@ -1,44 +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-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components</outputDirectory>
-            <excludes>
-                <exclude>**/eclipse.ini</exclude>
-                <exclude>**/*.lock</exclude>
-                <exclude>**/.data</exclude>
-                <exclude>**/.settings</exclude>
-            </excludes>
-        </fileSet>
-        <fileSet>
-            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <includes>
-                <include>**/claim-config.xml</include>
-            </includes>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/filter.properties b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/filter.properties
deleted file mode 100755
index 1c64fd7..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/assembly/filter.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-product.name=WSO2 Stratos Controller
-product.key=SCC
-product.version=1.0.0
-hotdeployment=true
-hotupdate=false
-carbon.version=4.1.1
-default.server.role=Stratos Controller

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/add_entry_zone_file.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/add_entry_zone_file.sh b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/add_entry_zone_file.sh
deleted file mode 100755
index 63fa028..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/add_entry_zone_file.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-zone_file=$3
-subdomain=$1
-ip=$2
-
-# check the file
-if [ -f {$zone_file} ]; then
-	echo "Error: zone does not exist"
-	exit 1
-fi
-echo "File $zone_file exists"
-
-#appending the zone file
-echo "$subdomain IN A $ip">> $zone_file
-echo "Added subdomain to the file"
-
-# get serial number
-serial=$(grep 'Serial' $zone_file | awk '{print $1}')
-echo "Serial number " $serial
-# get serial number's date
-serialdate=$(echo $serial | cut -b 1-8)
-# get today's date in same style
-date=$(date +%Y%m%d)
-
-
-#Serial number's date
-serialdate=$(echo $serial | cut -b 1-8)
-echo "serial date" $serialdate
-# get today's date in same style
-date=$(date +%Y%m%d)
-echo "Now date" $date
-
-# compare date and serial date
-if [ $serialdate = $date ]
-	then
-		# if equal, just add 1
-		newserial=$(expr $serial + 1)
-		echo "same date"
-	else
-		# if not equal, make a new one and add 00
-		newserial=$(echo $date"00")
-fi
-
-echo "Adding subdomain $1 and ip $2 to $3"
-sed -i "s/.*Serial.*/ \t\t\t\t$newserial ; Serial./" $zone_file
-
-
-
-#reloading bind server
-/etc/init.d/bind9 reload

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/git-folder-structure.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/git-folder-structure.sh b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/git-folder-structure.sh
deleted file mode 100755
index 2b5439b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/git-folder-structure.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-tenant=""
-cartridge=""
-ads_git_url="localhost"
-
-function help {
-    echo "Usage:git-folder-structure  <mandatory arguments>"
-    echo "    Usage:"
-    echo "    	  git-folder-structure <tenant> <cartridge> [webapp=readme file description with space replace with #] "
-    echo "    eg:"
-    echo "    	  git-folder-structure tenant1 as webapp=copy#war#files#here"
-    echo ""
-}
-
-function main {
-
-if [[ (-z $tenant || -z $cartridge ) ]]; then
-    help
-    exit 1
-fi
-
-}
-
-tenant=$1
-cartridge=$2
-
-if [[ (-n $tenant && -n $cartridge) ]]; then
-	cd /tmp/
-	rm -fr ${tenant}/${cartridge}
-	git clone git@localhost:${tenant}/${cartridge}
-	cd ${cartridge}
-	git pull origin master
-	shift
-	shift
-	for IN in "$@"; do
-		IFS='=' read -ra ADDR <<< "$IN"
-		mkdir -p ${ADDR[0]}
-		echo ${ADDR[1]} | sed -e 's/#/ /g' > ${ADDR[0]}/README.txt
-		git add ${ADDR[0]}
-		git commit -a -m 'Folder structure commit'
-		git push origin master
-	done
-	rm -fr ${cartridge}	
-fi	
-
-main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/manage-git-repo.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/manage-git-repo.sh b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/manage-git-repo.sh
deleted file mode 100755
index b0dfa80..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/manage-git-repo.sh
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/bash
-
-user="wso2"
-action=""
-username=""
-tenant_domain=""
-cartridge=""
-tenant_key=""
-cartridge_key=""
-gitolite_admin="/home/wso2/gitolite-admin/"
-git_domain=""
-git_repo="/home/git/repositories/"
-ADC_repo_notification_url=""
-
-
-function help {
-    echo "Usage: manage-git-repo <action> <mandatory arguments>"
-    echo "    Action can be one of the following"
-    echo "        create : create git repo"
-    echo "        destroy: destroy git repo"
-    echo "        delete : delete user from a git repo"
-    echo "    Usage:"
-    echo "    	  manage-git-repo create <username> <tenant domain> <cartridge alias/name> <ADC repo notification url> <git_domain>"
-    echo "    	  manage-git-repo destroy <username> <tenant domain> <cartridge alias/name>"
-    echo "    eg:"
-    echo "    	  manage-git-repo create foo abc.com myphp https://localhost:9445/services/RepoNotificationService/"
-    echo ""
-}
-
-function main {
-
-if [[ ( -z $action || ( -n $action && $action == "help" ) ) ]]; then
-    help
-    exit 1
-fi
-if [[ (( -n $action && $action == "create") && ( -z $tenant_domain || -z $username || -z $cartridge || -z $ADC_repo_notification_url)) ]]; then
-    help
-    exit 1
-fi
-
-if [[ (( -n $action && $action == "destroy") && ( -z $tenant_domain || -z $username || -z $cartridge)) ]]; then
-    help
-    exit 1
-fi
-
-}
-
-action=$1
-username=$2
-tenant_domain=$3
-cartridge=$4
-ADC_repo_notification_url=$5
-git_domain=$6
-if [[ $action == "create" ]]; then
-
-     # hack until stratos manager support key pair for every user
-     rm -fr /tmp/${username}*
-     ssh-keygen -t rsa -N ''  -f /tmp/${username}
-     cd ${gitolite_admin}
-     git pull
-     # set public keys
-     cp -f /tmp/${username}.pub keydir/${username}.pub
-     #remove temparaly created files
-     rm /tmp/${username}.pub
-     # add repo and permission to conf 
-
-
-     echo "" > conf/repos/${tenant_domain}-${cartridge}.conf 
-     echo "repo ${tenant_domain}/${cartridge}.git" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "	RW+    = ${username} ${user}  daemon" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "     config  gitweb.url                  = git@${git_domain}:${tenant_domain}/${cartridge}" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "     config  receive.denyNonFastforwards = true" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "     config  receive.denyDeletes         = true" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     # git operations
-     git add keydir/${username}.pub
-     git add conf/repos/${tenant_domain}-${cartridge}.conf
-     git commit -a -m "${username} keys added and ${tenant_domain}/${cartridge} repo created"
-     git pull
-     git push
-     # set git push trigger
-    
-   echo "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://org.apache.axis2/xsd\">
-   <soapenv:Header/>
-   <soapenv:Body>
-      <xsd:notifyRepoUpdate>
-         <xsd:tenantDomain>${tenant_domain}</xsd:tenantDomain>
-         <xsd:cartridgeType>${cartridge}</xsd:cartridgeType>
-      </xsd:notifyRepoUpdate>
-   </soapenv:Body>
-</soapenv:Envelope>" > /tmp/${tenant_domain}-request.xml
-   
-    echo "#!/bin/bash" > /tmp/${tenant_domain}-post-update
-    echo "curl -X POST -H \"Content-Type: text/xml\"   -d @${git_repo}${tenant_domain}/${cartridge}.git/hooks/request.xml \"${ADC_repo_notification_url}\" --insecure" >> /tmp/${tenant_domain}-post-update
-    echo "exec git update-server-info" >> /tmp/${tenant_domain}-post-update
-    
-    sudo mv /tmp/${tenant_domain}-request.xml ${git_repo}${tenant_domain}/${cartridge}.git/hooks/request.xml
-    sudo mv /tmp/${tenant_domain}-post-update ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
-    sudo chown git:git ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
-    sudo chmod 700 ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
-fi
-if [[ $action == "destroy" ]]; then
- 
-     cd ${gitolite_admin}
-     # remove user keys
-     git rm keydir/${username}.pub
-     # remove repo from config
-     git rm conf/repos/${tenant_domain}-${cartridge}.conf
-     # git push to execute
-     git pull
-     git push
-     # remove repo from repository. ** this should done from above. but it doesnt happend. So removing manualy.
-     sudo rm -fr /home/git/repositories/${tenant_domain}/${cartridge}.git
-
-fi
-
-
-main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/remove_entry_zone_file.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/remove_entry_zone_file.sh b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/remove_entry_zone_file.sh
deleted file mode 100755
index 7c08abc..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/remove_entry_zone_file.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-zone_file=$2
-subdomain=$1
-
-# check the file
-if [ -f {$zone_file} ]; then
-	echo "Error: zone does not exist"
-	exit 1
-fi
-echo "File $zone_file exists"
-
-# find entry to delete
-entry=$(grep $subdomain $zone_file)
-#sed "/$entry/d" $zone_file 
-
-sed "/$entry/d" $zone_file >tmp
-mv tmp $zone_file
-
-echo "entry to delete  $entry"
-
-
-# get serial number
-serial=$(grep 'Serial' $zone_file | awk '{print $1}')
-echo "Serial number " $serial
-# get serial number's date
-serialdate=$(echo $serial | cut -b 1-8)
-# get today's date in same style
-date=$(date +%Y%m%d)
-
-
-#Serial number's date
-serialdate=$(echo $serial | cut -b 1-8)
-echo "serial date" $serialdate
-# get today's date in same style
-date=$(date +%Y%m%d)
-echo "Now date" $date
-
-# compare date and serial date
-if [ $serialdate = $date ]
-	then
-		# if equal, just add 1
-		newserial=$(expr $serial + 1)
-		echo "same date"
-	else
-		# if not equal, make a new one and add 00
-		newserial=$(echo $date"00")
-fi
-
-echo "Adding subdomain $1 and ip $2 to $3"
-sed -i "s/.*Serial.*/ \t\t\t\t$newserial ; Serial./" $zone_file
-
-
-
-#reloading bind server
-/etc/init.d/bind9 reload

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/set-mysql-password.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/set-mysql-password.sh b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/set-mysql-password.sh
deleted file mode 100755
index b18fd0d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/set-mysql-password.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-user="ubuntu"
-instance_ip=""
-cartridge_private_key=""
-password=""
-
-
-function help {
-    echo "Usage: set-mysql-password <mandatory arguments>"
-    echo "    Usage:"
-    echo "    	  set-mysql-password <instance ip> <cartridge private key> <password>"
-    echo "    eg:"
-    echo "    	  set-mysql-password 172.17.1.2 /tmp/foo-php qazxsw"
-    echo ""
-}
-
-function main {
-
-if [[ (-z $password || -z $instance_ip) ]]; then
-    help
-    exit 1
-fi
-
-}
-
-instance_ip=$1
-cartridge_private_key=$2
-password=$3
-
-echo "#!/bin/bash
-echo \"GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'   IDENTIFIED BY '${password}' WITH GRANT OPTION;flush privileges;\" | mysql -uroot -p${password}
-" > /tmp/${password}.sh
-
-if [[ (-n $password && -n $instance_ip) ]]; then
-	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} mysqladmin -u root password "${password}"
-#	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} echo "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'   IDENTIFIED BY '${password}' WITH GRANT OPTION;flush privileges;" | mysql -u root -p"${password}"
-	scp -i ${cartridge_private_key} /tmp/${password}.sh ${user}@${instance_ip}:
-	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} chmod 755 /home/${user}/${password}.sh
-	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} /home/${user}/${password}.sh
-	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} rm /home/${user}/${password}.sh
-fi
-rm /tmp/${password}.sh
-
-main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/update-instance.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/update-instance.sh b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/update-instance.sh
deleted file mode 100755
index 3935dd1..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/update-instance.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-user="ubuntu"
-instance_ip=""
-app_path=""
-cartridge_private_key=""
-
-function help {
-    echo "Usage: update-instance <mandatory arguments>"
-    echo "    Usage:"
-    echo "    	  update-instance <instance_ip> <app path> <cartridge_private_key>"
-    echo "    eg:"
-    echo "    	  update-instance 172.17.1.1 /var/www/myapp /tmp/foo-php"
-    echo ""
-}
-
-function main {
-
-if [[ (-z $instance_ip || -z $app_path || -z $cartridge_private_key ) ]]; then
-    help
-    exit 1
-fi
-
-}
-
-instance_ip=$1
-app_path=$2
-cartridge_private_key=$3
-
-if [[ (-n $instance_ip && -n $app_path && -n $cartridge_private_key ) ]]; then
-    ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} /opt/git.sh
-fi
-
-main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/wso2server.bat
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/wso2server.bat b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/wso2server.bat
deleted file mode 100644
index ee4cbc3..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/wso2server.bat
+++ /dev/null
@@ -1,170 +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
-
-
-: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 %*
-
-:checkJdk16
-"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
-IF ERRORLEVEL 1 goto unknownJdk
-goto jdk16
-
-:unknownJdk
-echo Starting WSO2 Carbon (in unsupported JDK)
-echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
-goto jdk16
-
-:jdk16
-goto runServer
-
-rem ----------------- Execute The Requested Command ----------------------------
-
-:runServer
-cd %CARBON_HOME%
-
-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%" -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" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -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.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 -Dloadbalancer.conf="%CARBON_HOME%\repository\conf\loadbalancer.conf"
-
-: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

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/wso2server.sh b/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/wso2server.sh
deleted file mode 100755
index d71351d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/src/bin/wso2server.sh
+++ /dev/null
@@ -1,298 +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 ----------------------------------------------
-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"
-    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 >&- ; then
-      echo "Process is already running"
-      exit 0
-    fi
-  fi
-  export CARBON_HOME=$CARBON_HOME
-# using nohup bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/wso2server.sh > /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 bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/wso2server.sh > /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_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
-if [ "$jdk_16" = "" ]; then
-   echo " Starting WSO2 Carbon (in unsupported JDK)"
-   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
-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"
-
-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" \
-    -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" \
-    -Djava.util.logging.config.file="$CARBON_HOME/repository/conf/log4j.properties" \
-    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
-    -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.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 \
-    -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
-    org.wso2.carbon.bootstrap.Bootstrap $*
-    status=$?
-done

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/META-INF/MANIFEST.MF b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/META-INF/MANIFEST.MF
deleted file mode 100755
index 5e94951..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: 
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/WEB-INF/web.xml b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/WEB-INF/web.xml
deleted file mode 100755
index 5c68b6f..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/WEB-INF/web.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-	<display-name>service-dashboard-webapp</display-name>
-	<welcome-file-list>
-		<welcome-file>index.jsp</welcome-file>
-	</welcome-file-list>
-</web-app>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/as.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/as.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/as.html
deleted file mode 100755
index c2f18e5..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/as.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-
-    <div class="story-title">Service Hosting</div>
-
-
-    <div class="story-content">
-        Different types of Web Services such as Axis2 Services, JAXWS Services, Jar Services
-        or Spring Services can be deployed in Application Server. All configurations such as
-        QoS can be easily configured here.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(0)" class="blocklink">Got to services...</a>
-        <a href="javascript:generateAsFeatureUrl(1)">Read more (docs)...</a>
-    </div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Web Applications</div>
-
-
-    <div class="story-content">
-        Web Application hosting features in AppServer supports deployment of Tomcat
-        compliant Webapps. Deployed Webapps can be easily managed using the Webapp
-        management facilities available in the management console.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(2)" target="_blank">Go to Web Applications...</a>
-        <a href="javascript:generateAsFeatureUrl(3)" target="_blank">Read more (docs)...</a>
-    </div>
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Message Tracing</div>
-    <div class="story-content">
-        Trace the request and responses to your service. Message Tracing is a vital
-        debugging tool when you have clients from heterogeneous platforms.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(4)">Go to Message Tracing...</a>
-        <a href="javascript:generateAsFeatureUrl(5)">Read more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">WSDL2Java Tool</div>
-    <div class="story-content">
-        Use WSDL2Java tool in Web Application Server to convert Web Service WSDL to a set of
-        Java objects.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(6)">Go to WSDL2Java Tool...</a>
-        <a href="javascript:generateAsFeatureUrl(7)">Read more (docs)...</a>
-    </div>
-</div>
-
-<div class="story col1">
-    <div class="story-title">Java2WSDL Tool</div>
-
-    <div class="story-content">
-        Use Java2WSDL tool in Web Application Server make it easy to develop a new web service.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(8)">Go to Java2WSDL Tool...</a>
-        <a href="javascript:generateAsFeatureUrl(9)">Read more (docs)...</a>
-    </div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/bam.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/bam.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/bam.html
deleted file mode 100755
index 140e284..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/bam.html
+++ /dev/null
@@ -1,88 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Real Time Mediation Monitoring</div>
-    <div class="story-content">Monitor proxy services, endpoints and sequences and their operations in real time. The
-        results gathered from the real-time monitoring are presented in a clear and easy-to-view
-        format.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateBamFeatureUrl(0)">Go to Web Applications...</a>
-        <a href="javascript:generateBamFeatureUrl(1)">Read more (docs)...</a>
-    </div>
-</div>
-
-<div class="story col1">
-    <div class="story-title">Mediation Analysis</div>
-    <div class="story-content">Analyze the historical mediation trends over time with the help of visualization
-        framework.
-    </div>
-    <div class="story-links">
-        <a href=javascript:generateBamFeatureUrl(2)">Go
-        to Web Applications...</a>
-        <a href=javascript:generateBamFeatureUrl(3)">Read
-        more (docs)...</a>
-    </div>
-</div>
-
-<div class="story col1">
-    <div class="story-title">Summary Generation</div>
-    <div class="story-content">Generate a summarised view of collected statistics & write gadgets to display these
-        summarised data.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateBamFeatureUrl(6)">Go
-            to Web Applications...</a>
-        <a href="javascript:generateBamFeatureUrl(7)">Read
-            more (docs)...</a>
-    </div>
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Service Invocation Analysis</div>
-    <div class="story-content"> Write gadgets to consume service statistics and present to end user. Dashboard
-        support
-        Google Gadget specification.
-    </div>
-    <div class="story-links"><a href="javascript:generateBamFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateBamFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Dashboard</div>
-    <div class="story-content">Monitor and correlate related business activities across multiple server instances.
-        These activities can be used to track and verify the smooth execution of business.
-    </div>
-    <div class="story-links"><a href="javascript:generateBamFeatureUrl(12)">Go
-        to Web Applications...</a><a href="javascript:generateBamFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Activity Correlation &amp; Monitoring</div>
-    <div class="story-content"> Monitor and correlate related business activities across multiple server instances.
-        These activities can be used to track and verify the smooth execution of business.
-    </div>
-    <div class="story-links"><a href="#"
-            >Go
-        to Web Applications...</a><a href="#"
-                                     onclick="alert('This link goes to Web Applications docs page!');">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Message Collection &amp; Archival</div>
-    <div class="story-content">Collect messages coming into your SOA, analyze & archive for future retrieval.</div>
-    <div class="story-links"><a href="#"
-            >Go
-        to Web Applications...</a><a href="#"
-                                     onclick="alert('This link goes to Web Applications docs page!');">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/bps.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/bps.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/bps.html
deleted file mode 100755
index 392a1f1..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/bps.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">WS-BPEL 2.0 &amp; BPELWS 1.1</div>
-    <div class="story-content">WSO2 BPS supports both WS-BPEL 2.0 and BPEL4WS 1.1 standards. It also includes WSO2 BPS
-        specific extensions to enhance the features provide by WS-BPEL.
-    </div>
-    <div class="story-links"><a href="javascript:generateBpsFeatureUrl(0)">Go
-        to Web Applications...</a>
-        <a href="javascript:generateBpsFeatureUrl(1)">Read
-            more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Instance Data Cleanup</div>
-    <div class="story-content">Allows multiple levels of instance data cleanup which are accumulated during process
-        instance lifetime.
-        <p>
-            XPath extensions, Iteratable ForEach, Flexible Assigns, XQuery 1.0 support and various
-            other extensions to BPEL language.
-        </p>
-    </div>
-    <div class="story-links"><a href="javascript:generateBpsFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateBpsFeatureUrl(9)">Read
-        more (docs)...</a>
-    </div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">BPEL Extensions</div>
-    <div class="story-content">Hot update BPEL processes and allows you to maintain multiple versions of processes</div>
-    <div class="story-links"><a href="javascript:generateBpsFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateBpsFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Process Versioning</div>
-    <div class="story-content"></div>
-    <div class="story-links"><a href="#"
-            >Go
-        to Web Applications...</a><a href="#"
-            >Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/brs.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/brs.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/brs.html
deleted file mode 100755
index b9be165..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/brs.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Service Hosting Support</div>
-    <div class="story-content"> Service Hosting feature in Business Rules Server enables deployment of Rule Services.
-    </div>
-    <div class="story-links"><a href="javascript:generateBrsFeatureUrl(0)">Go
-        to Web Applications...</a><a href="javascript:generateBrsFeatureUrl(1)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Rule service creation support</div>
-    <div class="story-content"> Support for creating rule services with drools or using rule services created with other
-        IDEs
-    </div>
-    <div class="story-links"><a href="javascript:generateBrsFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateBrsFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/cep.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/cep.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/cep.html
deleted file mode 100755
index 54bbfb4..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/cep.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Bring CEP to SOA</div>
-    <div class="story-content">Bring CEP to SOA by processing XML events and produce results as XML events</div>
-    <div class="story-links">
-        <a href="javascript:generateCepFeatureUrl(0)">Go
-            to Web Applications...</a><a href="javascript:generateCepFeatureUrl(1)">Read
-        more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Registry Storage</div>
-    <div class="story-content">Ability to define different event streams, queries and out put streams and store them in
-        the registry as a bucket.
-    </div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Esper and Fusion</div>
-    <div class="story-content">Support Esper and fusion back end runtimes.</div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(4)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(5)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Filter data from the XML event</div>
-    <div class="story-content">Ability to filter data from the XML event using xpath and format the result as an XML
-        event.
-    </div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(6)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(7)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Support different types of brokers</div>
-    <div class="story-content">Support different types of brokers WS-Event, JMS to receive publish events.</div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Storing broker configurations</div>
-    <div class="story-content">Define and store such different broker configurations.</div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Administrative Console support</div>
-    <div class="story-content">Administrative Console to create buckets, add subscriptions etc..</div>
-    <div class="story-links">
-        <a href="javascript:generateCepFeatureUrl(12)">Go
-            to Web Applications...</a><a href="javascript:generateCepFeatureUrl(13)">Read
-        more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Specify CEP queries</div>
-    <div class="story-content">Ability to specify CEP queries inline or pick from the registry.</div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(14)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(15)">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/csg.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/csg.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/csg.html
deleted file mode 100755
index 7392c72..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/csg.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Cloud Service</div>
-    <div class="story-content">Publish a service or data residing behind a firewall in a secure and controlled manner as a Cloud Service.
-    </div>
-    <div class="story-links"><a href="javascript:generateCsgFeatureUrl(0)">Go
-        to Cloud Services...</a><a href="javascript:generateCsgFeatureUrl(1)">Read
-        more (docs)...</a></div>
-</div>
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/css/features-dashboard.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/css/features-dashboard.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/css/features-dashboard.css
deleted file mode 100755
index a0558a4..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/css/features-dashboard.css
+++ /dev/null
@@ -1,55 +0,0 @@
-.story {
-  width: 220px;
-  margin: 15px;
-  float: left;
-    line-height:23px;
-    background:#fff;
-}
-.story h2{
-
-}
-.story p,.story blockquote{
-       margin:0px;
-}
-.story img{
-    width:200px;
-}
-.story-title {
-    color: #444;
-    padding:5px 15px;
-    font-size: 18px;
-    display: block;
-    border-left:dotted 1px #ddd;
-    border-right:dotted 1px #ddd;
-    border-top:dotted 1px #ddd;
-}
-
-.story-content {
-    padding:15px;
-    color:#333;
-    border-left:dotted 1px #ddd;
-    border-right:dotted 1px #ddd;
-}
-.story-links{
-    /*background:transparent url(../images/black.png) repeat left top;*/
-    padding:3px 15px;
-    border:dotted 1px #ddd;
-    /*-moz-box-shadow: 3px 3px 2px #000;*/
-    /*-webkit-box-shadow: 3px 3px 2px #000;*/
-    /*box-shadow: 3px 3px 2px #000;*/
-}
-.story-links a{
-    /*text-shadow: 0px -2px 1px #000;*/
-    display:block;
-    font-weight:bold;
-    text-transform:uppercase;
-    text-decoration:none;
-
-}
-.story-links a:hover{
-    color: #003366;
-}
-.story-content a{
-    color:#0d2a51;
-    margin:10px;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/dss.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/dss.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/dss.html
deleted file mode 100755
index f6912cc..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/dss.html
+++ /dev/null
@@ -1,75 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Data Service Hosting</div>
-    <div class="story-content">>Data Web Services can be deployed in Data Services Server. All configurations such as
-        QoS can be easily configured here.
-    </div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(0)"
-            >Go
-        to Services...</a><a href="javascript:generateDssFeatureUrl(1)"
-            >Read
-        more (docs)...</a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Data as a Service</div>
-    <div class="story-content"> Create your databases on the cloud, and acess those as you would do with regular
-        databases.
-    </div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(2)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateDssFeatureUrl(3)"
-            >Read
-        more (docs)...</a></div>
-
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Service Testing</div>
-    <div class="story-content">Tryit tool can be used as a simple Web Service client which can be used to try your
-        services within AppServer itself.
-    </div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(4)"
-            >Go
-        to Service Testing...</a><a href="javascript:generateDssFeatureUrl(5)"
-            >Read
-        more (docs)...</a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Message Tracing</div>
-    <div class="story-content">Trace the request and responses to your service. Message Tracing is a vital
-        debugging tool when you have clients from heterogeneous platforms.
-    </div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(6)"
-            >Go to Message
-        Tracing...</a><a href="javascript:generateDssFeatureUrl(7)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">DB Explorer</div>
-    <div class="story-content"> Explore your databases using the explorer tool on the cloud.</div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(8)"
-            >Go to DB
-        Explorer Tool...</a><a href="javascript:generateDssFeatureUrl(9)"
-            >Read
-        more (docs)...</a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Relational Storage Solutions on Cloud</div>
-    <div class="story-content"><a
-            href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive"><img
-            src="../../../../features-dashboard/dashboards/images/configure_db.png"
-            alt=""/></a></div>
-    <div class="story-links">
-        <a
-                href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive">Read
-            online...</a>
-    </div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/esb.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/esb.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/esb.html
deleted file mode 100755
index 7576114..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/esb.html
+++ /dev/null
@@ -1,70 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Proxy Service</div>
-    <div class="story-content"> Proxy services facilitate location transparency and provides the means for the
-        integration between various other services, on different formats
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(0)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(1)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Sequence</div>
-    <div class="story-content">Sequence is a collection of mediators attached to perform a given mediation flow in an
-        integration.
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Endpoint</div>
-    <div class="story-content">Endpoints represent the third party services or other endpoints the ESB is talking to,
-        this configuration allows you to record a set of meta data about the external endpoint
-        apart from it's EPR
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(4)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(5)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Scheduled Tasks</div>
-    <div class="story-content">Job scheduling facility in the ESB with quartz scheduler, helping several tasks to be
-        initiated and scheduled by the ESB.
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(6)">Go
-        to Web Applications...</a> <a href="javascript:generateEsbFeatureUrl(7)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Store &amp; Forward</div>
-    <div class="story-content"> Message Stores and Processors can be used to persist messages to queues and then process
-        preserving SLAs
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Priority Execution</div>
-    <div class="story-content">Ability to categorize mediation flows with a priority allowing certain messages or
-        mediation paths to get a high priority with compared to other messages or paths.
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>


[20/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/esb.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/esb.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/esb.html
deleted file mode 100755
index 7576114..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/esb.html
+++ /dev/null
@@ -1,70 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Proxy Service</div>
-    <div class="story-content"> Proxy services facilitate location transparency and provides the means for the
-        integration between various other services, on different formats
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(0)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(1)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Sequence</div>
-    <div class="story-content">Sequence is a collection of mediators attached to perform a given mediation flow in an
-        integration.
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Endpoint</div>
-    <div class="story-content">Endpoints represent the third party services or other endpoints the ESB is talking to,
-        this configuration allows you to record a set of meta data about the external endpoint
-        apart from it's EPR
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(4)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(5)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Scheduled Tasks</div>
-    <div class="story-content">Job scheduling facility in the ESB with quartz scheduler, helping several tasks to be
-        initiated and scheduled by the ESB.
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(6)">Go
-        to Web Applications...</a> <a href="javascript:generateEsbFeatureUrl(7)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Store &amp; Forward</div>
-    <div class="story-content"> Message Stores and Processors can be used to persist messages to queues and then process
-        preserving SLAs
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Priority Execution</div>
-    <div class="story-content">Ability to categorize mediation flows with a priority allowing certain messages or
-        mediation paths to get a high priority with compared to other messages or paths.
-    </div>
-    <div class="story-links"><a href="javascript:generateEsbFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateEsbFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/greg.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/greg.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/greg.html
deleted file mode 100755
index 410751c..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/greg.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Service</div>
-    <div class="story-content">Service is the basic entity of your SOA platform. You can manage service metadata and
-        the service lifecycle as well as maintain multiple versions of a given service, and much
-        more.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(0)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(1)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">WSDL</div>
-    <div class="story-content"> WSDL defines the interface of a web service. You can store, validate and manage WSDLs
-        with ease, keeping track of dependencies and associations such as services, schema and
-        policies.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col3">
-    <div class="story-title">Schema</div>
-    <div class="story-content">XML Schema defines data types in a WSDL. As in the case of WSDLs, you can keep
-        associations of schema which helps in the impact analysis process, when maintaining the
-        data models associated with your SOA.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(4)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(5)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col3">
-    <div class="story-title">Policy</div>
-    <div class="story-content">Policies help standardize SOA behaviour. You can keep track of the policies bound to a
-        service. It also supports policy enforcement to control how SOA behaves as desired by
-        both IT and business personnel.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(6)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(7)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Search</div>
-    <div class="story-content">The repository can store any arbitrary type of resource. You can search for resources by
-        name, author, time created or updated. You also can search for resources by media type.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col2">
-    <div class="story-title">Activities</div>
-    <div class="story-content">An activity log provide an invaluable insight to what operations took place on the
-        repository. You can browse activities while filtering them by date range, user name, or
-        activity type.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col3">
-    <div class="story-title">Notifications</div>
-    <div class="story-content">The registry generates events when changes are made to a particular resource or
-        collection. You can subscribe to these events via e-mail, or forward them to a web
-        service via SOAP or REST.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(12)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-
-</div>
-<div class="story col2">
-    <div class="story-title">Extensions</div>
-    <div class="story-content"> While we address most governance and registry related scenarios out-of-the-box, you also
-        can upload your own extensions that is capable of extending the basic functionality of
-        the product
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(14)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(15)">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/gs.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/gs.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/gs.html
deleted file mode 100755
index ece3587..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/gs.html
+++ /dev/null
@@ -1,90 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Enterprise Information Portal</div>
-    <div class="story-content">Users can organize gadgets in a familiar portal interface. Sets of gadgets can be
-        organized using tabs.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(0)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(1)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col2">
-    <div class="story-title">Easy User Options</div>
-    <div class="story-content"> Add gadgets from the enterprise repository or from an external URL. Drag-and-drop
-        gadgets into new arrangements.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(2)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Author Gadgets</div>
-    <div class="story-content">Supports XML, HTML, and Javascript and use 3rd party Javascript libraries. Include Flash
-        or other embeddable formats.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(4)">Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(5)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Client-side Gadgets</div>
-    <div class="story-content">Any gadget adhering to the Google Gadget specification can be added to the portal.</div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(6)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(7)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col2">
-
-    <div class="story-title">Enterprise Gadget Repository</div>
-    <div class="story-content">Portal users can browse an enterprise gadget repository maintained by IT, add gadgets to
-        their individual portals, and rate and comment on individual gadgets.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col1">
-    <div class="story-title">Anonymous Mode</div>
-    <div class="story-content"> Users can try out WSO2 Gadget Server and experience most of the portal’s functionality,
-        excluding the gadget repository, even before registration and sign-in.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(10)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(11)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col2">
-    <div class="story-title">Secure Sign-in Options</div>
-    <div class="story-content"> User registration and sign-up can be handled using OpenID and InfoCards in addition to
-        the traditional user name and password-based scheme.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(12)">Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col1">
-    <div class="story-title">Management Console</div>
-    <div class="story-content"> The intuitive browser-based interface of the console helps IT professionals configure
-        and manage WSO2 Gadget Server, its users, and the enterprise gadget repository.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(14)"
-            >Go
-        to Web Applications...</a> <a href="javascript:generateGsFeatureUrl(15)">Read
-        more (docs)...</a></div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/black.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/black.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/black.png
deleted file mode 100755
index 7100b87..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/black.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/configure_db.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/configure_db.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/configure_db.png
deleted file mode 100755
index 11364b6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/configure_db.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/tenant_isolation.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/tenant_isolation.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/tenant_isolation.png
deleted file mode 100755
index 359e316..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/tenant_isolation.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/usage_metering_and_throttling.jpg
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/usage_metering_and_throttling.jpg b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/usage_metering_and_throttling.jpg
deleted file mode 100755
index aae6590..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/images/usage_metering_and_throttling.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/is.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/is.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/is.html
deleted file mode 100755
index bf69e92..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/is.html
+++ /dev/null
@@ -1,98 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">User Profile</div>
-    <div class="story-content">Update your user profile or add multiple user profiles.The value from your profile will
-        be used to populate your Information card and OpenID profiles.
-    </div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(0)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(1)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">OpenID</div>
-    <div class="story-content">This OpenID can be used with any OpenID relying party which trusts your domain for
-        login.
-    </div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(2)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(3)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col3">
-    <div class="story-title">Information Card</div>
-    <div class="story-content">This card can be used with any identity selector that supports Microsoft CardSpace
-        specifications and will allow you to login to web applications that support information
-        card logins.
-    </div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(4)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(5)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">SAML 2.0 Single Sign-On</div>
-    <div class="story-content">Use WSO2 Identity Server for Single Sign-on configuration. Service Providers can be
-        added and removed.
-    </div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(6)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(7)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col3">
-    <div class="story-title">Multifactor Authentication</div>
-    <div class="story-content">Use WSO2 Identity Server to Enable XMPP based multi-factor authentication.</div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(8)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(9)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Users and Roles</div>
-    <div class="story-content">WSO2 Identity Server enables you to manage users and roles in your system.</div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(10)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Relying Parties</div>
-    <div class="story-content">Manage your Relying Parties with WSO2 Identity Server.</div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(12)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col3">
-    <div class="story-title">Key Stores</div>
-    <div class="story-content"> Manage your Key Stores with WSO2 Identity Server</div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(14)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(15)"
-            >Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/manager.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/manager.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/manager.html
deleted file mode 100755
index 53c941b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/manager.html
+++ /dev/null
@@ -1,68 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Billing</div>
-    <div class="story-content">Billing is the process where the cloud computing service subscribers are charged
-        based on the metered data. Billing usually happens on a monthly basis. Billing uses
-        pricing rates defined against usage plans and compute the invoice against the usage
-        data.
-    </div>
-    <div class="story-links"><a href="javascript:generateManagerFeatureUrl(0)" >Go to
-        Billing...</a><a href="javascript:generateManagerFeatureUrl(1)"
-            >Read more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Metering</div>
-    <div class="story-content">Metering measures levels of resource utilization, such as network bandwidth usage and
-        data storage volume, consumed by the cloud services subscribers, aka tenants.
-        Resource utilization's (bandwidth and storage usage) are measured on the fly and the
-        measured data is stored for summarizing and analyzing.
-    </div>
-    <div class="story-links"><a href="javascript:generateManagerFeatureUrl(2)" 
-
-            >Go to Metering...</a><a href="javascript:generateManagerFeatureUrl(3)"
-            >Read more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Account Management</div>
-    <div class="story-content">Account management allows a tenant to update and validate contact information,
-        update the usage plan, validate the account and even de-activate the account .
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateManagerFeatureUrl(4)" 
-                >Manage account...</a> <a href="javascript:generateManagerFeatureUrl(5)" 
-            >Read more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Users and Roles</div>
-    <div class="story-content">You can add users and define your own roles for a tenant. The permission model is
-        role based. So a tenant admin can define what actions a role can perform by
-        configuring permissions for that role.
-    </div>
-    <div class="story-links"><a href="javascript:generateManagerFeatureUrl(6)"
-            >Manage
-        users/roles...</a><a href="javascript:generateManagerFeatureUrl(7)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Usage Metering and Throttling</div>
-    <div class="story-content"><a
-            href="http://wso2.org/library/articles/2011/09/usage-metering-throttling-cloud-computing"><img
-            src="../../../../features-dashboard/dashboards/images/usage_metering_and_throttling.jpg" alt=""/></a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">How WSO2 StratosLive meets Security Challenges in Cloud</div>
-    <div class="story-content"><a
-            href=http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud"><img
-            src="../../../../features-dashboard/dashboards/images/tenant_isolation.png" alt=""/></a></div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/mb.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/mb.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/mb.html
deleted file mode 100755
index 7507f4d..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/mb.html
+++ /dev/null
@@ -1,81 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Publish/Subscribe to Topics</div>
-    <div class="story-content"> WS-Eventing to publish/subscribe to topics using web service standards.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(0)">Go
-        to Web Applications...</a><a href="javascript:generateMbFeatureUrl(1)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">AMQP</div>
-    <div class="story-content">JMS support thorough AMQP to publish/subscribe to topics and Queues.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateMbFeatureUrl(3)">Read
-        more (docs)...</a></div>
-    <h2>AMQP</h2>
-
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Topic Authorization</div>
-    <div class="story-content">Role based authorization to topics.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(4)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMbFeatureUrl(5)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Manage topics and queues permissions</div>
-    <div class="story-content">Administrative console support to manage topics and queues permissions.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(6)">Go
-        to Web Applications...</a><a href=javascript:generateMbFeatureUrl(7)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">SQS support</div>
-    <div class="story-content">SQS support to store retrieve messages using a web service API.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(8)">Go
-        to Web Applications...</a><a href=javascript:generateMbFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">User based authorization for queues</div>
-    <div class="story-content"> User based authorization for queues.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(10)">Go
-        to Web Applications...</a><a href=javascript:generateMbFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Manage message boxes</div>
-    <div class="story-content">Administrative console support to manage message boxes and store/retrieve messages.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(12)">Go
-        to Web Applications...</a><a href=javascript:generateMbFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Message box as event sink</div>
-    <div class="story-content"> Ability to use a message box as the event sink for a subscription.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(14)">Go
-        to Web Applications...</a> <a href=javascript:generateMbFeatureUrl(15)">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/ms.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/ms.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/ms.html
deleted file mode 100755
index 7b1ec4f..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/ms.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/><div class="story col1">
-    <div class="story-title">Scrape the Web</div>
-    <div class="story-content">Scrape legacy web pages, expose as SOAP/REST services quickly using Scraping
-        Assistant.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(0)"
-            >Go
-        to Services...</a><a href="javascript:generateMsFeatureUrl(1)"
-            >Read
-        more (docs)...</a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Compose and Expose</div>
-    <div class="story-content"> Compose Enterprise level mashups quickly using Javascript and expose as SOAP/REST
-        Web Services with ease.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(2)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMsFeatureUrl(3)"
-            >Read
-        more (docs)...</a></div>
-
-
-</div>
-<div class="story col3">
-    <div class="story-title">Schedule Tasks</div>
-    <div class="story-content">Schedule recurring tasks, get updated via Emails and IMs using Email/IM Hostobjects.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(4)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMsFeatureUrl(5)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Javascript Stubs</div>
-    <div class="story-content"> Create Javascript stubs from a WSDL and invoke SOAP/REST services easily from a mashup
-        or
-        even from the browser.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateMsFeatureUrl(6)"
-                >Go
-            to Web Applications...</a><a href="javascript:generateMsFeatureUrl(7)"
-            >Read
-        more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Modules</div>
-    <div class="story-content">The WSO2 SOA platform has the capabilities of Axis2 to add modules to extend its
-        capabilities. The global modules will affect all the services deployed within the
-        server.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(8)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMsFeatureUrl(9)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col3">
-    <div class="story-title">Message Tracing</div>
-    <div class="story-content">Trace the request and responses to your service. Message Tracing is a vital debugging
-        tool
-        when you have clients from heterogeneous platforms.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(10)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMsFeatureUrl(11)"
-            >Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/server.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/server.jsp b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/server.jsp
deleted file mode 100755
index 10f0cb1..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/server.jsp
+++ /dev/null
@@ -1,151 +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.
- -->
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Data"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Service"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Link"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Story"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.utils.Utils"%>
-<%@ page import="java.util.HashMap"%>
-<%@ page import="java.util.Iterator"%>
-<%@ page import="java.util.Map"%>
-
-<%@ page language="java" contentType="text/html; charset=UTF-8"
-	pageEncoding="UTF-8"%>
-<jsp:useBean id="serviceData" class="org.wso2.stratos.manager.feature.dashbord.ui.beans.Data"
-             scope="session"></jsp:useBean>
-<link type="text/css"
-	href="../../../../features-dashboard/dashboards/css/features-dashboard.css"
-	rel="stylesheet" />
-	<%
-		
-	%>
-<script type="text/javascript">
-	function goToFunction(url,serverUrl) {
-		var serverUrl = serverUrl+linkSuffix+url;
-		window.open(serverUrl);
-	}
-</script>
-<%
-	String serviceName = request.getParameter("name");
-	Service service = serviceData.getService(serviceName);
-	String name1 = service.getName();
-	String link = service.getLink();
-	Map<String, Story> stories = service.getStories();
-	int index = 1;
-	for (Map.Entry<String, Story> entry : stories.entrySet()) {
-		Story tempStory = entry.getValue();
-		String storyName = tempStory.getTitle();
-		String storyContent = tempStory.getContent();
-		Map<String, Link> links = tempStory.getLinks();
-		String divClassName;
-		if (index%2 == 0) {
-			divClassName = "story col" + 1;
-		} else {
-			divClassName = "story col" + 2;
-		}
-		index++;
-	
-%>
-<div class="<%=divClassName%>">
-	<div class="story-title"><%=storyName%></div>
-	<div class="story-content"><%=storyContent%></div>
-	<div class="story-links">
-		<%
-			for (Map.Entry<String, Link> linksEntry : links.entrySet()) {
-					Link tempLink = linksEntry.getValue();
-					String linkUrl = tempLink.getUrl();
-					String value = tempLink.getDescription();
-		%>
-		<a href="javascript:goToFunction('<%=linkUrl%>','<%=link%>')" class="blocklink"><%=value%></a>
-		<%
-			}
-		%>
-	</div>
-</div>
-<%
-	}
-%>
-
-<!-- 		<div class="story col1"> -->
-
-<!-- 			<div class="story-title">Service Hosting</div> -->
-
-
-<!-- 			<div class="story-content">Different types of Web Services such -->
-<!-- 				as Axis2 Services, JAXWS Services, Jar Services or Spring Services -->
-<!-- 				can be deployed in Application Server. All configurations such as -->
-<!-- 				QoS can be easily configured here.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(0)" class="blocklink">Got -->
-<!-- 					to services...</a> <a href="javascript:generateAsFeatureUrl(1)">Read -->
-<!-- 					more (docs)...</a> -->
-<!-- 			</div> -->
-<!-- 		</div> -->
-
-<!-- 		<div class="story col2"> -->
-<!-- 			<div class="story-title">Web Applications</div> -->
-
-
-<!-- 			<div class="story-content">Web Application hosting features in -->
-<!-- 				AppServer supports deployment of Tomcat compliant Webapps. Deployed -->
-<!-- 				Webapps can be easily managed using the Webapp management facilities -->
-<!-- 				available in the management console.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(2)" target="_blank">Go -->
-<!-- 					to Web Applications...</a> <a href="javascript:generateAsFeatureUrl(3)" -->
-<!-- 					target="_blank">Read more (docs)...</a> -->
-<!-- 			</div> -->
-<!-- 		</div> -->
-
-
-<!-- 		<div class="story col1"> -->
-<!-- 			<div class="story-title">Message Tracing</div> -->
-<!-- 			<div class="story-content">Trace the request and responses to -->
-<!-- 				your service. Message Tracing is a vital debugging tool when you -->
-<!-- 				have clients from heterogeneous platforms.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(4)">Go to Message -->
-<!-- 					Tracing...</a> <a href="javascript:generateAsFeatureUrl(5)">Read -->
-<!-- 					more (docs)...</a> -->
-<!-- 			</div> -->
-
-<!-- 		</div> -->
-
-<!-- 		<div class="story col2"> -->
-<!-- 			<div class="story-title">WSDL2Java Tool</div> -->
-<!-- 			<div class="story-content">Use WSDL2Java tool in Web -->
-<!-- 				Application Server to convert Web Service WSDL to a set of Java -->
-<!-- 				objects.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(6)">Go to WSDL2Java -->
-<!-- 					Tool...</a> <a href="javascript:generateAsFeatureUrl(7)">Read more -->
-<!-- 					(docs)...</a> -->
-<!-- 			</div> -->
-<!-- 		</div> -->
-
-<!-- 		<div class="story col1"> -->
-<!-- 			<div class="story-title">Java2WSDL Tool</div> -->
-
-<!-- 			<div class="story-content">Use Java2WSDL tool in Web -->
-<!-- 				Application Server make it easy to develop a new web service.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(8)">Go to Java2WSDL -->
-<!-- 					Tool...</a> <a href="javascript:generateAsFeatureUrl(9)">Read more -->
-<!-- 					(docs)...</a> -->
-<!-- 			</div> -->
-<!-- 		</div> -->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/css/features-dashboard-new.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/css/features-dashboard-new.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/css/features-dashboard-new.css
deleted file mode 100755
index c6a95bb..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/css/features-dashboard-new.css
+++ /dev/null
@@ -1,155 +0,0 @@
-body{
-    background-color:#F2F2F2;
-}
-.db_menu {
-    width: 240px;
-    padding-top:20px;
-    line-height:20px;
-}
-
-.db_menu ul{
-    margin:0;
-    padding:0;
-    background: url("../images/back.jpg") repeat scroll left top transparent;
-}
-.db_menu li{
-    list-style-type:none;
-    margin-bottom:2px;
-
-    border-bottom: 1px solid #4BA5C6;
-    border-left: 6px solid #000;
-    padding: 10px;
-    width: auto;
-}
-.db_menu li a{
-    color: #48707E;
-    cursor:pointer;
-    width:100%;
-    font-size:13px;
-    white-space: nowrap;
-overflow: hidden;
-text-overflow: ellipsis;
-}
-.db_menu li.selected a{
-    font-weight:bold;
-}
-.db_table{
-    width:100%;
-    opacity:1;
-}
-.db_table td{
-    vertical-align:top;
-}
-
-.db_content{
-    padding:0px 10px 10px 0px;
-}
-#db_content_title{
-    color:#fff;
-    font-size:20px;
-    text-indent:10px;
-    height:40px;
-    padding:15px 5px;
-}
-.main-title{
-    color:#131313;
-    font-size:28px;
-    margin:10px;
-}
-/*Blue theme styles*/
-.page-picture{
-    padding:10px;
-}
-
-div.page-popup{
-    /*Rounded corners */
-    -moz-border-radius: 10px;
-    border-radius: 10px;
-
-
-}
-.page-popup  div.popup-circle{
-    height:100%;
-}
-#popup-close{
-    display:none !important;
-}
-table#main-table td#middle-content {
-    background: url("../images/workAreaBack.png") repeat-x scroll left top transparent;
-}
-div#middle {
-    background: none repeat scroll 0 0 transparent;
-    margin-top:-24px;
-}
-
-div#middle h2 {
-    font-size: 22px;
-}
-div#middle div#workArea {
-    background-color: transparent;
-}
-
-
-#middle .page-background {
-    background-image: none;
-}
-#middle .page-picture, #middle div.page-popup {
-    background-image: none;
-    border: medium none;
-}
-div#middle div#workArea, #middle #dashboard, #middle .page-background, #middle .page-picture {
-    padding: 0;
-}
-div#middle .main-title {
-    color: #727272;
-    font-size: 22px;
-}
-.goto-link1-wrapper{
-    float:right;
-    margin-bottom:10px;
-}
-
-.db_menu li a.goto-link1{
-    background:transparent url("../images/arrow-blue.png") no-repeat left top;
-    width:23px;
-    height:23px;
-    display:block;
-}
-.goto-link2{
-    background:transparent url("../images/arrow-white.png") no-repeat left top;
-    width:23px;
-    height:23px;
-    display:block;
-    float:left;
-}
-.goto-link2-prev{
-    float:left;
-    margin:5px 10px 0 0;
-}
-.service-menu-left-wrapper{
-    float:left;
-    width:185px;
-
-    white-space: nowrap;
-    overflow: hidden;
-    text-overflow: ellipsis;
-}
-
-.green-note {
-    white-space:nowrap;
-    height:15px;
-}
-.db_menu li.manager-leftBar{ border-left-color:#0499cc;}
-.db_menu li.esb-leftBar{ border-left-color:#552988;}
-.db_menu li.as-leftBar{ border-left-color:#0067b1;}
-.db_menu li.dss-leftBar{ border-left-color:#00447c;}
-.db_menu li.greg-leftBar{ border-left-color:#794400;}
-.db_menu li.is-leftBar{ border-left-color:#e86d1f;}
-.db_menu li.bam-leftBar{ border-left-color:#8a2529;}
-.db_menu li.bam-leftBar{ border-left-color:#8a2529;}
-.db_menu li.bps-leftBar{ border-left-color:#ee3124;}
-.db_menu li.brs-leftBar{ border-left-color:#f1645d;}
-.db_menu li.cg-leftBar{ border-left-color:#0499cc;}
-.db_menu li.cep-leftBar{ border-left-color:#a70063;}
-.db_menu li.mb-leftBar{ border-left-color:#767395;}
-.db_menu li.ss-leftBar{ border-left-color:#5a1a0d;}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/css/ie7.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/css/ie7.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/css/ie7.css
deleted file mode 100755
index 58c394e..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/css/ie7.css
+++ /dev/null
@@ -1,8 +0,0 @@
-div#middle h2{
-    margin-top:15px;
-}
-
-table#main-table td#middle-content{
-    background-position:left 30px;
-    background-color:#fff;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-blue.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-blue.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-blue.png
deleted file mode 100755
index 040d789..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-blue.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-white.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-white.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-white.png
deleted file mode 100755
index 4293aec..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-white.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/back.jpg
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/back.jpg b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/back.jpg
deleted file mode 100755
index dda1588..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/back.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/boxes.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/boxes.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/boxes.png
deleted file mode 100755
index aaf9473..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/boxes.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/dashboard-back-repeat.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/dashboard-back-repeat.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/dashboard-back-repeat.png
deleted file mode 100755
index e5058e7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/dashboard-back-repeat.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/workAreaBack.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/workAreaBack.png b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/workAreaBack.png
deleted file mode 100755
index 1999420..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/images/workAreaBack.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/index.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/index.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/index.html
deleted file mode 100755
index ada6150..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/index.html
+++ /dev/null
@@ -1,173 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-    <title>Dashboard</title>
-    <link type="text/css" href="../../../../features-dashboard/tenant-dashboard/css/features-dashboard-new.css" rel="stylesheet"/>
-    <script type="text/javascript" src="../../../../features-dashboard/tenant-dashboard/js/jquery-1.7.1.min.js"></script>
-    <script type="text/javascript" src="../../../../features-dashboard/tenant-dashboard/js/jquery.masonry.min.js"></script>
-
-    <script type="text/javascript">
-        var def = 'manager'; //This is the default section to display images
-        var hideOnMouseLeave = false; //Set this to true if you want to hide the popup on mouse out from the popup
-        var nameObj = {
-            manager:'Cloud Services',
-            as:'Application Services',
-            dss:'Data Services',
-            ms:'Mashup Services',
-            is:'Identity Services',
-            greg:'Governance Services',
-            gs:'Gadget Services',
-            bam:'Business Activity Monitor',
-            bps:'Business Process Services',
-            brs:'Business Rules Services',
-            esb:'Enterprise Service Bus',
-            cep:'Complex Event Processing Services',
-            mb:'Message Broker Services',
-            csg:'Cloud Gateway'
-        };
-        $(document).ready(function() {
-            for (var name in nameObj) {
-                var newDiv = document.createElement('div');
-                newDiv.id = name + "_content";
-                newDiv.style.display = "none";
-                jQuery(newDiv).load('../../../../features-dashboard/dashboards/' + name + '.html');
-                document.getElementById('container').appendChild(newDiv);
-            }
-            //Close button event register
-            $('#popup-close').click(
-                    function(){
-                        $(this).hide();
-                        $('#db_content_title').hide();
-                        $('#container > div').hide('slow');
-                        $('#page-popup').removeClass("page-popup");
-                        $('.db_menu li').removeClass("selected");
-                        loadDefalut();
-                    }
-                    );
-
-
-            //Showing title and content for the default manager div
-                $('#db_content_title').html(nameObj[def]);
-                $('#' + def + '_info').addClass("selected");
-//                $('#page-popup').addClass("page-popup");
-            var loadDefalut = function() {
-                $('#db_content_title').show();
-                var container = $('#' + def + '_content');
-                container.show(function() {
-                    container.imagesLoaded(function() {
-                        container.masonry({
-                            itemSelector : '.story',
-                            columnWidth : 250,
-                            isAnimated: true,
-                            animationOptions: {
-                                duration: 750,
-                                easing: 'linear',
-                                queue: false
-                            }
-                        });
-                    });
-                });
-            };
-            loadDefalut();
-
-            //Handle mouse over event
-            $('.db_menu li a').mouseover(
-                    function() {
-                        //Handle the menu styles
-                        $('.db_menu li').removeClass("selected");
-
-                        if(hideOnMouseLeave){
-                            $('#page-popup').mouseleave(
-                                    function(){
-                                        $('#page-popup').removeClass("page-popup");
-                                        $('#container > div').hide('slow');
-                                        $('#db_content_title').hide();
-                                        $('#popup-close').hide();
-                                    }
-                                    );
-                        }
-
-
-                        //Get the relevent catagory from the id of the link that has been mouse overred.
-                        var cat = this.id.split('_')[0];
-
-                        //hide all content and show and init the  mansonry for the relevent one
-                        $('#container > div').hide();
-                        $('#db_content_title').show();
-                        $('#db_content_title').html(nameObj[cat]);
-                        if(cat == def){
-                            $('#page-popup').removeClass("page-popup");
-                            $('#popup-close').hide();
-                        }else{
-
-                            //Show the gray box and register an event handler to remove it when the mouse is ouside
-                            $('#page-popup').addClass("page-popup");
-                            $('#popup-close').show();
-                            $(this.parentNode).addClass("selected");
-
-                        }
-                        var container = $('#' + cat + "_content");
-                        $('#' + cat + '_content').show(
-                                function() {
-                                    container.imagesLoaded(function() {
-                                        container.masonry({
-                                            itemSelector : '.story',
-                                            columnWidth : 250,
-                                            isAnimated: true,
-                                            animationOptions: {
-                                                duration: 750,
-                                                easing: 'linear',
-                                                queue: false
-                                            }
-                                        });
-                                    });
-                                }
-                                );
-                    }
-                    );
-        });
-
-
-    </script>
-</head>
-<body>
-<div class="page-background">
-<div class="page-picture">
-<div id="page-popup">
-    <a id="popup-close" style="display:none;">close</a>
-    <table class="db_table">
-        <tr>
-            <div class="main-title">Services</div>
-            <td class="db_menu">
-                <ul>
-                    <li><a id="manager_info">Cloud Services</a></li>
-                    <li><a id="as_info" onclick="gotoAppServer();">Application Services </a></li>
-                    <li><a id="dss_info" onclick="gotoDss();">Data Services </a></li>
-                    <li><a id="ms_info" onclick="gotoMs();">Mashup Services </a></li>
-                    <li><a id="is_info" onclick="gotoIs();">Identity Services </a></li>
-                    <li><a id="greg_info" onclick="gotoGreg();">Governance Services </a></li>
-                    <li><a id="gs_info" onclick="gotoGs();">Gadget Services </a></li>
-                    <li><a id="bam_info" onclick="gotoBam();">Business Activity Monitor </a></li>
-                    <li><a id="bps_info" onclick="gotoBps();">Business Process Services </a></li>
-                    <li><a id="brs_info" onclick="gotoBrs();">Business Rules Services </a></li>
-                    <li><a id="esb_info" onclick="gotoEsb();">Enterprise Service Bus </a></li>
-                    <li><a id="cep_info" onclick="gotoCep();">Complex Event Processing Services </a></li>
-                    <li><a id="mb_info" onclick="gotoMb();">Message Broker </a></li>
-                    <li><a id="csg_info" onclick="gotoCsg();">Cloud Gateway </a></li>
-                </ul>
-
-            </td>
-            <td class="db_content">
-                <div class="popup-circle">
-                    <div id="db_content_title"></div>
-                    <div id="container"></div>
-                </div>
-            </td>
-        </tr>
-    </table>
-</div>
-</div>
-</div>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/index.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/index.jsp b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/index.jsp
deleted file mode 100755
index 3421af8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/index.jsp
+++ /dev/null
@@ -1,205 +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.
- -->
-
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Data"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Service"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Link"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Story"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.utils.Utils"%>
-
-<%@ page import="java.util.HashMap"%>
-<%@ page import="java.util.Iterator"%>
-<%@ page import="java.util.Map"%>
-
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
-<jsp:useBean id="serviceData" class="org.wso2.stratos.manager.feature.dashbord.ui.beans.Data"
-             scope="session"></jsp:useBean>
-<%
-	serviceData = Utils.pupulateDashboardFeatures();
-	request.getSession().setAttribute("serviceData", serviceData);
-
-	// Data data = Utils.pupulateDashboardFeatures();
-	Map<String, Service> allServices = serviceData.getServices();
-	String serviceNames[] = serviceData.getServiceNames();
-	String keys[] = serviceData.getKeys();
-%>
-<script type="text/javascript">
- function openServer(url) {
-	 window.open(url,'_newtab')  ;
- }
-</script>
-
-
-<!DOCTYPE HTML>
-<html>
-<head>
-    <title>Dashboard</title>
-    <link type="text/css" href="../../../../features-dashboard/tenant-dashboard/css/features-dashboard-new.css" rel="stylesheet"/>
-    <!--[if IE 7]>
-	    <link rel="stylesheet" type="text/css" href="../../../../features-dashboard/tenant-dashboard/css/ie7.css">
-    <![endif]-->
-    <script type="text/javascript" src="../../../../features-dashboard/tenant-dashboard/js/jquery-1.7.1.min.js"></script>
-    <script type="text/javascript" src="../../../../features-dashboard/tenant-dashboard/js/jquery.masonry.min.js"></script>
-
-    <script type="text/javascript">
-        var def = 'manager'; //This is the default section to display images
-        var hideOnMouseLeave = false; //Set this to true if you want to hide the popup on mouse out from the popup
-
-        var nameObj = {
-        		<%for (int i = 0; i < serviceNames.length; i++) {
-				String name = serviceNames[i];
-				String key = keys[i];
-				if (i == serviceNames.length - 1) {%><%=key%>:'<%=name%>'
-				<%} else {%><%=key%>:'<%=name%>',
-				<%}%>
-        		<%}%>
-        };
-
-
-
-        $(document).ready(function() {
-            for (var name in nameObj) {
-                $.ajax({
-                    url:'../../../../features-dashboard/dashboards/server.jsp?name='+name,
-                    async:false,
-                    success:function(data){
-                        $('#container').append($('<div id="'+name + '_content"'+'>'+data+'</div>').hide());
-                    }
-                });
-            }
-
-            //Showing title and content for the default manager div
-                $('#db_content_title').html(nameObj[def]);
-                $('#' + def + '_info').parent().addClass("selected");
-//                $('#page-popup').addClass("page-popup");
-            var loadDefalut = function() {
-                $('#db_content_title').show();
-                var container = $('#' + def + '_content');
-                container.show(function() {
-                    container.imagesLoaded(function() {
-                        container.masonry({
-                            itemSelector : '.story',
-                            columnWidth : 250,
-                            isAnimated: true,
-                            animationOptions: {
-                                duration: 750,
-                                easing: 'linear',
-                                queue: false
-                            }
-                        });
-                    });
-                });
-            };
-            loadDefalut();
-
-            //Handle mouse over event
-            $('.db_menu li a.service-menu-left').click(
-                    function() {
-                        //Handle the menu styles
-                        $('.db_menu li').removeClass("selected");
-
-
-                        //Get the relevent catagory from the id of the link that has been mouse overred.
-                        var cat = this.id.split('_')[0];
-
-                        var href = $('a.goto-link1',$(this).parent().parent()).attr('href');
-
-                        //hide all content and show and init the  mansonry for the relevent one
-                        $('#container > div').hide();
-                        $('#db_content_title').show();
-						
-						if(cat == "manager"){
-							$('#db_content_title').html('<div class="goto-link2-prev">'+nameObj[cat]+'</div>');
-						}else{
-							$('#db_content_title').html('<div class="goto-link2-prev">'+nameObj[cat]+'</div><a class="goto-link2" href="'+href+'" target="_blank"></a>');
-						}
-						
-					
-                        if(cat == def){
-                            $('#page-popup').removeClass("page-popup");
-							 $(this.parentNode).addClass("selected");
-                        }else{
-
-                            //Show the gray box and register an event handler to remove it when the mouse is ouside
-                            $('#page-popup').addClass("page-popup");
-                            $(this.parentNode.parentNode).addClass("selected");
-
-                        }
-
-                        var container = $('#' + cat + "_content");
-                        $('#' + cat + '_content').show();
-                        $('#' + cat + '_content div.story').die();
-                        $('#' + cat + '_content').masonry({
-                          itemSelector: '.story',
-                          columnWidth: 250,
-                            isAnimated: true,
-                                        animationOptions: {
-                                            duration: 750,
-                                            easing: 'linear',
-                                            queue: false
-                                        }
-                        });
-                    }
-                    );
-        });
-
-
-    </script>
-</head>
-<body>
-
-<div class="page-background">
-<div class="page-picture">
-<div id="page-popup">
-    <table class="db_table">
-        <tr>
-            <div class="main-title">Services</div>
-            <td class="db_menu">
-                <ul>
-                  <li class="manager-leftBar"><a class="service-menu-left" id="manager_info">Cloud Services</a></li>
-                  <%
-
-                  	for (Map.Entry<String, Service> entry : allServices.entrySet()) {
-                  		Service myservice = entry.getValue();
-                  		String name = myservice.getName();
-                  		String link = myservice.getLink();
-                  		String id = myservice.getKey()+"_info";
-                  		if (!id.equals("manager_info")) {
-                  %>
-                          <li class="<%=myservice.getKey()%>-leftBar"><div class="service-menu-left-wrapper"><a class="service-menu-left" id="<%=id%>"><%=name%></a></div><div class="goto-link1-wrapper"><a href="<%=link%>" target="_blank" class="goto-link1"></a></div><div style="clear:both"></div> </li>
-
-                    <%
-                     	                    	}}
-                     	                    %>
-                </ul>
-
-            </td>
-            <td class="db_content">
-                <div class="popup-circle">
-                    <div id="db_content_title"></div>
-                    <div id="container"></div>
-                </div>
-            </td>
-        </tr>
-    </table>
-</div>
-</div>
-</div>
-
-
-</html>


[24/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/faq.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/faq.html b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/faq.html
deleted file mode 100755
index 1aa750c..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/faq.html
+++ /dev/null
@@ -1,392 +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 src="js/ga.js" async="" type="text/javascript"></script>
-
-
-
-	
-		<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>WSO2 StratosLive – the most complete open PaaS powered by the multi-tenant WSO2 Stratos cloud middleware platform,  and WSO2 Carbon enterprise middleware platform</title>
-		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
-		<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, multi-tenant, cloud enterprise middleware, SOA, open source PaaS" />
-	 	<link rel="stylesheet" href="js/orbit-1.2.3.css">
-		<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
-		<script type="text/javascript" src="js/jquery.orbit-1.2.3.min.js"></script>	
-		
-		
-			<!--[if IE]>
-			     <style type="text/css">
-			         .timer { display: none !important; }
-			         div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
-			    </style>
-			<![endif]-->
-		
-		<script type="text/javascript">
-			$(window).load(function() {
-				$('#featured').orbit({
-					timer: false
-				});
-			});
-		</script>
-	<style type="text/css" charset="utf-8">/* See license.txt for terms of usage */
-</style></head><body dir="LTR" lang="en-US" text="#000000">
-		<div id="main-content">
-			<div id="header">
-				<div class="top-nav">
-					<ul>
-						<li><a href="http://stratoslive.wso2.com/" target="_blank">Stratoslive</a></li>
-						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/">Stratoslive home</a></li>
-						<li><a href="http://wso2.com/cloud/stratoslive/pricing/" target="_blank">Pricing</a></li>
-						<li class="right"><a href="http://www.wso2.com/cloud/services/support" target="_blank">Support</a></li>
-					</ul>
-				</div>
-<div class="logo"><img src="images/logo.gif"></div>
-
-			
-			</div>
-<p style="text-decoration: none;" align="JUSTIFY">
-<b><a name="faqs"></a>StratosLive Frequently Asked Questions</b>
-</p>
-
-
-			<div id="content">
-
-
-					
-					
-					<div class="banner">
-						
-					</div>
-
-	
-	
-	
-	
-	
-	
-	<style type="text/css">
-	<!--
-		P { color: #000000; font-family: "Arial"; font-size: 11pt }
-	-->
-	</style>
-
-<p style="text-decoration: none;" align="JUSTIFY"><br>
-</p>
-<pre><p align="JUSTIFY"><a href="#startup"><strong>	StratosLive Start-up Questions</strong></a>
-    </p><p align="JUSTIFY"><a href="#general"><strong>	Using StratosLive - General Questions</strong></a>
-    </p><p align="JUSTIFY"><a href="#features"><strong>	StratosLive Features</strong></a>
-    </p><p align="JUSTIFY"><a href="#private"><strong>	Stratos Private Set up</strong></a>
-</p></pre>
-<br><br>
-<p style="font-style: normal; font-weight: normal;" align="JUSTIFY"><a name="startup"></a><u><strong>StratosLive
-Start-up Questions</strong></u></p>
-<ol>
-	<li><p align="JUSTIFY"><strong>I have registered an account just now. Why am I
-	unable to log in yet?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Please make sure that you have validated the
-registration, by clicking the validation link in the email sent to
-you. Also make sure that you have entered the username (in the form
-of adminname@domainname) and password correct.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="2">
-	<li><p align="JUSTIFY"><strong>Why should I validate my domain?</strong></p>
-</li></ol>
-<p align="JUSTIFY">While domain validation is optional, you can prove
-the ownership of the domain by validating the domain. Otherwise, you
-may have to lose your account, if the legitimate owner of the domain
-claims it. You might skip this step at the time of registration, and
-validate the domain at a later time from your account.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="3">
-	<li><p align="JUSTIFY"><strong>I have registered for a particular Stratos
-	Service. Now do I have to register for the other services?</strong></p>
-</li></ol>
-<p align="JUSTIFY">No, you don't have to. Stratos tenants are centrally
-managed. That means, if you have registered from a service, you will
-be able to use all the Stratos services. However, as the tenant
-admin, you will be able to activate and deactivate the Stratos
-services, from Stratos Manager.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="4">
-	<li><p align="JUSTIFY"><strong>I didn't get any email after registering or
-	after resetting my password?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Please check your spam folder, in case if the mail
-had been treated as a spam by your mail server. If it is still not
-there, you may need to contact WSO2 Support on sorting this out. We
-are glad to help from our end.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="5">
-	<li><p align="JUSTIFY"><strong>How do I get any further assistance on using
-	Stratos/StratosLive?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Please contact WSO2 using <a href="http://wso2.com/contact/">http://wso2.com/contact/</a>, if
-you need further assistance. StratosLive forum can be found at
-<a href="http://wso2.org/forum/1241">http://wso2.org/forum/1241</a>.
-You also can send your queries to the stratos-dev mailing list (stratos-dev@wso2.org) regarding
-StratosLive PaaS or Stratos Cloud Middleware Platform.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="6">
-	<li><p align="JUSTIFY"><strong>I have registered for a 'Demo/Free'
-	account. Will I be charged, if I exceed the usage limits?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Free/Demo accounts are never charged. Anyway, you
-can upgrade and downgrade your usage plan at any time.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="7">
-	<li><p align="JUSTIFY"><strong>Now I have registered for an account. What's
-	next?</strong></p>
-</li></ol>
-<p align="JUSTIFY">If you are familiar with the WSO2 Carbon based
-products, there is nothing new to learn for StratosLive. StratosLive
-is simply the WSO2 Carbon Middleware Platform as a Service, with all
-the WSO2 Carbon based products available publicly over the cloud as
-services. For a detailed introduction to the Platform aspect of
-Carbon and StratosLive, refer to the article, <a href="http://wso2.org/library/blog-post/2011/08/wso2-stratoslive-enterprise-ready-java-paas">“WSO2
-StratosLive - An Enterprise Ready Java PaaS</a>.”</p>
-    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
-<p align="JUSTIFY"><br><br>
-</p>
-<p align="JUSTIFY"><a name="general"></a><u><strong>Using StratosLive - General Questions</strong></u></p>
-<ol>
-	<li><p align="JUSTIFY"><strong>Does Stratos support multi-tenant model?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, Stratos supports a multi-tenant model. In
-StratosLive PaaS, WSO2 is the super admin, and you have register a
-tenant. You can OEM Stratos, by setting up a private cloud for your
-own. In that case, you would be the super tenant and you can decide
-what level of functionality you want to allow your tenants.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="2">
-	<li><p align="JUSTIFY"><strong>How does Stratos overcome the inherent security
-	challenges of the cloud?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Tenants are isolated from each other in Stratos.
-Data processing code is protected by java security manager, hence the
-custom code deployed by tenants (such as web applications and web
-services) does not have access to it. Tenants are also prevented from
-executing the priviledged actions, such as opening the ports and
-accessing the file system. For more insights, please refer to the
-article, “<a href="http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud">How
-WSO2 StratosLive meets Security Challenges in Cloud</a>.”</p>
-<p align="JUSTIFY">
-</p>
-<ol start="3">
-	<li><p align="JUSTIFY"><strong>How is multi-tenancy achieved in Stratos? Is it
-	at the Database level or the application level?</strong></p>
-</li></ol>
-<p align="JUSTIFY">It is multi-tenanted at the database level, as far
-as the data stored by Stratos is concerned. For user data, we are
-currently working on a polyglot data architecture which will allow a
-range of choices from a share, multi-tenant NoSQL feature (based on
-Cassandra) to a per-tenant database model.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="4">
-	<li><p align="JUSTIFY"><strong>Do we have the opportunity to customize or
-	extend Stratos as appropriate?</strong></p>
-</li></ol>
-<p align="JUSTIFY">StratosLive is a publicly hosted Stratos Cloud
-Middleware Platform-as-a-Service, where you are using the services as
-a tenant. Tenants have limited access due to the security and the
-other concerns. But if you host Stratos in your own data center and
-OEM Stratos, as super tenant you will be able to extend Stratos and
-customize it more, as you prefer.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="5">
-	<li><p align="JUSTIFY"><strong>What are the developer frameworks supported by
-	Stratos/StratosLive?</strong></p>
-</li></ol>
-<p align="JUSTIFY">StratosLive is a Java Platform as a Service. We
-currently support any Java developer framework as we are currently
-only supporting deploying Java webapps (WAR files). 
-</p>
-<p align="JUSTIFY">
-</p>
-<ol start="6">
-	<li><p align="JUSTIFY"><strong>Does Stratos support secure tunneling?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, Stratos supports secure tunneling via the <a href="http://wso2.com/cloud/connectors/services-gateway/">Cloud
-Services Gateway</a>. Cloud Services Gateway is used to create a
-managed, secured channel for business processes and other tasks
-running in a public cloud to get access to enterprise data and
-services. It allows the service and data owners inside the enterprise
-to selectively publish services and data to the cloud. The resulting
-services can be fully protected – authentication, authorization,
-confidentiality, integrity and more. Here only the approved messages
-are delivered to access the services.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="7">
-	<li><p align="JUSTIFY"><strong>Does Stratos support elasticity?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, we do support elasticity with the cloud
-provider. In StratosLive, the services are fronted by WSO2 Load
-Balancer, which balances the load across the service instances and
-scales the services automatically according to the load. Stratos
-services also can scale with the other load balancers including the
-hardware loadbalancers.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="8">
-	<li><p align="JUSTIFY"><strong>Does Stratos support single sign-on?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, single sign-on and single sign-out are
-supported by design. Once you have logged into any of the Stratos
-services, you will not need to sign in to the other services.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="9">
-	<li><p align="JUSTIFY"><strong>Does Stratos support integration with
-	customer's on-premise Identity Management?</strong> 
-	</p>
-</li></ol>
-<p align="JUSTIFY">Yes. It is possible, and we will need to work with
-the customer to do this.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="10">
-	<li><p align="JUSTIFY"><strong>What lag times can we expect in different
-	parts of the globe?</strong> 
-	</p>
-</li></ol>
-<p align="JUSTIFY">This depends on the clients' deployment
-infrastructure, and where they decide to host it. We are currently
-working on support for Amazon's availability zones, so that we can
-isolate tenants to specific data centers.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="11">
-	<li><p align="JUSTIFY"><strong>Is there any speed issues reported with any
-	specific data types or streams?</strong> 
-	</p>
-</li></ol>
-<p align="JUSTIFY">No issues yet. Our architecture is 100% streaming,
-so we do not expect any issues either. EBay uses WSO2 Eneterprise
-Service Bus for 600 million messages/day and has flat line memory for
-messages ranging from 1kB to 100MB.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="12">
-	<li><p align="JUSTIFY"><strong>What are the supported cloud-providers? 
-	</strong></p>
-</li></ol>
-<p align="JUSTIFY">StratosLive is deployed on our co-lo servers over the
- native hardware. We also have had the public cloud deployed on top of 
-Amazon’s EC2. We also have a private cloud setup that is deployed on 
-Eucalyptus. Stratos follows the open standards, and is not coded for any
- particular cloud provider. Hence it is expected to work on any 
-Infrastructure as a Service.</p>
-    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
-<p align="JUSTIFY"><br><br>
-</p>
-<p align="JUSTIFY"><a name="features"></a><u><strong>StratosLive Features</strong></u></p>
-<ol>
-	<li><p align="JUSTIFY"><strong>Does Stratos support encrypted communications?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, it does. Data communication from the browser to
-back-end Admin Services happens over https (encrypted), which
-provides transport-level protection. 
-</p>
-<p align="JUSTIFY">
-</p>
-<ol start="2">
-	<li><p align="JUSTIFY"><strong>Does StratosLive support metering?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, it does. Tenants are metered and billed for
-their usage. Tenants can view their usage information from Stratos
-Manager. For more insights on the metering, throttling, and billing,
-refer to the article “<a href="http://wso2.org/library/articles/2011/08/metering-throttling-billing-stratoslive">Metering,
-Throttling and Billing in StratosLive</a>”.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="3">
-	<li><p align="JUSTIFY"><strong>Do you support Memcache?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, we have a scalable distributed cache using
-EHCache that we expose via the Java caching API.</p>
-    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
-<p align="JUSTIFY"><br><br>
-</p>
-<p align="JUSTIFY"><a name="private"></a><u><strong>Stratos Private Set up</strong></u></p>
-<ol>
-	<li><p align="JUSTIFY"><strong>Can we set up our Stratos locally or as a PaaS?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Sure. StratosLive is a publicly hosted PaaS by WSO2.
-Similarly, you can deploy Stratos publicly over the cloud for your
-organization or for the public. In this case, you will be the super
-tenant. You can also deploy Stratos as a private cloud for your
-organization. Hybrid cloud set ups too are possible.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="2">
-	<li><p align="JUSTIFY"><strong>Is it possible to migrate our services and data
-	from our tenant in StratosLive to our private Stratos cloud setup?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Migrating from StratosLive to your private Stratos
-cloud setup is possible, since StratosLive is the same Stratos Cloud
-Middleware platform hosted as StratosLive Platform as a Service. 
-</p>
-<p align="JUSTIFY">
-</p>
-<ol start="3">
-	<li><p align="JUSTIFY"><strong>Can we isolate specific accounts for throttling
-	or increase bandwidth?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, the load balancing logic and throttling logic
-are tenant aware. So if you are deploying Stratos locally, as the
-super tenant, you will be able to throttle the tenants. 
-</p>
-<p align="JUSTIFY">
-</p>
-<ol start="4">
-	<li><p align="JUSTIFY"><strong>Can we setup Stratos in a personal computer?</strong></p>
-</li></ol>
-<p align="JUSTIFY">You can setup Stratos in a computer with all the
-services, given that the computer has the required memory, processor,
-and disk space. For example, Stratos requires 4 GB memory, and at
-least 8 GB is recommended. You may also find it convenient to run
-only the services that you require at once, if you have limited
-resources.</p>
-
-    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
-<p align="JUSTIFY"><br><br>
-</p>
-<div class="clear"></div>
-				<div id="bottom">
-					
-					
-					
-					<div class="clear"></div>
-				</div>
-			</div>
-			<div id="footer">
-				<div class="footer-links">
-					<a target="_blank" href="http://www.wso2.com/cloud/services/terms-of-use">Terms of Use</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/privacy-policy">Privacy Policy</a> | <a target="_blank" href="http://wso2.com/cloud/services/sla/">Service Level Agreement</a> | <a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/support">Support</a>
-				</div>
-				<div class="powered">
-						<span>Powered by</span><img src="images/powered-logo.gif" alt="ESB">
-					</div>
-					<span class="copyright">©stratoslive.wso2.com copyright 2010-2012 WSO2, Inc. </span>
-				</div>
-			</div>
-		
-	</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/bottom.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/bottom.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/bottom.gif
deleted file mode 100755
index 5679266..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/bottom.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/bullet-01.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/bullet-01.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/bullet-01.gif
deleted file mode 100755
index 7148f4d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/bullet-01.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/content-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/content-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/content-bg.gif
deleted file mode 100755
index 6d0a579..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/content-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/favicon.ico
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/favicon.ico b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/favicon.ico
deleted file mode 100755
index f7b2bbf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/favicon.ico and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-01-icon.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-01-icon.gif
deleted file mode 100755
index ff3ba26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-01-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-02-icon.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-02-icon.gif
deleted file mode 100755
index ee4cb66..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-02-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-03-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-03-icon.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-03-icon.gif
deleted file mode 100755
index 8f3c2a1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-03-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-middle-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-middle-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-middle-bg.gif
deleted file mode 100755
index d2fb97e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/feature-middle-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/intro-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/intro-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/intro-bg.gif
deleted file mode 100755
index a38a0df..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/intro-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/intro-text.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/intro-text.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/intro-text.gif
deleted file mode 100755
index 61441a2..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/intro-text.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/left-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/left-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/left-bg.gif
deleted file mode 100755
index 72dc051..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/left-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/logo.gif
deleted file mode 100755
index 1e7b2ce..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/powered-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/powered-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/powered-logo.gif
deleted file mode 100755
index fb478bf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/powered-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/register.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/register.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/register.gif
deleted file mode 100755
index 3260908..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/register.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/sign-in.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/sign-in.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/sign-in.gif
deleted file mode 100755
index ae2a4d7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/sign-in.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/stratos-products-new.jpg
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/stratos-products-new.jpg b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/stratos-products-new.jpg
deleted file mode 100755
index bbbdb00..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/stratos-products-new.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/title-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/title-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/title-bg.gif
deleted file mode 100755
index 2d539a7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/title-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/top.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/top.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/top.gif
deleted file mode 100755
index 9ed482c..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/top.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/webinar.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/webinar.png b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/webinar.png
deleted file mode 100755
index 434f660..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/webinar.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/white-paper.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/white-paper.png b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/white-paper.png
deleted file mode 100755
index 3fb643e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/images/white-paper.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/index.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/index.html b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/index.html
deleted file mode 100755
index b186b76..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/index.html
+++ /dev/null
@@ -1,119 +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>
-		<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>WSO2 StratosLive – the most complete open PaaS powered by the multi-tenant WSO2 Stratos cloud middleware platform,  and WSO2 Carbon enterprise middleware platform</title>
-		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
-		<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, multi-tenant, cloud enterprise middleware, SOA, open source PaaS" />
-	 	<link rel="stylesheet" href="js/orbit-1.2.3.css">
-		<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
-		<script type="text/javascript" src="js/jquery.orbit-1.2.3.min.js"></script>	
-		
-			<!--[if IE]>
-			     <style type="text/css">
-			         .timer { display: none !important; }
-			         div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
-			    </style>
-			<![endif]-->
-		
-		<script type="text/javascript">
-			$(window).load(function() {
-				$('#featured').orbit({
-					timer: false
-				});
-			});
-		</script>
-	</head>
-
-	<body>
-		<div id="main-content">
-			<div id="header">
-				<div class="top-nav">
-					<ul>
-						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/">StratosLive Home</a></li>
-						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a></li>
-						<li><a target="_blank" href="http://docs.wso2.org/display/stratos/Stratos+Frequently+Asked+Questions">FAQ</a></li>
-						<li><a target="_blank" href="http://www.wso2.com/cloud/services/support">Support</a></li>
-						<li class="right"><a target="_blank" href="mailto:support+stratoslive@wso2.com">Contact</a></li>
-					</ul>
-				</div>
-				<div class="logo"><img src="images/logo.gif"/></div>
-			</div>
-			<div id="content">
-				<div id="left">
-					<div class="stratos-products">
-						<div class="title">
-							<img src="images/intro-text.gif" alt="Get instant access right now to enterprise-grade Middleware Platform-as-a-Service:"/>
-						</div>
-						<div class="products">
-							<a href="http://appserver.stratoslive.wso2.com/" class="as-new"></a>
-							<a href="http://data.stratoslive.wso2.com/" class="dss-new"></a>
-							<a href="http://identity.stratoslive.wso2.com/" class="is-new"></a>
-							<a href="http://governance.stratoslive.wso2.com/" class="greg-new"></a>
-							<a href="http://monitor.stratoslive.wso2.com/" class="bam-new"></a>
-							<a href="http://process.stratoslive.wso2.com/" class="bps-new"></a>
-							<a href="http://rule.stratoslive.wso2.com/" class="brs-new"></a>
-							<a href="http://esb.stratoslive.wso2.com/" class="esb-new"></a>
-							<a href="http://messaging.stratoslive.wso2.com/" class="mb-new"></a>
-							<a href="http://cep.stratoslive.wso2.com/" class="cep-new"></a>
-							<a href="http://cg.stratoslive.wso2.com/" class="cg-new"></a>
-							<a href="http://ss.stratoslive.wso2.com/" class="ss-new"></a>
-							<a href="http://ts.stratoslive.wso2.com/" class="ts-new"></a>
-						</div>
-					</div>
-				</div>
-				<div id="right">
-					<div class="register">
-						<a href="https://stratoslive.wso2.com/carbon/tenant-register/select_domain.jsp"><img src="images/register.gif"/></a>
-						<a href="https://stratoslive.wso2.com/carbon/sso-acs/redirect_ajaxprocessor.jsp"><img src="images/sign-in.gif"/></a>
-					</div>
-					
-					<div class="banner">
-						<div id="featured"> 
-							<div class="screencast">
-								<h2>Introducing WSO2 Stratos</h2>
-								<object height="265" width="440"><param value="https://www.youtube.com/v/hF0u6tvDoLQ?fs=1&amp;hl=en_US&amp;fs=1&amp;showinfo=0" name="movie"><param value="true" name="allowFullScreen"><param value="always" name="allowscriptaccess"><embed height="265" width="440" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="https://www.youtube.com/v/hF0u6tvDoLQ?fs=1&amp;hl=en_US&amp;fs=1&amp;showinfo=0&amp;rel=0"></object>
-							</div>
-							<div class="whitepaper">
-								<a target="_blank" href="http://wso2.com/casestudies/effective-cloud-enablement-with-wso2-stratos/"><img src="images/white-paper.png"/></a>
-							</div>
-							<div class="webinar">
-								<a target="_blank"href="http://wso2.org/library/webinars/2011/05/lean-cloud-platform"><img src="images/webinar.png"/></a>
-							</div>
-						</div>
-					</div>
-				</div>
-				<div class="clear"></div>
-				<div id="bottom">
-					<div class="feature">
-						Build composite applications that automatically scale
-					</div>
-					<div class="feature">
-						Pay just for the services you use
-					</div>
-					<div class="feature">
-						Freedom to move applications and data to WSO2 Stratos in your own datacenter
-					</div>
-					<div class="clear"></div>
-				</div>
-			</div>
-			<div id="footer">
-				<div class="footer-links">
-					<a target="_blank" href="http://www.wso2.com/cloud/services/terms-of-use">Terms of Use</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/privacy-policy">Privacy Policy</a> | <a target="_blank" href="http://wso2.com/cloud/services/sla/">Service Level Agreement</a> | <a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/support">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-2012 WSO2, Inc. </span>
-				</div>
-			</div>
-		</div>
-	</body>
-
-</html>


[04/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/js/jquery-1.5.1.min.js
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/js/jquery-1.5.1.min.js b/products/stratos_controller/modules/distribution/lib/home/js/jquery-1.5.1.min.js
new file mode 100755
index 0000000..14fd647
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/lib/home/js/jquery-1.5.1.min.js
@@ -0,0 +1,16 @@
+/*!
+ * jQuery JavaScript Library v1.5.1
+ * http://jquery.com/
+ *
+ * Copyright 2011, John Resig
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ * Copyright 2011, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ *
+ * Date: Wed Feb 23 13:55:29 2011 -0500
+ */
+(function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No con
 version from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bP(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bO(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bq.test(a)?e(a,f):bO(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bO(a+"["+f+"]",b[f],c,e)}function bN(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bH,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bN(a,c,d,e,l,g)));(k||!l)&&!g["*"
 ]&&(l=bN(a,c,d,e,"*",g));return l}function bM(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bB),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bo(a,b,c){var e=b==="width"?bi:bj,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function ba(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function _(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function $(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a
 .outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(J.t
 est(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(r,"`").replace(s,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(p,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,handleObj:g,
 level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function w(){return!0}function v(){return!1}function g(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a
 ,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a)
 :this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selecto
 r+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h
 ,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return
  a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.documentElement,e=c.cre
 ateElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.
 length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="a
 rray"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}catch(g){throw g}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}var c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments.length,c=b<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),e=c.promise();if(b>1){var f=E.call(arguments,0),g=b,h=function(a){return function(b){f[a]=arguments.length>1?E.call(
 arguments,0):b,--g||c.resolveWith(e,f)}};while(b--)a=f[b],a&&d.isFunction(a.promise)?a.promise().then(h(b),c.reject):--g;g||c.resolveWith(e,f)}else c!==a&&c.resolve(a);return e},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b,a)}),i.test(" ")&&(
 j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected
 ,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e),b=e=f=null}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClone=m.cloneNode(!0).cl
 oneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d
 };d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!g(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,h=b.nodeType,i=h?d.cache:b,j=h?b[d.expando]:d.expando;if(!i[j])return;i
 f(c){var k=e?i[j][f]:i[j];if(k){delete k[c];if(!g(k))return}}if(e){delete i[j][f];if(!g(i[j]))return}var l=i[j][f];d.support.deleteExpando||i!=a?delete i[j]:i[j]=null,l?(i[j]={},h||(i[j].toJSON=d.noop),i[j][f]=l):h&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=f(
 this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";retur
 n this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var h=/[\n\t\r]/g,i=/\s+/,j=/\r/g,k=/^(?:href|src|style)$/,l=/^(?:button|input)$/i,m=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,o=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(i);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",h=
 f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(h+=" "+b[j]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(i);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var j=(" "+g.className+" ").replace(h," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");g.className=d.trim(j)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),j=b,k=a.split(i);while(f=k[g++])j=e?j:!h.hasClass(f),h[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.cla
 ssName),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(h," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var k=i?f:0,l=i?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(o.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(j,"")}return b}var n=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this
 .nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&o.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=k.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&l.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.rem
 oveAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:m.test(a.nodeName)||n.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var p=/\.(.*)$/,q=/^(?:textarea|input|select)$/i,r=/\./g,s=/ /g,t=/[^\w\s.|`]/g,u=function(a){return a.replace(t,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=v;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=fu
 nction(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split
 ("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var w=s.handle;w&&(w.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.e
 vent.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(p,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new R
 egExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.related
 Target&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeE
 vent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{if(b!==c&&!b.parentNode)return;while(b&&b!==th
 is)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&C("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&C("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.type,c=a.value;b==="ra
 dio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(q.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in 
 z)d.event.add(this,c+".specialChange",z[c]);return q.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return q.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.
 remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="ob
 ject"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=p.exec(h),k="",j&&(k=j[0],h=h.replace(p,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.s
 izset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[
 x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=fun
 ction(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");i
 f(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),e=c&&
 !d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute(
 "name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not"
 )if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type
 },reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!
 0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};f
 or(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i
 ;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),fu
 nction(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3
 ]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(d||!l.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return k(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test
  e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.text=k.getText,d.isXM
 LDoc=k.isXML,d.contains=k.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.i
 ndex(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling
 ")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.
 push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(fun
 ction(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1
 &&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"
 ));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).be
 fore(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,ba)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!
 V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){$(a,e),f=_(a),g=_(e);for(h=0;f[h];++h)$(f[h],g[h])}if(b){Z(a,e);if(c){f=_(a),g=_(e);for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElem
 ent==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElement
 sByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bb=/alpha\([^)]*\)/i,bc=/opacity=([^)]*)/,bd=/-([a-z])/ig,be=/([A-Z])/g,bf=/^-?\d+(?:px)?$/i,bg=/^-?\d/,bh={position:"absolute",visibility:"hidden",display:"block"},bi=["Left","Right"],bj=["Top","Bottom"],bk,bl,bm,bn=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:
 function(a,b){if(b){var c=bk(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bk)return bk(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bd,bn)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a
 ,c,e){var f;if(c){a.offsetWidth!==0?f=bo(a,b,e):d.swap(a,bh,function(){f=bo(a,b,e)});if(f<=0){f=bk(a,b,b),f==="0px"&&bm&&(f=bm(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bf.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bb.test(f)?f.replace(bb,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bl=function(a,c,e){var f,g,h;e=e.replace(be,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.
 documentElement.currentStyle&&(bm=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bf.test(d)&&bg.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bk=bl||bm,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bp=/%20/g,bq=/\[\]$/,br=/\r?\n/g,bs=/#.*$/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bu=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bv=/(?:^file|^widget|\-extension):$/,bw=/^(?:GET|HEAD)$/,bx=/^\/\//,by=/\?/,bz=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bA=/^(?:select|textarea)/i,bB=/\s+/,bC=/([?&])_=[^&]*/,bD=/(^|\-)([a-z]
 )/g,bE=function(a,b,c){return b+c.toUpperCase()},bF=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,bG=d.fn.load,bH={},bI={},bJ,bK;try{bJ=c.location.href}catch(bL){bJ=c.createElement("a"),bJ.href="",bJ=bJ.href}bK=bF.exec(bJ.toLowerCase()),d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bG)return bG.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bz,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(t
 his.checked||bA.test(this.nodeName)||bu.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(br,"\r\n")}}):{name:b.name,value:c.replace(br,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bJ,isLocal:bv.test(bK[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,asyn
 c:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bM(bH),ajaxTransport:bM(bI),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bP(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bQ(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigger("ajaxComplete",[u,e
 ]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bD,bE)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bt.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bs,"").replace(bx,bK[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bB),e.crossDomain||(q=bF.e
 xec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bK[1]||q[2]!=bK[2]||(q[3]||(q[1]==="http:"?80:443))!=(bK[3]||(bK[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bN(bH,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!bw.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(by.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bC,"$1_="+w);e.url=x+(x===e.url?(by.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);if(e.beforeSend&&(e.be
 foreSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bN(bI,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bO(g,a[g],c,f);return e.join("&").replace(bp,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bR=d.now(),bS=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bR++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==
 !1&&(bS.test(b.url)||f&&bS.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bS,l),b.url===j&&(f&&(k=k.replace(bS,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:fu
 nction(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bT=d.now(),bU,bV;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bX()||bY()}:bX,bV=d.ajaxSettings.xhr(),d.support.ajax=!!bV,d.support.cors=bV&&"withCredentials"in bV,bV=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),(!a.crossDomain||a.hasContent)&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttp
 Request");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bU[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bU||(bU={},bW()),h=bT++,g.onreadystatechange=bU[h]=c):c()},abort:function(){c&&c(0,1)}}}});var bZ={},b$=/^(?:toggle|show|hide)$/,b_=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ca,cb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(cc("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.displa
 y,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cd(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cc("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(cc("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))
 return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cd(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(b$.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=b_.exec(e),j=f.cur();if(i){var k=parseFloat(i[2]),l=i[3]||(d.cssNumber
 [c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:cc("show",1),slideUp:cc("hide",1),slideToggle:cc("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e}
 ,easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!ca&&(ca=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||t
 his.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easin
 g[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(ca),ca=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var ce=/^t(?:able|d|h)$/i,cf=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=
 b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=cg(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.of
 fsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!ce.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.exte
 nd(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative"
 );var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=cf.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!cf.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var
  f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=cg(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=cg(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset
 "+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);
\ No newline at end of file


[28/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-bill-generated.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-bill-generated.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-bill-generated.xml
deleted file mode 100755
index ff49b76..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-bill-generated.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent when bill generation is completed.
-  -->
-
-<configuration>       
-    <subject>[BillGeneration] Bill generation completed</subject>
-    <body>
-Hi ,
-
-Bill generation completed successfully on {date}. Following customers may need your attention.
-
-Customer Name	Subscription Plan	Carried Forward Balance
-===============================================
-{reported-customers}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-billing-notifications.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-billing-notifications.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-billing-notifications.xml
deleted file mode 100755
index 349c6f5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-billing-notifications.xml
+++ /dev/null
@@ -1,49 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent as the invoice of the tenant for the period.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services</subject>
-    <body>
-Hi {customer-name},
-
-This is the billing information for the time period of {start-date} to {end-date} for the use of WSO2 cloud services.
-
-Charges for subscriptions
-=========================
-{subscription-charges}
-
-Payment details
-===============
-{payment-details}
-
-Invoice Summary
-===============
-Brought Forward      {bought-forward}
-Total Cost          {total-cost}
-Total Payments      {total-payments}
-Carried Forward     {carried-forward}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-new-tenant-activation.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-new-tenant-activation.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-new-tenant-activation.xml
deleted file mode 100755
index 158a4c0..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-new-tenant-activation.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-
-<!--    
-    Contains the body of the mail that to be sent to the super admin or a given admin email address,
-    when a new tenant activates their account.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services - A Tenant Has Activated Their Account</subject>
-    <body>
-Hi,
-
-Congratulations! A tenant has activated their account just now in WSO2 Cloud Services. 
-
-Tenant Details
-===============
-Admin Name: {user-name}
-Domain Name: {domain-name}
-Email Address: {email-address}
-
-Tenant Admin Profile
-====================
-First Name: {first-name}
-Last Name: {last-name}
-
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-new-tenant-registration.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-new-tenant-registration.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-new-tenant-registration.xml
deleted file mode 100755
index aacc048..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-new-tenant-registration.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-
-<!--    
-    Contains the body of the mail that to be sent to the super admin or a given admin email address,
-    when a new tenant registers for an account.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services - A New Tenant Has Registererd To Stratos</subject>
-    <body>
-Hi,
-
-Congratulations! A new tenant has registered an account in WSO2 Cloud Services. 
-
-Tenant Details
-===============
-Admin Name: {user-name}
-Domain Name: {domain-name}
-Email Address: {email-address}
-
-Tenant Admin Profile
-====================
-First Name: {first-name}
-Last Name: {last-name}
-
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-password-reset.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-password-reset.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-password-reset.xml
deleted file mode 100755
index 73a5f5b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-password-reset.xml
+++ /dev/null
@@ -1,42 +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.
- -->
-
-<!-- 
-   Contains the body of the mail that to be sent when the tenant admin's password is reset, mostly
-   by a service administrator, known as the super-tenant in Stratos-world.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services - Password Reset</subject>
-    <body>
-Hi {first-name},
-
-Your password for the WSO2 Cloud Services has been reset by the Service Administrator.
-
-Admin Name: {user-name}
-Domain: {domain-name}
-
-Your New Password: {password}
-
-Please use this password along with your existing username to log in to your account. You are adviced to change the password once you logged in to your account using this password.
-
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-payment-received-customer.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-payment-received-customer.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-payment-received-customer.xml
deleted file mode 100755
index 6f16035..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-payment-received-customer.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent when a payment is received.
-  -->
-
-<configuration>       
-    <subject>[Payment Received] WSO2 Cloud Services</subject>
-    <body>
-Hi {customer-name},
-
-Thank you for your payment done on {date}. Following are the payment details.
-
-Transaction ID	: {transaction-id}
-Amount		: {amount}
-Invoice ID	: {invoice-id}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-payment-received-wso2.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-payment-received-wso2.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-payment-received-wso2.xml
deleted file mode 100755
index 5188ce5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-payment-received-wso2.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent when a payment is received.
-  -->
-
-<configuration>       
-    <subject>[Payment Received] WSO2 Cloud Services</subject>
-    <body>
-Hi Finance Team,
-
-A payment was recived from customer {customer-name} on {date}. Following are the payment details.
-
-Transaction ID	: {transaction-id}
-Amount		: {amount}
-Invoice ID	: {invoice-id}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-registration-complete.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-registration-complete.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-registration-complete.xml
deleted file mode 100755
index d09c2a8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-registration-complete.xml
+++ /dev/null
@@ -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.
- -->
-
-<!-- 
-   The mail that to be sent upon successful registration and the successful validation 
-    of the email.
-  -->
-
-<configuration>       
-    <subject>WSO2 Cloud Services - Registration completed</subject>
-    <body>
-Hi {first-name},
-
-Congratulations! You have successfully created an account in WSO2 Cloud Services. Now you can access your account by visiting the following URL. Please bookmark this URL to visit your account later.
-
-Your account url: https://stratoslive.wso2.com/t/{domain-name}
-
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-registration-moderation.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-registration-moderation.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-registration-moderation.xml
deleted file mode 100755
index 50e64c5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-registration-moderation.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-
-<!-- 
-   The mail to be sent for the tenant registration validation.    
-   This mail has the registration validation link to validate the email too.
-  -->
-
-<configuration>
-    <targetEpr>https://stratoslive.wso2.com/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
-    <subject>WSO2 StratosLive - A New Tenant Awaits Approval</subject>
-    <body>
-Hi,
-
-A new tenant has registered an account in WSO2 StratosLive.
-
-Admin Name: {user-name}
-Domain: {domain-name}
-
-User Name: {user-name}@{domain-name}
-
-Please click the following link to complete the registration request. The registered tenant will not be able to 
-log in or use their account till then.
-    </body>
-    <footer>
-Best Regards,
-WSO2 Stratos Team
-http://stratoslive.wso2.com
-    </footer>
-    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-registration-payment-received-customer.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-registration-payment-received-customer.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-registration-payment-received-customer.xml
deleted file mode 100755
index 2335e83..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-registration-payment-received-customer.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent when a payment is received.
-  -->
-
-<configuration>       
-    <subject>[Registration Payment] WSO2 Cloud Services</subject>
-    <body>
-Hi {customer-name},
-
-Thank you for your payment done on {date} for StratosLive registration. Following are the payment details.
-
-Transaction ID	: {transaction-id}
-Amount		: {amount}
-Registered domain	: {tenant-domain}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-registration.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-registration.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-registration.xml
deleted file mode 100755
index 56b0ca8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-registration.xml
+++ /dev/null
@@ -1,45 +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.
- -->
-
-<!-- 
-   The mail to be sent for the tenant registration validation.    
-   This mail has the registration validation link to validate the email too.
-  -->
-
-<configuration>
-    <targetEpr>https://localhost:9443/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
-    <subject>WSO2 Cloud Services - Email validation instructions</subject>
-    <body>
-Hi {first-name},
-
-Thank you for registering an account in WSO2 Cloud Services.
-
-Your Admin Name: {user-name}
-Your Domain: {domain-name}
-
-Your User Name: {user-name}@{domain-name}
-
-Please click the following link to verify your email address.
-    </body>
-    <footer>
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </footer>
-    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/email-update.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/email-update.xml b/products/stratos2/stratos_controller/1.0.1/conf/email-update.xml
deleted file mode 100755
index 521f1ad..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/email-update.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-   The mail that to be sent upon receiving an email change request from the account management.
-   The new email address will be notified of this change.
-  -->
-
-<configuration>       
-    <targetEpr>https://localhost:9443/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
-    <subject>WSO2 Cloud Services - Updating the contact email address</subject>
-    <body>
-Hi {first-name},
-
-We got a request from you or some one to associate this email address, as the contact email address of your WSO2 cloud services account. Please click the following link to verify your email address.
-    </body>
-    <footer>
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </footer>
-    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/embedded-ldap.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/embedded-ldap.xml b/products/stratos2/stratos_controller/1.0.1/conf/embedded-ldap.xml
deleted file mode 100644
index 6e64fac..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/embedded-ldap.xml
+++ /dev/null
@@ -1,162 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- *
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* 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.
-* -->
-
-<!--
-	All carbon based products comes with a LDAP user store.
-	For this we use an embedded LDAP in carbon based products.
-	This file contains necessary configurations to control the behavior of embedded LDAP.
-	You may use this file to enable, disable LDAP server, configure connection admin password, etc ...
-	In addition to embedded-ldap server configurations this file also has Kerberos KDC (Key Distribution Center)
-	specific configurations.
--->
-
-<EmbeddedLDAPConfig>
-
-  <!--
-	LDAP server configurations
-	==========================
-	This section contains LDAP server specific configurations.
-
-	Property                Usage
-	=======                 ====
-	enable                  If true the embedded LDAP server will start when server starts up.
-				            Else embedded LDAP server will not start. Thus user has to use a different
-				            user store.
-	instanceid              An id given to the LDAP server instance.
-	connectionPassword      The password of the admin. (uid=admin,ou=system)
-	workingDirectory        Location where LDAP will store its schema files.
-	AdminEntryObjectClass   Object class which encapsulate attributes needed by claims.
-	allowAnonymousAccess    Should allow users to access LDAP server without credentials. Default false.
-	accessControlEnabled    Should access control be enabled among partitions. Default true.
-	saslHostName            Default host name to be used in SASL (Simple Authentication and Security Layer).
-				            This property comes from apacheds implementation itself.
-	saslPrincipalName       Default SASL principal name. Again this property also comes from apacheds implementation
-				            itself.
-  -->
-  <EmbeddedLDAP>
-    <Property name="enable">false</Property>
-    <Property name="port">${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-    <Property name="instanceId">default</Property>
-    <Property name="connectionPassword">admin</Property>
-    <Property name="workingDirectory">.</Property>
-    <Property name="AdminEntryObjectClass">wso2Person</Property>
-    <Property name="allowAnonymousAccess">false</Property>
-    <Property name="accessControlEnabled">true</Property>
-    <Property name="denormalizeOpAttrsEnabled">false</Property>
-    <Property name="maxPDUSize">2000000</Property>
-    <Property name="saslHostName">localhost</Property>
-    <Property name="saslPrincipalName">ldap/localhost@EXAMPLE.COM</Property>
-  </EmbeddedLDAP>
-
-  <!--
-	Default partition configurations
-	================================
-	When embedded LDAP server starts for the first time it will create a default partition.
-	Following properties configure values for the default partition.
-
-	Property                        Usage
-	=======                         =====
-	id                              Each partition is given an id. The id given to the default paritition.
-	realm                           Realm is the place where we store user principals and service principals.
-                                        The name of the realm for default partition.
-	kdcPassword                     This parameter is used when KDC (Key Distribution Center) is enabled. In apacheds
-                                        KDC also has a server principal. This defines a password for KDC server principal.
-	ldapServerPrinciplePassword     If LDAP server is also defined as a server principal, this will be the password.
-
-  -->
-  <DefaultPartition>
-    <Property name="id">root</Property>
-    <Property name="realm">wso2.org</Property>
-    <Property name="kdcPassword">secret</Property>
-    <Property name="ldapServerPrinciplePassword">randall</Property>
-  </DefaultPartition>
-
-  <!--
-	Default partition admin configurations
-	======================================
-	In a multi-tenant scenario each tenant will have a separate partition. Thus tenant admin will be the partition admin.
-	Following configurations define admin attributes for above created default partition.
-
-	Property            Usage
-	========            =====
-	uid                 UID attribute for partition admin.
-	commonName          The cn attribute for admin
-	lastName            The sn attribute for admin
-	email               The email attribute for admin
-	passwordType        The password hashing mechanism. Following hashing mechanisms are available, "SHA", "MD5".
-                        "Plaintext" is also a valid value. If KDC is enabled password type will be enforced to be
-                        plain text.
-  -->
-  <PartitionAdmin>
-    <Property name="uid">admin</Property>
-    <Property name="firstName">admin</Property>
-    <Property name="lastName">admin</Property>
-    <Property name="email">admin@wso2.com</Property>
-    <Property name="password">admin</Property>
-    <Property name="passwordType">SHA</Property>
-  </PartitionAdmin>
-
-  <!--
-	Default partition admin's group configuration
-	=============================================
-	Embedded LDAP is capable of keeping group information also.
-	If LDAP groups are enabled in user store (usr-mgt.xml) group information will be
-	recorded in a separate sub-context. Following configuration defines the group
-	properties.
-
-	Property                Usage
-	=======                 =====
-	adminRoleName		    The name of the role/group that admin should be included.
-	groupNameAttribute	    The attribute which group name will be recorded.
-	memberNameAttribute	    The attribute which memebers are recorded.
-  -->
-  <PartitionAdminGroup>
-    <Property name="adminRoleName">admin</Property>
-    <Property name="groupNameAttribute">cn</Property>
-    <Property name="memberNameAttribute">member</Property>
-  </PartitionAdminGroup>
-
-    <!--
-      KDC configurations
-      =================
-      Following configurations are applicable to KDC server. Generally, the KDC is only enabled in
-      Identity Server. You may enable KDC server if you wish to do so. But if you dont have any Kerberos specific
-      programs, it is recommended to disable KDC server.
-
-      Property                          Usage
-      =======                           =====
-      name                              Name given to default KDC server.
-      enabled                           If true a KDC server will start when starting LDAP server.
-                                          Else a KDC server will not start with a LDAP server.
-      protocol                          Default protocol to be used in KDC communication. Default is UDP.
-      maximumTicketLifeTime             The maximum life time of a ticket issued by the KDC.
-      maximumRenewableLifeTime          Life time which a ticket can be used by renewing it several times.
-      preAuthenticationTimeStampEnabled Pre-authentication is a feature in latest Kerberos protocol.
-                                          This property says whether to enable it or disable it.
-    -->
-  <KDCServer>
-    <Property name="name">defaultKDC</Property>
-    <Property name="enabled">false</Property>
-    <Property name="protocol">UDP</Property>
-    <Property name="host">localhost</Property>
-    <Property name="port">${Ports.EmbeddedLDAP.KDCServerPort}</Property>
-    <Property name="maximumTicketLifeTime">8640000</Property>
-    <Property name="maximumRenewableLifeTime">604800000</Property>
-    <Property name="preAuthenticationTimeStampEnabled">true</Property>
-  </KDCServer>
-
-</EmbeddedLDAPConfig>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/event-broker.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/event-broker.xml b/products/stratos2/stratos_controller/1.0.1/conf/event-broker.xml
deleted file mode 100644
index 0c242a0..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/event-broker.xml
+++ /dev/null
@@ -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 compoent and parameters.
--->
-<eventBrokerConfig xmlns="http://wso2.org/carbon/event/broker">
-    <eventBroker name="carbonEventBroker" class = "org.wso2.carbon.event.core.internal.CarbonEventBrokerFactory">
-         <!-- topic manager implemenation class.-->
-        <topicManager name="TopicManager" class="org.wso2.carbon.event.core.internal.topic.registry.RegisistryTopicManagerFactory">
-            <!-- root node of the topic tree -->
-            <topicStoragePath>event/topics</topicStoragePath>
-        </topicManager>
-        <!-- subscriptionmnager implementaion. subscription manager persits the
-        subscriptions at the registry.  users can configure the topics root node and the topicIndex path -->
-        <subscriptionManager name="subscriptionManager"
-                             class="org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManagerFactory">
-            <topicStoragePath>event/topics</topicStoragePath>
-            <indexStoragePath>event/topicIndex</indexStoragePath>
-        </subscriptionManager>
-
-        <!-- delivary manager inmplementation. delivary manager does actual delivary part of the event broker -->
-        <deliveryManager name="deliveryManager"
-                         class="org.wso2.carbon.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 publising an event event broker uses a seperate 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>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/features-dashboard.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/features-dashboard.xml b/products/stratos2/stratos_controller/1.0.1/conf/features-dashboard.xml
deleted file mode 100755
index e04f062..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/features-dashboard.xml
+++ /dev/null
@@ -1,807 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<data>
-	<service name="Cloud Services" link="https://cloud.wso2.com"
-		key="manager">
-		<story title="Billing">
-			<story-content>Billing is the process where the cloud computing
-				service subscribers are charged
-				based on the metered data. Billing
-				usually happens on a monthly basis.
-				Billing uses
-				pricing rates defined
-				against usage plans and compute the invoice against
-				the usage
-				data.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tenant-billing/past_invoice.jsp">Billing...</link>
-				<link url="/carbon/tenant-billing/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Metering">
-			<story-content>Metering measures levels of resource utilization, such
-				as network bandwidth usage and
-				data storage volume, consumed by the
-				cloud services subscribers, aka
-				tenants.
-				Resource utilization's
-				(bandwidth and storage usage) are measured on the fly
-				and the
-				measured data is stored for summarizing and analyzing.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tenant-usage/tenant_usage.jsp">Go to Metering....</link>
-				<link url="/carbon/tenant-usage/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Account Management">
-			<story-content>Account management allows a tenant to update and
-				validate contact information,
-				update the usage plan, validate the
-				account and even de-activate the
-				account .</story-content>
-			<story-links>
-				<link url="/carbon/account-mgt/account_mgt.jsp">Manage account...</link>
-				<link url="/carbon/account-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Users and Roles">
-			<story-content>You can add users and define your own roles for a
-				tenant. The permission model is
-				role based. So a tenant admin can
-				define what actions a role can perform
-				by
-				configuring permissions for
-				that role.</story-content>
-			<story-links>
-				<link url="/carbon/userstore/index.jsp">Manage users/roles...</link>
-				<link url="/carbon/userstore/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="MT-Logging">
-			<story-content>Flexible logging support with integration to
-				enterprise logging systems. This facilitate to monitor your system
-				and application logs through a log viewer.</story-content>
-			<story-links>
-				<link url="/carbon/log-view/index.jsp">Go to Log Viewer....</link>
-				<link url="/carbon/log-view/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-<!--
-		<story title="Usage Metering and Throttling">
-			<story-content>&lt;a
-				href="http://wso2.org/library/articles/2011/09/usage-metering-throttling-cloud-computing"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/usage_metering_and_throttling.jpg"
-				alt=""/&gt;</story-content>
-				<story-links>
-					<link url=""></link>
-					<link url=""></link>
-				</story-links>
-		</story>
-		<story title="How WSO2 StratosLive meets Security Challenges in Cloud">
-			<story-content> &lt;a
-				href="http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/tenant_isolation.png"
-				alt=""/&gt;&lt;/a&gt; </story-content>
-		</story>
--->
-	</service>
-	<service name="Stratos Controller" link="https://cloud.wso2.com"
-		key="sc">
-		<story title="Multi-Tenant Cartridges">
-			<story-content>Stratos Cartridges, hosting WSO2 multi-tenant middleware 
-				services delivers multi-tenancy within each Cartridge instance 
-				where teams may define multiple tenants per Cartridge.
-			</story-content>
-			<story-links>
-				<link url="/carbon/cartridge-mgt/available_cartridges.jsp?item=available_multitenant_cartridges">Available Multi-Tenant Cartridges</link>
-			</story-links>
-		</story>
-		<story title="Single-Tenant Cartridges">
-			<story-content>Stratos Cartridges provide process-level isolation and 
-				instance-level dedicated tenancy with single-tenant containers and frameworks.
-			</story-content>
-			<story-links>
-				<link url="/carbon/cartridge-mgt/available_cartridges.jsp?item=available_singletenant_cartridges">Available Single-Tenant Cartridges</link>
-			</story-links>
-		</story>
-		<story title="Subscribed Cartridges">
-			<story-content>The tenant user can see all details of the Subscribed Cartridges such as
-				the status and the number of running instances at the moment.
-			</story-content>
-			<story-links>
-				<link url="/carbon/cartridge-mgt/subscribed_cartridges.jsp">Subscribed Cartridges</link>
-			</story-links>
-		</story>
-	</service>
-<!--
-	<service name="Enterprise Service Bus" link="https://esb.cloud.wso2.com"
-		key="esb">
-		<story title="Proxy Service">
-			<story-content> Proxy services facilitate location transparency and
-				provides the means for the
-				integration between various other
-				services, on different formats
-			</story-content>
-			<story-links>
-				<link url="/carbon/proxyservices/templates.jsp">Got to services...</link>
-				<link url="/carbon/proxyservices/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Sequence">
-			<story-content>Sequence is a collection of mediators attached to
-				perform a given mediation flow in an
-				integration.
-			</story-content>
-			<story-links>
-				<link url="/carbon/sequences/list_sequences.jsp">Go to Web Applications...</link>
-				<link url="/carbon/sequences/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Endpoint">
-			<story-content>Endpoints represent the third party services or other
-				endpoints the ESB is talking to,
-				this configuration allows you to
-				record a set of meta data about the
-				external endpoint
-				apart from it's
-				EPR
-			</story-content>
-			<story-links>
-				<link url="/carbon/endpoints/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/endpoints/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Scheduled Tasks">
-			<story-content>Job scheduling facility in the ESB with quartz
-				scheduler, helping several tasks to be
-				initiated and scheduled by the
-				ESB.</story-content>
-			<story-links>
-				<link url="/carbon/task/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/task/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Store &amp; Forward">
-			<story-content>Message Stores and Processors can be used to persist
-				messages to queues and then process
-				preserving SLAs.</story-content>
-			<story-links>
-				<link url="/carbon/message_processor/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/message_processor/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Priority Execution">
-			<story-content>Ability to categorize mediation flows with a priority
-				allowing certain messages or
-				mediation paths to get a high priority
-				with compared to other messages or
-				paths.</story-content>
-			<story-links>
-				<link url="/carbon/executors/list_executors.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/executors/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Application Services" link="https://appserver.cloud.wso2.com"
-		key="as">
-		<story title="Service Hosting">
-			<story-content>Different types of Web Services such as Axis2
-				Services, JAXWS Services, Jar Services
-				or Spring Services can be
-				deployed in Application Server. All
-				configurations such as
-				QoS can be
-				easily configured here.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Web Applications">
-			<story-content>Web Application hosting features in AppServer
-				supports
-				deployment of Tomcat
-				compliant Webapps. Deployed Webapps can be
-				easily managed using the Webapp
-				management facilities available in
-				the management console.
-			</story-content>
-			<story-links>
-				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
-				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Tracing">
-			<story-content>Trace the request and responses to your service.
-				Message Tracing is a vital
-				debugging tool when you have clients from
-				heterogeneous platforms.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="WSDL2Java Tool">
-			<story-content>Use WSDL2Java tool in Web Application Server to
-				convert Web Service WSDL to a set of
-				Java objects.</story-content>
-			<story-links>
-				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Java2WSDL Tool">
-			<story-content>Use Java2WSDL tool in Web Application Server make it
-				easy to develop a new web service.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Data Services" link="https://dss.cloud.wso2.com"
-		key="dss">
-		<story title="Data Service Hosting">
-			<story-content>Data Web Services can be deployed in Data Services
-				Server. All configurations such as
-				QoS can be easily configured here.
-			</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Data as a Service">
-			<story-content>Create your databases on the cloud, and acess those as
-				you would do with regular
-				databases.</story-content>
-			<story-links>
-				<link url="/carbon/ds/scriptAddSource.jsp">Go to data sources...</link>
-				<link url="/carbon/ds/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service Testing">
-			<story-content>Tryit tool can be used as a simple Web Service client
-				which can be used to try your
-				services within AppServer itself.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tryit/index.jsp">Go
-					to Service Testing...</link>
-				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Tracing">
-			<story-content>Trace the request and responses to your service.
-				Message Tracing is a vital
-				debugging tool when you have clients from
-				heterogeneous platforms.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message
-					Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="DB Explorer">
-			<story-content>Explore your databases using the explorer tool on
-				the cloud.</story-content>
-			<story-links>
-				<link url="/carbon/adminconsole/databases.jsp">Go to DB
-					Explorer Tool...</link>
-				<link url="/carbon/adminconsole/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Relational Storage Solutions on Cloud">
-			<story-content>&lt;a
-				href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/configure_db.png"
-				alt=""/&gt;</story-content>
-			<story-links>
-				<link
-					url="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive">Read
-					online...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Governance Services" link="https://governance.cloud.wso2.com"
-		key="greg">
-		<story title="Service">
-			<story-content>Service is the basic entity of your SOA platform. You
-				can manage service metadata and
-				the service lifecycle as well as
-				maintain multiple versions of a given
-				service, and much
-				more.
-			</story-content>
-			<story-links>
-				<link url="/carbon/services/services.jsp">Got to services...</link>
-				<link url="/carbon/services/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="WSDL">
-			<story-content>WSDL defines the interface of a web service. You can
-				store, validate and manage WSDLs
-				with ease, keeping track of
-				dependencies and associations such as
-				services, schema and
-				policies.
-			</story-content>
-			<story-links>
-				<link url="/carbon/wsdl/wsdl.jsp">Go to WSDL</link>
-				<link url="/carbon/wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Schema">
-			<story-content>XML Schema defines data types in a WSDL. As in the
-				case of WSDLs, you can keep
-				associations of schema which helps in the
-				impact analysis process, when
-				maintaining the
-				data models associated
-				with your SOA.</story-content>
-			<story-links>
-				<link url="/carbon/schema/schema.jsp">Go to Schema...</link>
-				<link url="/carbon/schema/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Policy">
-			<story-content>Policies help standardize SOA behaviour. You can keep
-				track of the policies bound to a
-				service. It also supports policy
-				enforcement to control how SOA behaves as
-				desired by
-				both IT and
-				business personnel.</story-content>
-			<story-links>
-				<link url="/carbon/policy/policy.jsp">Go to Policy..</link>
-				<link url="/carbon/policy/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Search">
-			<story-content>The repository can store any arbitrary type of
-				resource. You can search for resources by
-				name, author, time created
-				or updated. You also can search for resources
-				by media type.
-			</story-content>
-			<story-links>
-				<link url="/carbon/search/advancedSearch.jsp">Go to Search...</link>
-				<link url="/carbon/search/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Activities">
-			<story-content>An activity log provide an invaluable insight to what
-				operations took place on the
-				repository. You can browse activities
-				while filtering them by date range, user
-				name, or
-				activity type.
-			</story-content>
-			<story-links>
-				<link url="/carbon/activities/activity.jsp">Go to Activities...</link>
-				<link url="/carbon/activities/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Notifications">
-			<story-content>The registry generates events when changes are made to
-				a particular resource or
-				collection. You can subscribe to these
-				events via e-mail, or forward them to a
-				web
-				service via SOAP or REST.
-			</story-content>
-			<story-links>
-				<link url="/carbon/notifications/notifications.jsp">Go to Notifications...</link>
-				<link url="/carbon/notifications/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Extensions">
-			<story-content>While we address most governance and registry related
-				scenarios out-of-the-box, you also
-				can upload your own extensions
-				that is capable of extending the basic
-				functionality of
-				the product
-			</story-content>
-			<story-links>
-				<link url="/carbon/extensions/add_extensions.jsp">Go to Activities...</link>
-				<link url="/carbon/extensions/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Identity Services" link="https://governance.cloud.wso2.com"
-		key="is">
-		<story title="User Profile">
-			<story-content>Update your user profile or add multiple user
-				profiles.The value from your profile will
-				be used to populate your
-				Information card and OpenID profiles.
-			</story-content>
-			<story-links>
-				<link url="/carbon/userprofile/index.jsp">Got to User Profile...</link>
-				<link url="/carbon/userprofile/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="OpenID">
-			<story-content>This OpenID can be used with any OpenID relying party
-				which trusts your domain for
-				login.</story-content>
-			<story-links>
-				<link url="/carbon/identity-provider/index.jsp">Go to OpenID...</link>
-				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Information Card">
-			<story-content>This card can be used with any identity selector that
-				supports Microsoft CardSpace
-				specifications and will allow you to
-				login to web applications that support
-				information
-				card logins.
-			</story-content>
-			<story-links>
-				<link url="/carbon/identity-provider/index.jsp">Go to Information Card...</link>
-				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="SAML 2.0 Single Sign-On">
-			<story-content>Use WSO2 Identity Server for Single Sign-on
-				configuration. Service Providers can be
-				added and removed.
-			</story-content>
-			<story-links>
-				<link url="/carbon/sso-saml/manage_service_providers.jsp">Go to SAML 2.0 Single Sign-On..</link>
-				<link url="/carbon/sso-saml/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Multifactor Authentication">
-			<story-content>Use WSO2 Identity Server to Enable XMPP based
-				multi-factor authentication.</story-content>
-			<story-links>
-				<link url="/carbon/multi-factor/xmpp-config.jsp">Go to Multifactor Authentication...</link>
-				<link url="/carbon/multi-factor/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Users and Roles">
-			<story-content>WSO2 Identity Server enables you to manage users and
-				roles in your system.</story-content>
-			<story-links>
-				<link url="/carbon/userstore/index.jsp">Go to Users and Roles...</link>
-				<link url="/carbon/userstore/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Relying Parties">
-			<story-content>Manage your Relying Parties with WSO2 Identity Server.
-			</story-content>
-			<story-links>
-				<link url="/carbon/identity-trusted-relying-parties/add-trusted-rp.jsp">Go to Relying Parties...</link>
-				<link url="/carbon/identity-trusted-relying-parties/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Key Stores">
-			<story-content>Manage your Key Stores with WSO2 Identity Server
-			</story-content>
-			<story-links>
-				<link url="/carbon/keystoremgt/keystore-mgt.jsp">Go to Activities...</link>
-				<link url="/carbon/keystoremgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Activity Monitor" link="https://bam.cloud.wso2.com"
-		key="bam">
-		<story title="Real Time Mediation Monitoring">
-			<story-content>Monitor proxy services, endpoints and sequences and
-				their operations in real time. The
-				results gathered from the
-				real-time monitoring are presented in a clear and
-				easy-to-view
-				format.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Mediation Analysis">
-			<story-content>Analyze the historical mediation trends over time with
-				the help of visualization
-				framework.</story-content>
-			<story-links>
-				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
-				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Summary Generation">
-			<story-content>Generate a summarised view of collected statistics and
-				write gadgets to display these
-				summarised data.</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service Invocation Analysis">
-			<story-content>rite gadgets to consume service statistics and present
-				to end user. Dashboard
-				support
-				Google Gadget specification.
-			</story-content>
-			<story-links>
-				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Dashboard">
-			<story-content>Monitor and correlate related business activities
-				across multiple server instances.
-				These activities can be used to
-				track and verify the smooth execution of
-				business.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Activity Correlation &amp; Monitoring">
-			<story-content>Monitor and correlate related business activities
-				across multiple server instances.
-				These activities can be used to
-				track and verify the smooth execution of
-				business.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Collection &amp; Archival">
-			<story-content>Collect messages coming into your SOA, analyze and
-				archive for future retrieval.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Process Services" link="https://bps.cloud.wso2.com"
-		key="bps">
-		<story title="WS-BPEL 2.0 &amp; BPELWS 1.1">
-			<story-content>WSO2 BPS supports both WS-BPEL 2.0 and BPEL4WS 1.1
-				standards. It also includes WSO2 BPS
-				specific extensions to enhance
-				the features provide by WS-BPEL.
-			</story-content>
-			<story-links>
-				<link url="">Got to Business Process Services...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Instance Data Cleanup">
-			<story-content>Allows multiple levels of instance data cleanup which
-				are accumulated during process
-				instance lifetime. XPath extensions,
-				Iteratable ForEach, Flexible Assigns,
-				XQuery 1.0 support and various
-				other extensions to BPEL language.</story-content>
-			<story-links>
-				<link url="">Go to OpenID...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="BPEL Extensions">
-			<story-content>Hot update BPEL processes and allows you to maintain
-				multiple versions of processes.</story-content>
-			<story-links>
-				<link url="">Go to Information Card...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Rule Server" link="https://brs.cloud.wso2.com"
-		key="brs">
-		<story title="Service Hosting Support">
-			<story-content>Service Hosting feature in Business Rules Server
-				enables deployment of Rule Services.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to Business Process Services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Rule service creation support">
-			<story-content>Support for creating rule services with drools or
-				using rule services created with other
-				IDEs.</story-content>
-			<story-links>
-				<link url="/carbon/ruleservices/rule_service_wizard_step1.jsp">Go to Rule service creation...</link>
-				<link url="/carbon/ruleservices/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Registry as a Rule Repository">
-			<story-content>Registry as a Rule Repository.</story-content>
-			<story-links>
-				<link url="/carbon/resources/resource.jsp">Go to Registry Rule Repository..</link>
-				<link url="/carbon/resources/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service testing">
-			<story-content>Tryit tool can be used as a simple Web Service client
-				which can be used to try your
-				services within AppServer itself.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tryit/index.jsp">Go
-					to Service Testing...</link>
-				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Cloud Gateway" link="https://cg.stratoslive.wso2.com"
-		key="cg">
-		<story title="Cloud Service">
-			<story-content>Publish a service or data residing behind a firewall
-				in a secure and controlled manner as a Cloud Service.
-			</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Go to Cloud Services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Complex Event Processing Services" link="https://cep.cloud.wso2.com"
-		key="cep">
-		<story title="Bring CEP to SOA">
-			<story-content>Bring CEP to SOA by processing XML events and produce
-				results as XML events.</story-content>
-			<story-links>
-				<link url="/carbon/CEP/cep_queries.jsp">Go to CEP buckets list...</link>
-				<link url="/carbon/CEP/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Registry Storage">
-			<story-content>Ability to define different event streams, queries and
-				out put streams and store them in
-				the registry as a bucket.
-			</story-content>
-			<story-links>
-				<link url="/carbon/resources/resource.jsp">Go to Registry Storage...</link>
-				<link url="/carbon/messagebox/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Esper and Fusion">
-			<story-content>Support Esper and fusion back end runtimes..
-			</story-content>
-			<story-links>
-				<link url="">Go to Esper and Fusion..</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Filter data from the XML event">
-			<story-content>Ability to filter data from the XML event using xpath
-				and format the result as an XML
-				event.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to Filter data...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Support different types of brokers">
-			<story-content>Support different types of brokers WS-Event, JMS to
-				receive publish events.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to brokers...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Storing broker configurations">
-			<story-content>Define and store such different broker configurations.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to brokers...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Administrative Console support">
-			<story-content>Administrative Console to create buckets, add
-				subscriptions etc..
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to Administrative Console ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Specify CEP queries">
-			<story-content>Ability to specify CEP queries inline or pick from the
-				registry.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to CEP queries ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Message Broker Services" link="https://mb.cloud.wso2.com"
-		key="mb">
-		<story title="Publish/Subscribe to Topics">
-			<story-content>WS-Eventing to publish/subscribe to topics using web
-				service standards.</story-content>
-			<story-links>
-				<link url="">Go to topics...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="AMQP">
-			<story-content>MS support thorough AMQP to publish/subscribe to
-				topics and Queues.</story-content>
-			<story-links>
-				<link url="">Go to AMQP...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Topic Authorization">
-			<story-content>MS support thorough AMQP to publish/subscribe to
-				topics and Queues.</story-content>
-			<story-links>
-				<link url="">Go to Topic Authorization...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Manage topics and queues permissions">
-			<story-content>Administrative console support to manage topics and
-				queues permissions.</story-content>
-			<story-links>
-				<link url="">Go to Manage topics and queues permissions...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="SQS support">
-			<story-content>SQS support to store retrieve messages using a web
-				service API.</story-content>
-			<story-links>
-				<link url="">Go to SQS ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="User based authorization for queues">
-			<story-content>User based authorization for queues.</story-content>
-			<story-links>
-				<link url="">Go to User based authorization ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Manage message boxes">
-			<story-content>Administrative console support to manage message boxes
-				and store/retrieve messages.</story-content>
-			<story-links>
-				<link url="">Go to message boxes...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message box as event sink">
-			<story-content>Ability to use a message box as the event sink for a
-				subscription.</story-content>
-			<story-links>
-				<link url="">Go to event sink support...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-        <service name="Storage Server Services" link="https://ss.cloud.wso2.com" key="ss">
-		<story title="Storage Server Data">
-			<story-content>Storage Server</story-content>
-			<story-links>
-				<link url="">Go to topics...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
--->
-</data>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/identity.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/identity.xml b/products/stratos2/stratos_controller/1.0.1/conf/identity.xml
deleted file mode 100755
index f5a6dfe..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/identity.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- ~ Copyright (c) 2005-2011, 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.
- -->
-
-<Server xmlns="http://wso2.org/projects/carbon/carbon.xml">
-
-	<OpenIDServerUrl>https://localhost:9443/openidserver</OpenIDServerUrl>
-
-	<OpenIDUserPattern>https://localhost:9443/openid/</OpenIDUserPattern>
-
-     <JDBCPersistenceManager>
-        <DataSource>
-        	<!-- Include a data source name (jndiConfigName) from the set of data sources defined in master-datasources.xml -->
-        	<Name>jdbc/WSO2CarbonDB</Name>
-    	</DataSource>
-		<!-- If the identity database is created from another place and if it is required to skip schema initialization during the server start up, set the following
-		 property to "true". -->
-		<!-- <SkipDBSchemaCreation>false</SkipDBSchemaCreation> -->
-    </JDBCPersistenceManager>
-
-	<!--
-      Security configurations
-    -->
-	<Security>
-		<UserTrustedRPStore>
-			<Location>${carbon.home}/repository/resources/security/userRP.jks</Location>
-			<!-- Keystore type (JKS/PKCS12 etc.)-->
-			<Type>JKS</Type>
-			<!-- Keystore password-->
-			<Password>wso2carbon</Password>
-			<!-- Private Key password-->
-			<KeyPassword>wso2carbon</KeyPassword>
-		</UserTrustedRPStore>
-
-		<!--
-			The directory under which all other KeyStore files will be stored
-		-->
-		<KeyStoresDir>${carbon.home}/conf/keystores</KeyStoresDir>
-	</Security>
-
-	<Identity>
-		<IssuerPolicy>SelfAndManaged</IssuerPolicy>
-		<TokenValidationPolicy>CertValidate</TokenValidationPolicy>
-		<BlackList></BlackList>
-		<WhiteList></WhiteList>
-		<System>
-			<KeyStore></KeyStore>
-			<StorePass></StorePass>
-		</System>
-	</Identity>
-
-	<OAuth>
-		<RequestTokenUrl>https://localhost:9443/oauth/request-token</RequestTokenUrl>
-		<AccessTokenUrl>https://localhost:9443/oauth/access-token</AccessTokenUrl>
-		<AuthorizeUrl>https://localhost:9443/oauth/authorize-url</AuthorizeUrl>
-		<!-- Default validity period for Authorization Code in seconds -->
-		<AuthorizationCodeDefaultValidityPeriod>300</AuthorizationCodeDefaultValidityPeriod>
-		<!-- Default validity period for Access Token in seconds -->
-		<AccessTokenDefaultValidityPeriod>3600</AccessTokenDefaultValidityPeriod>
-		<!-- Timestamp skew in seconds -->
-		<TimestampSkew>300</TimestampSkew>
-		<!-- Enable OAuth caching. This cache has the replication support. -->
-		<EnableOAuthCache>true</EnableOAuthCache>
-		<!-- Configure the security measures needs to be done prior to store the token in the database,
-		such as hashing, encrypting, etc.-->
-		<TokenPersistencePreprocessor>org.wso2.carbon.identity.oauth.preprocessor.PlainTextTokenPersistencePreprocessor</TokenPersistencePreprocessor>
-		<!-- Supported Response Types -->
-		<SupportedResponseTypes>token,code</SupportedResponseTypes>
-		<!-- Supported Grant Types -->
-		<SupportedGrantTypes>authorization_code,password,refresh_token,client_credentials</SupportedGrantTypes>
-		<OAuthCallbackHandlers>		
-				<OAuthCallbackHandler Class="org.wso2.carbon.identity.oauth.callback.DefaultCallbackHandler"/>
-		</OAuthCallbackHandlers>
-	</OAuth>
-
-	<MultifactorAuthentication>
-		<XMPPSettings>
-			<XMPPConfig>
-				<XMPPProvider>gtalk</XMPPProvider>
-				<XMPPServer>talk.google.com</XMPPServer>
-				<XMPPPort>5222</XMPPPort>
-				<XMPPExt>gmail.com</XMPPExt>
-				<XMPPUserName>multifactor1@gmail.com</XMPPUserName>
-				<XMPPPassword>wso2carbon</XMPPPassword>
-			</XMPPConfig>
-		</XMPPSettings>
-	</MultifactorAuthentication>
-
-    	<SSOService>
-    	    <IdentityProviderURL>https://localhost:9443/samlsso</IdentityProviderURL>
-    	</SSOService>
-</Server>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/jaas.conf
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/jaas.conf b/products/stratos2/stratos_controller/1.0.1/conf/jaas.conf
deleted file mode 100644
index 7a2a295..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/jaas.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-Server {
-       org.apache.zookeeper.server.auth.DigestLoginModule required
-       user_super="admin"
-       user_admin="admin";
-};
-Client {
-       org.apache.zookeeper.server.auth.DigestLoginModule required
-       username="admin"
-       password="admin";
-};

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/loadbalancer.conf
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/loadbalancer.conf b/products/stratos2/stratos_controller/1.0.1/conf/loadbalancer.conf
deleted file mode 100644
index 138c087..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/loadbalancer.conf
+++ /dev/null
@@ -1,29 +0,0 @@
-services {
-    # default parameter values to be used in all services
-    defaults {
-        # minimum number of service instances required. WSO2 ELB will make sure that this much of instances
-        # are maintained in the system all the time, of course only when autoscaling is enabled.
-        min_app_instances       1;
-        # maximum number of service instances that will be load balanced by this ELB.
-        max_app_instances       5;
-        # you need to calibrate autoscaling parameters before start using. Please go through following blog post
-        # http://nirmalfdo.blogspot.com/2013/01/scale-up-early-scale-down-slowly.html
-        max_requests_per_second   5;
-        alarming_upper_rate 0.7;
-        alarming_lower_rate 0.2;
-        scale_down_factor 0.25;
-        rounds_to_average       2;
-        message_expiry_time     60000;
-    }
-    
-    identity {
-        hosts                   identity.aaaa.cloud-test.wso2.com;
-        domains   {
-            wso2.identity.aaaa.domain {
-                tenant_range    *;
-            }
-            
-        }
-    }
-    
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/metering-config-non-manager.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/metering-config-non-manager.xml b/products/stratos2/stratos_controller/1.0.1/conf/metering-config-non-manager.xml
deleted file mode 100755
index 362f30d..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/metering-config-non-manager.xml
+++ /dev/null
@@ -1,103 +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.
- -->
-<meteringConfig xmlns="http://wso2.com/carbon/multitenancy/metering/config">
-    <tasks>
-        <task service="org.wso2.stratos.metering.agent.task.PerRegistryRequestTask">
-            <preHandlers>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.RegistryActionValidator">
-                </handler>
-            </preHandlers>
-            <postHandlers>
-                <handler service="org.wso2.stratos.metering.agent.handlers.RemoteTaskInvoker"
-                        async="true" frequency="1"><!-- trigger per each request-->
-                    <parameter name="taskServiceUrl">https://localhost:9443/services/</parameter>
-                    <parameter name="userName">admin</parameter>
-                    <parameter name="password">admin</parameter>
-                    <parameter name="taskName">org.wso2.stratos.metering.manager.task.PerRegistryRequestRemoteTask</parameter>
-                </handler>
-            </postHandlers>
-        </task>
-        <task service="org.wso2.stratos.metering.agent.task.PerUserAddRequestTask">
-            <preHandlers>
-                <handler service="org.wso2.stratos.metering.agent.handlers.RemoteTaskInvoker"
-                        async="false" frequency="1"><!-- trigger per each request-->
-                    <parameter name="taskServiceUrl">https://localhost:9443/services/</parameter>
-                    <parameter name="userName">admin</parameter>
-                    <parameter name="password">admin</parameter>
-                    <parameter name="taskName">org.wso2.stratos.metering.manager.task.PerUserAddRequestRemoteTask</parameter>
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.AddUserActionValidator">
-                </handler>
-            </preHandlers>
-        </task>
-        <task service="org.wso2.stratos.metering.manager.task.PerRegistryRequestRemoteTask">
-            <postHandlers>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.DBContentVolumeRetriever"><!-- trigger per each registry request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.BandwidthDataRetriever" async="true" frequency="5"><!-- trigger per 5 registry request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.BandwidthDataStorer">
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.BillingDataRetriever"><!-- trigger per each registry request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.RuleInvoker">
-                    <parameter name="rule-file">restriction-rules.drl</parameter>
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoStorer">
-                </handler>
-            </postHandlers>
-        </task>
-        <task service="org.wso2.stratos.metering.manager.task.PerUserAddRequestRemoteTask">
-            <postHandlers>
-                <handler service="org.wso2.stratos.metering.manager.handlers.UsersCountRetriever"><!-- trigger per each user add request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.BillingDataRetriever"><!-- trigger per each user add request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.RuleInvoker">
-                    <parameter name="rule-file">restriction-rules.drl</parameter>
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoStorer">
-                </handler>
-            </postHandlers>
-        </task>
-        <!-- to be implemented -->
-        <!--
-        <task service="org.wso2.stratos.metering.manager.task.ScheduledTask">
-            <parameters>
-                <parameter name="period">1Month</parameter>
-                <parameter name="dayToTriggerOn">1</parameter>
-                <parameter name="hourToTriggerOn">0</parameter>
-                <parameter name="timeZone">GMT-8:00</parameter>
-            </parameters>
-            <hanldlers>
-                <handler service="org.wso2.stratos.metering.manager.handler.RuleInvoker">
-                    <parameter name="rule-file">restriction-rules.drl</parameter>
-                </handler>
-            </handlers>
-        </task>
-        -->
-    </tasks>
-</meteringConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/multitenancy-billing-rules.drl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/multitenancy-billing-rules.drl b/products/stratos2/stratos_controller/1.0.1/conf/multitenancy-billing-rules.drl
deleted file mode 100755
index 0cdc23d..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/multitenancy-billing-rules.drl
+++ /dev/null
@@ -1,34 +0,0 @@
-import org.wso2.carbon.billing.core.dataobjects.*;
-import org.wso2.carbon.billing.mgt.dataobjects.*;
-
-
-rule smallSubscription
-when
-$item: MultitenancyPackage(name == "SMB")
-$subItem: Item(parent == $item && name == "subscription")
-then
-$subItem.setCost(new Cash("$100"));
-$subItem.setCreditLimit(new Cash("$200"));
-end
-
-
-rule mediumSubscription
-when
-$item: MultitenancyPackage(name == "Professional")
-$subItem: Item(parent == $item && name == "subscription")
-then
-$subItem.setCost(new Cash("$500"));
-$subItem.setCreditLimit(new Cash("$1000"));
-end
-
-
-rule largeSubscription
-when
-$item: MultitenancyPackage(name == "Enterprise")
-$subItem: Item(parent == $item && name == "subscription")
-then
-$subItem.setCost(new Cash("$2000"));
-$subItem.setCreditLimit(new Cash("$4000"));
-end
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/nhttp.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/nhttp.properties b/products/stratos2/stratos_controller/1.0.1/conf/nhttp.properties
deleted file mode 100644
index 0ad3e44..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/nhttp.properties
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-# This file contains the configuration parameters used by the Non-blocking HTTP transport
-
-#http.socket.timeout=60000
-#nhttp_buffer_size=8192
-#http.tcp.nodelay=1
-#http.connection.stalecheck=0
-
-# Uncomment the following property for an AIX based deployment
-#http.nio.interest-ops-queueing=true
-
-# HTTP Sender thread pool parameters
-#snd_t_core=20
-#snd_t_max=100
-#snd_alive_sec=5
-#snd_qlen=-1
-#snd_io_threads=2
-
-# HTTP Listener thread pool parameters
-#lst_t_core=20
-#lst_t_max=100
-#lst_alive_sec=5
-#lst_qlen=-1
-#lst_io_threads=2

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/passthru-http.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/passthru-http.properties b/products/stratos2/stratos_controller/1.0.1/conf/passthru-http.properties
deleted file mode 100644
index 918bc87..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/passthru-http.properties
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-## This file contains the configuration parameters used by the Pass-through HTTP transport
-
-## Pass-through HTTP transport specific tuning parameters 
-#worker_pool_size_core=40
-#worker_pool_size_max=200
-#worker_thread_keepalive_sec=60
-#worker_pool_queue_length=-1
-#io_threads_per_reactor=2
-#io_buffer_size=8192
-#http.max.connection.per.host.port=32767
-
-## Other parameters
-#http.user.agent.preserve=false
-#http.server.preserve=true
-#http.connection.disable.keepalive=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/rule-component.conf
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/rule-component.conf b/products/stratos2/stratos_controller/1.0.1/conf/rule-component.conf
deleted file mode 100644
index 1bd6c09..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/rule-component.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-<RuleServer>
-    <RuleEngineProvider class="org.wso2.carbon.rule.engine.jsr94.JSR94BackendRuntimeFactory"/>
-</RuleServer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/samples-desc.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/samples-desc.xml b/products/stratos2/stratos_controller/1.0.1/conf/samples-desc.xml
deleted file mode 100755
index 6f2ec4c..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/samples-desc.xml
+++ /dev/null
@@ -1,32 +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.
- -->
-<samples xmlns="http://wso2.com/stratos/samples">
-    <sample name="Shopping Cart">
-        <cloudServices>
-            <cloudService name="Application Server"/>
-            <!--cloudService name="WSO2 Stratos Governance"/>
-            <cloudService name="WSO2 Stratos Application Server"/>
-            <cloudService name="WSO2 Stratos Gadget Server"/>
-            <cloudService name="WSO2 Stratos Mashup Server"/>
-            <cloudService name="WSO2 Stratos Enterprise Service Bus"/>
-            <cloudService name="WSO2 Stratos Data Services Server"/>
-            <cloudService name="WSO2 Stratos Business Process Server"/-->
-        </cloudServices>
-	<fileName>GlobalShoppingCartSample-${shoppingcart.global.version}</fileName>
-    </sample>
-</samples>


[10/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/pom.xml b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/pom.xml
deleted file mode 100755
index 93c9596..0000000
--- a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/pom.xml
+++ /dev/null
@@ -1,71 +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.
- -->
-<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">
-    
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.manager</groupId>
-    <artifactId>cloud-services-icons</artifactId>
-    <version>1.0.0</version>
-    <packaging>pom</packaging>
-    <name>cloud-services-icons</name>
-    <description>WSO2 Manager - Cloud Services Icons</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-war-plugin</artifactId>
-                <version>2.1.1</version>
-                <executions>
-                    <execution>
-				        <id>war</id>
-				        <phase>package</phase>
-				        <goals>
-					        <goal>war</goal>
-				        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-				    <warName>cloud-services-icons</warName>
-			        <failOnMissingWebXml>false</failOnMissingWebXml>  
-			        <webResources>
-					    <resource>
-					        <directory>.</directory>
-				        </resource>
-		            </webResources>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <organization>
-        <name>WSO2 Inc</name>
-        <url>http://wso2.com</url>
-    </organization>
-
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ss.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ss.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ss.gif
deleted file mode 100755
index f2bcc75..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ss.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ts.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ts.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ts.gif
deleted file mode 100755
index a2f3ebc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ts.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/appserver-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/appserver-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/appserver-logo.gif
deleted file mode 100755
index 55e4751..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/appserver-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/bam-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/bam-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/bam-logo.gif
deleted file mode 100755
index f8b6a74..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/bam-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/bps-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/bps-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/bps-logo.gif
deleted file mode 100755
index 5dd2171..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/bps-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/brs-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/brs-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/brs-logo.gif
deleted file mode 100755
index ccba887..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/brs-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/csg-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/csg-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/csg-logo.gif
deleted file mode 100755
index e69aaa6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/csg-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/ds-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/ds-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/ds-logo.gif
deleted file mode 100755
index f70a205..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/ds-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/esb-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/esb-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/esb-logo.gif
deleted file mode 100755
index 95cb5b3..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/esb-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/gadget-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/gadget-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/gadget-logo.gif
deleted file mode 100755
index 8e89ef5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/gadget-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/governance-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/governance-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/governance-logo.gif
deleted file mode 100755
index af1ac45..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/governance-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/identity-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/identity-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/identity-logo.gif
deleted file mode 100755
index a2447bc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/identity-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/mashup-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/mashup-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/mashup-logo.gif
deleted file mode 100755
index f8ed9be..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/powerded-by-logos/mashup-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/billing-script/billing-h2.sql
----------------------------------------------------------------------
diff --git a/products/stratos_controller/billing-script/billing-h2.sql b/products/stratos_controller/billing-script/billing-h2.sql
new file mode 100755
index 0000000..e70be14
--- /dev/null
+++ b/products/stratos_controller/billing-script/billing-h2.sql
@@ -0,0 +1,109 @@
+CREATE TABLE IF NOT EXISTS BC_CUSTOMER (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_NAME VARCHAR (64),
+             BC_STARTED_DATE TIMESTAMP,
+             BC_EMAIL VARCHAR (64),
+             BC_ADDRESS VARCHAR (256),
+             CONSTRAINT PK_BC_CUSTOMER PRIMARY KEY (BC_ID)
+);
+
+CREATE HASH INDEX BC_CUSTOMER_IND_BY_BC_NAME ON BC_CUSTOMER(BC_NAME);
+CREATE HASH INDEX BC_CUSTOMER_IND_BY_BC_EMAIL ON BC_CUSTOMER(BC_EMAIL);
+
+CREATE TABLE IF NOT EXISTS BC_ITEM (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_NAME VARCHAR (64),
+             BC_COST VARCHAR (64),
+             BC_DESCRIPTION VARCHAR(128),
+             BC_PARENT_ITEM_ID INTEGER,
+             CONSTRAINT PK_BC_ITEM PRIMARY KEY (BC_ID)
+);
+INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Demo',NULL,NULL,NULL);
+INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('SMB',NULL,NULL,NULL);
+INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Professional',NULL,NULL,NULL);
+INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Enterprise',NULL,NULL,NULL);
+
+ALTER TABLE BC_ITEM ADD CONSTRAINT IF NOT EXISTS BC_ITEM_FK_BY_PARENT_ITEM_ID FOREIGN KEY (BC_PARENT_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
+
+
+CREATE TABLE IF NOT EXISTS BC_SUBSCRIPTION (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_FILTER VARCHAR (32),
+             BC_IS_ACTIVE INTEGER,
+             BC_ACTIVE_SINCE TIMESTAMP,
+             BC_ACTIVE_UNTIL TIMESTAMP,
+             BC_ITEM_ID INTEGER,
+             BC_TENANT_ID INTEGER,
+             CONSTRAINT PK_BC_SUBSCRIPTION PRIMARY KEY (BC_ID)
+);
+
+ALTER TABLE BC_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_SUBSCRIPTION_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
+
+CREATE TABLE IF NOT EXISTS BC_INVOICE (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_TENANT_ID INTEGER,
+             BC_DATE TIMESTAMP,
+             BC_START_DATE TIMESTAMP,
+             BC_END_DATE TIMESTAMP,
+             BC_BOUGHT_FORWARD VARCHAR (64),
+             BC_CARRIED_FORWARD VARCHAR (64),
+             BC_TOTAL_PAYMENTS VARCHAR (64),
+             BC_TOTAL_COST VARCHAR (64),
+             CONSTRAINT PK_BC_INVOICE PRIMARY KEY (BC_ID)
+);
+
+
+CREATE TABLE IF NOT EXISTS BC_PAYMENT (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_DATE TIMESTAMP,
+             BC_AMOUNT VARCHAR (64),
+             BC_DESCRIPTION VARCHAR (128),
+             BC_INVOICE_ID INTEGER,
+	     	 BC_TENANT_ID INTEGER,	
+             CONSTRAINT PK_BC_PAYMENT PRIMARY KEY (BC_ID)
+);
+
+ALTER TABLE BC_PAYMENT ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
+
+-- this is n-n relationship
+CREATE TABLE IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION (
+             BC_PAYMENT_ID INTEGER,
+             BC_SUBSCRIPTION_ID INTEGER,
+             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_PAYMENT_ID, BC_SUBSCRIPTION_ID)
+);
+
+ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION_FK_BY_PAYMENT_ID FOREIGN KEY (BC_PAYMENT_ID) REFERENCES BC_PAYMENT (BC_ID);
+ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
+
+CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION (
+             BC_ID INTEGER  AUTO_INCREMENT,
+             BC_INVOICE_ID INTEGER,
+             BC_SUBSCRIPTION_ID INTEGER,
+             CONSTRAINT PK_BC_INVOICE_ITEM PRIMARY KEY (BC_ID)
+);
+
+ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
+ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
+
+
+CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM (
+             BC_INVOICE_SUBSCRIPTION_ID INTEGER,
+             BC_ITEM_ID INTEGER,
+             BC_COST VARCHAR (64),
+	     BC_DESCRIPTION VARCHAR (64),	
+             CONSTRAINT PK_BC_INVOICE_SUBSCRIPTION_ITEM PRIMARY KEY (BC_INVOICE_SUBSCRIPTION_ID, BC_ITEM_ID)
+);
+
+ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_INVOICE_SUBSCRIPTION_ID FOREIGN KEY (BC_INVOICE_SUBSCRIPTION_ID) REFERENCES BC_INVOICE_SUBSCRIPTION (BC_ID);
+ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM(BC_ID);
+
+CREATE TABLE IF NOT EXISTS BC_DISCOUNT (
+	BC_ID INTEGER AUTO_INCREMENT,
+	BC_TENANT_ID INTEGER,
+	BC_PERCENTAGE FLOAT,
+	BC_AMOUNT FLOAT,
+	BC_START_DATE TIMESTAMP,
+	BC_END_DATE TIMESTAMP,
+	BC_PERCENTAGE_TYPE INTEGER,
+	CONSTRAINT PK_BC_DISCOUNT PRIMARY KEY (BC_ID)
+);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/billing-script/billing-mysql.sql
----------------------------------------------------------------------
diff --git a/products/stratos_controller/billing-script/billing-mysql.sql b/products/stratos_controller/billing-script/billing-mysql.sql
new file mode 100755
index 0000000..55cab9a
--- /dev/null
+++ b/products/stratos_controller/billing-script/billing-mysql.sql
@@ -0,0 +1,120 @@
+CREATE TABLE IF NOT EXISTS BC_CUSTOMER (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_NAME VARCHAR (64),
+             BC_STARTED_DATE TIMESTAMP,
+             BC_EMAIL VARCHAR (64),
+             BC_ADDRESS VARCHAR (256),
+             CONSTRAINT PK_BC_CUSTOMER PRIMARY KEY (BC_ID)
+)ENGINE INNODB;
+
+CREATE INDEX BC_CUSTOMER_IND_BY_BC_NAME USING HASH ON BC_CUSTOMER(BC_NAME);
+CREATE INDEX BC_CUSTOMER_IND_BY_BC_EMAIL USING HASH ON BC_CUSTOMER(BC_EMAIL);
+
+CREATE TABLE IF NOT EXISTS BC_ITEM (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_NAME VARCHAR (64),
+             BC_COST VARCHAR (64),
+             BC_DESCRIPTION VARCHAR(128),
+             BC_PARENT_ITEM_ID INTEGER,
+             CONSTRAINT PK_BC_ITEM PRIMARY KEY (BC_ID)
+)ENGINE INNODB;
+INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Demo",NULL,NULL,NULL);
+INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("SMB",NULL,NULL,NULL);
+INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Professional",NULL,NULL,NULL);
+INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Enterprise",NULL,NULL,NULL);
+
+ALTER TABLE BC_ITEM ADD CONSTRAINT BC_ITEM_FK_BY_PARENT_ITEM_ID FOREIGN KEY (BC_PARENT_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
+
+
+CREATE TABLE IF NOT EXISTS BC_SUBSCRIPTION (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_FILTER VARCHAR (32),
+             BC_IS_ACTIVE INTEGER,
+             BC_ACTIVE_SINCE TIMESTAMP,
+             BC_ACTIVE_UNTIL TIMESTAMP,
+             BC_ITEM_ID INTEGER,
+             BC_TENANT_ID INTEGER,
+             CONSTRAINT PK_BC_SUBSCRIPTION PRIMARY KEY (BC_ID)
+)ENGINE INNODB;
+
+ALTER TABLE BC_SUBSCRIPTION ADD CONSTRAINT BC_SUBSCRIPTION_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
+
+CREATE TABLE IF NOT EXISTS BC_INVOICE (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_TENANT_ID INTEGER,
+             BC_DATE TIMESTAMP,
+             BC_START_DATE TIMESTAMP,
+             BC_END_DATE TIMESTAMP,
+             BC_BOUGHT_FORWARD VARCHAR (64),
+             BC_CARRIED_FORWARD VARCHAR (64),
+             BC_TOTAL_PAYMENTS VARCHAR (64),
+             BC_TOTAL_COST VARCHAR (64),
+             CONSTRAINT PK_BC_INVOICE PRIMARY KEY (BC_ID)
+)ENGINE INNODB;
+
+
+CREATE TABLE IF NOT EXISTS BC_PAYMENT (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_DATE TIMESTAMP,
+             BC_AMOUNT VARCHAR (64),
+             BC_DESCRIPTION VARCHAR (128),
+             BC_INVOICE_ID INTEGER,
+	     BC_TENANT_ID INTEGER,	
+             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_ID)
+)ENGINE INNODB;
+
+ALTER TABLE BC_PAYMENT ADD CONSTRAINT BC_PAYMENT_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
+
+CREATE TABLE IF NOT EXISTS BC_REGISTRATION_PAYMENT (
+             BC_ID INTEGER AUTO_INCREMENT,
+             BC_DATE TIMESTAMP,
+             BC_AMOUNT VARCHAR (64),
+             BC_DESCRIPTION VARCHAR (128),
+			 BC_USAGE_PLAN VARCHAR (64),
+	     	 BC_TENANT_ID INTEGER,	
+             CONSTRAINT PK_BC_REGISTRATION_PAYMENT PRIMARY KEY (BC_ID)
+)ENGINE INNODB;
+
+-- this is n-n relationship
+CREATE TABLE IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION (
+             BC_PAYMENT_ID INTEGER,
+             BC_SUBSCRIPTION_ID INTEGER,
+             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_PAYMENT_ID, BC_SUBSCRIPTION_ID)
+)ENGINE INNODB;
+
+ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT BC_PAYMENT_SUBSCRIPTION_FK_BY_PAYMENT_ID FOREIGN KEY (BC_PAYMENT_ID) REFERENCES BC_PAYMENT (BC_ID);
+ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT BC_PAYMENT_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
+
+CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION (
+             BC_ID INTEGER  AUTO_INCREMENT,
+             BC_INVOICE_ID INTEGER,
+             BC_SUBSCRIPTION_ID INTEGER,
+             CONSTRAINT PK_BC_INVOICE_ITEM PRIMARY KEY (BC_ID)
+)ENGINE INNODB;
+
+ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
+ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
+
+
+CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM (
+             BC_INVOICE_SUBSCRIPTION_ID INTEGER,
+             BC_ITEM_ID INTEGER,
+             BC_COST VARCHAR (64),
+	     BC_DESCRIPTION varchar (64),	
+             CONSTRAINT PK_BC_INVOICE_SUBSCRIPTION_ITEM PRIMARY KEY (BC_INVOICE_SUBSCRIPTION_ID, BC_ITEM_ID)
+)ENGINE INNODB;
+
+ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_INVOICE_SUBSCRIPTION_ID FOREIGN KEY (BC_INVOICE_SUBSCRIPTION_ID) REFERENCES BC_INVOICE_SUBSCRIPTION (BC_ID);
+ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM(BC_ID);
+
+CREATE TABLE IF NOT EXISTS BC_DISCOUNT (
+        BC_ID INTEGER AUTO_INCREMENT,
+        BC_TENANT_ID INTEGER,
+        BC_PERCENTAGE FLOAT,
+        BC_AMOUNT FLOAT,
+        BC_START_DATE TIMESTAMP,
+        BC_END_DATE TIMESTAMP,
+        BC_PERCENTAGE_TYPE INTEGER,
+        CONSTRAINT PK_BC_DISCOUNT PRIMARY KEY (BC_ID)
+)ENGINE INNODB;
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/billing-script/metering_h2.sql
----------------------------------------------------------------------
diff --git a/products/stratos_controller/billing-script/metering_h2.sql b/products/stratos_controller/billing-script/metering_h2.sql
new file mode 100755
index 0000000..0491b8e
--- /dev/null
+++ b/products/stratos_controller/billing-script/metering_h2.sql
@@ -0,0 +1,114 @@
+--
+-- TABLES
+--
+
+CREATE TABLE IF NOT EXISTS USAGE_HOURLY_ANALYTICS (
+        ID VARCHAR(200) NOT NULL,
+        HOUR_FACT TIMESTAMP,
+        SERVER_NAME VARCHAR(100),
+        TENANT_ID VARCHAR(50),
+        PAYLOAD_TYPE VARCHAR(50),
+        PAYLOAD_VALUE  BIGINT,
+        PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS USAGE_DAILY_ANALYTICS (
+        ID VARCHAR(200) NOT NULL,
+        DAY_FACT TIMESTAMP,
+        SERVER_NAME VARCHAR(100),
+        TENANT_ID VARCHAR(50),
+        PAYLOAD_TYPE VARCHAR(50),
+        PAYLOAD_VALUE  BIGINT,
+        PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS USAGE_MONTHLY_ANALYTICS (
+        ID VARCHAR(200) NOT NULL,
+        MONTH_FACT TIMESTAMP,
+        SERVER_NAME VARCHAR(100),
+        TENANT_ID VARCHAR(50),
+        PAYLOAD_TYPE VARCHAR(50),
+        PAYLOAD_VALUE  BIGINT,
+        PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS USAGE_LAST_HOURLY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (ID)
+);
+	
+CREATE TABLE IF NOT EXISTS USAGE_LAST_DAILY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS USAGE_LAST_MONTHLY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_HOURLY_ANALYTICS (
+	ID VARCHAR(200) NOT NULL,
+	HOUR_FACT TIMESTAMP,
+	SERVER_NAME VARCHAR(100),
+	TENANT_ID VARCHAR(50),
+	REQUEST_COUNT BIGINT,
+	RESPONSE_COUNT BIGINT,
+	FAULT_COUNT BIGINT,
+	PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_DAILY_ANALYTICS (
+	ID VARCHAR(200) NOT NULL,
+	DAY_FACT TIMESTAMP,
+	SERVER_NAME VARCHAR(100),
+	TENANT_ID VARCHAR(50),
+	REQUEST_COUNT BIGINT,
+	RESPONSE_COUNT BIGINT,
+	FAULT_COUNT BIGINT,
+	PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_MONTHLY_ANALYTICS (
+	ID VARCHAR(200) NOT NULL,
+	MONTH_FACT TIMESTAMP,
+	SERVER_NAME VARCHAR(100),
+	TENANT_ID VARCHAR(50),
+	REQUEST_COUNT BIGINT,
+	RESPONSE_COUNT BIGINT,
+	FAULT_COUNT BIGINT,
+	PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_HOURLY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (ID)
+);
+	
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_DAILY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_MONTHLY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (ID)
+);
+
+CREATE TABLE IF NOT EXISTS REGISTRY_USAGE_HOURLY_ANALYTICS ( 
+	ID VARCHAR(50),
+	TENANT_ID VARCHAR(50),	
+	HISTORY_USAGE BIGINT,
+	CURRENT_USAGE BIGINT,
+	PRIMARY KEY (ID)
+); 
+
+
+COMMIT;
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/billing-script/metering_mysql.sql
----------------------------------------------------------------------
diff --git a/products/stratos_controller/billing-script/metering_mysql.sql b/products/stratos_controller/billing-script/metering_mysql.sql
new file mode 100755
index 0000000..3ab4ee3
--- /dev/null
+++ b/products/stratos_controller/billing-script/metering_mysql.sql
@@ -0,0 +1,149 @@
+-- WSO2 METERING DATABASE SQL FOR MySQL
+
+SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
+
+SET AUTOCOMMIT=0;
+START TRANSACTION;
+
+--
+-- TABLES
+--
+
+CREATE TABLE IF NOT EXISTS USAGE_HOURLY_ANALYTICS (
+        ID VARCHAR(200) NOT NULL,
+        HOUR_FACT TIMESTAMP,
+        SERVER_NAME VARCHAR(100),
+        TENANT_ID VARCHAR(50),
+        PAYLOAD_TYPE VARCHAR(50),
+        PAYLOAD_VALUE  BIGINT,
+        PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS USAGE_DAILY_ANALYTICS (
+        ID VARCHAR(200) NOT NULL,
+        DAY_FACT TIMESTAMP,
+        SERVER_NAME VARCHAR(100),
+        TENANT_ID VARCHAR(50),
+        PAYLOAD_TYPE VARCHAR(50),
+        PAYLOAD_VALUE  BIGINT,
+        PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS USAGE_MONTHLY_ANALYTICS (
+        ID VARCHAR(200) NOT NULL,
+        MONTH_FACT TIMESTAMP,
+        SERVER_NAME VARCHAR(100),
+        TENANT_ID VARCHAR(50),
+        PAYLOAD_TYPE VARCHAR(50),
+        PAYLOAD_VALUE  BIGINT,
+        PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS USAGE_LAST_HOURLY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+	
+CREATE TABLE IF NOT EXISTS USAGE_LAST_DAILY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS USAGE_LAST_MONTHLY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_HOURLY_ANALYTICS (
+	ID VARCHAR(200) NOT NULL,
+	HOUR_FACT TIMESTAMP,
+	SERVER_NAME VARCHAR(100),
+	TENANT_ID VARCHAR(50),
+	REQUEST_COUNT BIGINT,
+	RESPONSE_COUNT BIGINT,
+	FAULT_COUNT BIGINT,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_DAILY_ANALYTICS (
+	ID VARCHAR(200) NOT NULL,
+	DAY_FACT TIMESTAMP,
+	SERVER_NAME VARCHAR(100),
+	TENANT_ID VARCHAR(50),
+	REQUEST_COUNT BIGINT,
+	RESPONSE_COUNT BIGINT,
+	FAULT_COUNT BIGINT,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_MONTHLY_ANALYTICS (
+	ID VARCHAR(200) NOT NULL,
+	MONTH_FACT TIMESTAMP,
+	SERVER_NAME VARCHAR(100),
+	TENANT_ID VARCHAR(50),
+	REQUEST_COUNT BIGINT,
+	RESPONSE_COUNT BIGINT,
+	FAULT_COUNT BIGINT,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_HOURLY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+	
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_DAILY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_MONTHLY_TS (
+	ID VARCHAR(200) NOT NULL,
+	TIMESTMP TIMESTAMP,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS REGISTRY_USAGE_HOURLY_ANALYTICS ( 
+	ID VARCHAR(50),
+	TENANT_ID VARCHAR(50),	
+	HISTORY_USAGE BIGINT,
+	CURRENT_USAGE BIGINT,
+	PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS CARTRIDGE_STATS_HOURLY_ANALYTICS (
+        HOUR_FACT TIMESTAMP,
+        TENANT_ID VARCHAR(50),
+	CARTRIDGE_TYPE VARCHAR(20),
+	IMAGE_ID VARCHAR(100),
+	NODE_ID VARCHAR(100),
+	DURATION_HOURS INT(5),
+        PRIMARY KEY (`NODE_ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS CARTRIDGE_STATS_LAST_HOURLY_TS (
+        ID VARCHAR(200) NOT NULL,
+        TIMESTMP TIMESTAMP,
+        PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS CARTRIDGE_STATS_LAST_DAILY_TS (
+        ID VARCHAR(200) NOT NULL,
+        TIMESTMP TIMESTAMP,
+        PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+
+CREATE TABLE IF NOT EXISTS CARTRIDGE_STATS_LAST_MONTHLY_TS (
+        ID VARCHAR(200) NOT NULL,
+        TIMESTMP TIMESTAMP,
+        PRIMARY KEY (`ID`)
+) ENGINE=INNODB;
+ 
+
+COMMIT;
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/billing-script/migration.sql
----------------------------------------------------------------------
diff --git a/products/stratos_controller/billing-script/migration.sql b/products/stratos_controller/billing-script/migration.sql
new file mode 100755
index 0000000..379e859
--- /dev/null
+++ b/products/stratos_controller/billing-script/migration.sql
@@ -0,0 +1,7 @@
+ALTER TABLE UM_TENANT ADD UM_CREATED_DATE TIMESTAMP NOT NULL DEFAULT '2010-06-01 00:00:01';  
+ALTER TABLE UM_TENANT ADD UNIQUE INDEX INDEX_UM_TENANT_UM_DOMAIN_NAME (UM_DOMAIN_NAME);
+
+ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_SOURCEPATH (REG_SOURCEPATH, REG_TENANT_ID);
+ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_TARGETPATH (REG_TARGETPATH, REG_TENANT_ID);
+ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_ASSOCIATION_TYPE (REG_ASSOCIATION_TYPE, REG_TENANT_ID); 
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/billing-script/s2_h2.sql
----------------------------------------------------------------------
diff --git a/products/stratos_controller/billing-script/s2_h2.sql b/products/stratos_controller/billing-script/s2_h2.sql
new file mode 100644
index 0000000..170c77b
--- /dev/null
+++ b/products/stratos_controller/billing-script/s2_h2.sql
@@ -0,0 +1,96 @@
+--
+-- Create schema s2_db
+--
+
+-- CREATE SCHEMA  IF NOT EXISTS s2_db; 
+-- SET SCHEMA s2_db;
+
+--
+-- Definition of table s2_db.CARTRIDGE_INSTANCE
+--
+
+DROP TABLE IF EXISTS CARTRIDGE_INSTANCE;
+CREATE TABLE  CARTRIDGE_INSTANCE (
+  ID int(11) NOT NULL AUTO_INCREMENT,
+  INSTANCE_IP varchar(255) NOT NULL,
+  TENANT_ID int(11) DEFAULT NULL,
+  TENANT_DOMAIN varchar(255) DEFAULT NULL,
+  CARTRIDGE_TYPE varchar(255) NOT NULL,
+  STATE varchar(255) NOT NULL,
+  CLUSTER_DOMAIN varchar(255) NOT NULL,
+  CLUSTER_SUBDOMAIN varchar(255) NOT NULL,
+  PRIMARY KEY (ID)
+);
+
+--
+-- Definition of table CARTRIDGE_SUBSCRIPTION
+--
+
+DROP TABLE IF EXISTS CARTRIDGE_SUBSCRIPTION;
+CREATE TABLE  CARTRIDGE_SUBSCRIPTION (
+  SUBSCRIPTION_ID int(11) NOT NULL AUTO_INCREMENT,
+  TENANT_ID int(11) NOT NULL,
+  CARTRIDGE varchar(30) NOT NULL,
+  PROVIDER varchar(30) NOT NULL,
+  HOSTNAME varchar(255) NOT NULL,
+  POLICY varchar(50) NULL,
+  CLUSTER_DOMAIN varchar(255) NOT NULL,
+  CLUSTER_SUBDOMAIN varchar(255) NOT NULL,
+  MGT_DOMAIN varchar(255) NOT NULL,
+  MGT_SUBDOMAIN varchar(255) NOT NULL,
+  STATE varchar(30) NOT NULL,
+  ALIAS varchar(255) NOT NULL,
+  TENANT_DOMAIN varchar(255) NOT NULL,
+  BASE_DIR varchar(255) NOT NULL,
+  REPO_ID int(11) DEFAULT NULL,
+  DATA_CARTRIDGE_ID int(11) DEFAULT NULL,
+  MAPPED_DOMAIN varchar(255),
+  PRIMARY KEY (SUBSCRIPTION_ID)
+);
+
+
+
+--
+-- Definition of table DATA_CARTRIDGE
+--
+
+DROP TABLE IF EXISTS DATA_CARTRIDGE;
+CREATE TABLE  DATA_CARTRIDGE (
+  DATA_CART_ID int(11) NOT NULL AUTO_INCREMENT,
+  TYPE varchar(30) NOT NULL,
+  USER_NAME varchar(255) NOT NULL,
+  PASSWORD varchar(255) NOT NULL,
+  STATE varchar(255) NOT NULL,
+  PRIMARY KEY (DATA_CART_ID) 
+);
+
+
+--
+-- Definition of table PORT_MAPPING
+--
+
+DROP TABLE IF EXISTS PORT_MAPPING;
+CREATE TABLE  PORT_MAPPING (
+  PORT_MAPPING_ID int(11) NOT NULL AUTO_INCREMENT,
+  SUBSCRIPTION_ID int(11) NOT NULL,
+  TYPE varchar(30) NOT NULL,
+  PRIMARY_PORT varchar(30) NOT NULL,
+  PROXY_PORT varchar(30) NOT NULL,
+  STATE varchar(30) NOT NULL,
+  PRIMARY KEY (PORT_MAPPING_ID)
+);
+
+
+--
+-- Definition of table REPOSITORY
+--
+
+DROP TABLE IF EXISTS REPOSITORY;
+CREATE TABLE  REPOSITORY (
+  REPO_ID int(11) NOT NULL AUTO_INCREMENT,
+  REPO_NAME varchar(255) NOT NULL,
+  STATE varchar(30) NOT NULL,
+  REPO_USER_NAME varchar(255) NOT NULL,
+  REPO_USER_PASSWORD varchar(255) NOT NULL,
+  PRIMARY KEY (REPO_ID)
+);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/billing-script/wso2_rss.sql
----------------------------------------------------------------------
diff --git a/products/stratos_controller/billing-script/wso2_rss.sql b/products/stratos_controller/billing-script/wso2_rss.sql
new file mode 100755
index 0000000..411b1ce
--- /dev/null
+++ b/products/stratos_controller/billing-script/wso2_rss.sql
@@ -0,0 +1,81 @@
+
+CREATE TABLE RSS_INSTANCE (
+  rss_instance_id INTEGER AUTO_INCREMENT,
+  name VARCHAR(128) NOT NULL,
+  server_url VARCHAR(1024) NOT NULL,
+  dbms_type VARCHAR(128) NOT NULL,
+  instance_type VARCHAR(128) NOT NULL,
+  server_category VARCHAR(128) NOT NULL,
+  admin_username VARCHAR(128),
+  admin_password VARCHAR(128),
+  tenant_id INTEGER NOT NULL,
+  UNIQUE (name, tenant_id),
+  PRIMARY KEY (rss_instance_id)
+) ENGINE="InnoDB";
+
+CREATE TABLE DATABASE_INSTANCE (
+  database_instance_id INTEGER AUTO_INCREMENT,
+  name VARCHAR(128) NOT NULL,
+  rss_instance_id INTEGER,
+  tenant_id INTEGER,
+  UNIQUE (name, rss_instance_id),
+  PRIMARY KEY (database_instance_id),
+  FOREIGN KEY (rss_instance_id) REFERENCES RSS_INSTANCE (rss_instance_id)
+) ENGINE="InnoDB";
+
+CREATE TABLE DATABASE_USER (
+  user_id INTEGER AUTO_INCREMENT,
+  db_username VARCHAR(128) NOT NULL,
+  rss_instance_id INTEGER,
+  user_tenant_id INTEGER,
+  UNIQUE (db_username, rss_instance_id, user_tenant_id),
+  PRIMARY KEY (user_id),
+  FOREIGN KEY (rss_instance_id) REFERENCES RSS_INSTANCE (rss_instance_id)
+) ENGINE="InnoDB";
+
+CREATE TABLE DATABASE_INSTANCE_PROPERTY (
+  db_property_id INTEGER AUTO_INCREMENT,
+  prop_name VARCHAR(128) NOT NULL,
+  prop_value TEXT,
+  database_instance_id INTEGER,
+  UNIQUE (prop_name, database_instance_id),
+  PRIMARY KEY (db_property_id),
+  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
+) ENGINE="InnoDB";
+
+CREATE TABLE USER_DATABASE_ENTRY (
+  user_id INTEGER,
+  database_instance_id INTEGER,
+  PRIMARY KEY (user_id, database_instance_id),
+  FOREIGN KEY (user_id) REFERENCES DATABASE_USER (user_id),
+  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
+) ENGINE="InnoDB";
+
+CREATE TABLE USER_DATABASE_PERMISSION (
+  user_id INTEGER,
+  database_instance_id INTEGER,
+  perm_name VARCHAR(128) NOT NULL,
+  perm_value VARCHAR(128),
+  PRIMARY KEY (user_id, database_instance_id, perm_name),
+  FOREIGN KEY (user_id) REFERENCES DATABASE_USER (user_id),
+  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
+) ENGINE="InnoDB";
+
+CREATE TABLE WSO2_RSS_DATABASE_INSTANCE_COUNT (
+  instance_count INTEGER NOT NULL DEFAULT 0
+) ENGINE="InnoDB";
+
+CREATE TABLE USER_PRIVILEGE_GROUP (
+  priv_group_id INTEGER AUTO_INCREMENT,
+  priv_group_name VARCHAR(128),
+  tenant_id INTEGER,
+  PRIMARY KEY (priv_group_id, priv_group_name, tenant_id)
+) ENGINE="InnoDB";
+
+CREATE TABLE USER_PRIVILEGE_GROUP_ENTRY (
+  priv_group_id INTEGER,
+  perm_name VARCHAR(128),
+  perm_value CHAR(1),
+  PRIMARY KEY (priv_group_id, perm_name),
+  FOREIGN KEY (priv_group_id) REFERENCES USER_PRIVILEGE_GROUP (priv_group_id)
+) ENGINE="InnoDB";

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/README-STRATOS
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/README-STRATOS b/products/stratos_controller/conf/README-STRATOS
new file mode 100755
index 0000000..f41daf5
--- /dev/null
+++ b/products/stratos_controller/conf/README-STRATOS
@@ -0,0 +1,90 @@
+CARBON_HOME/repository/conf directory contains all the Stratos configuration files. 
+carbon/products/manager/conf contains all the Stratos specific configuration files,
+ in the source tree structure.
+
+1. announcement.xml
+   Originally added to customize the announcement using the announcement module. Not used as of now.
+
+2. bam.xml
+   The configuration for billing and metering.
+
+3. billing-config.xml
+   Defines the database and the Task for billing. Multi-tenancy billing rules (by default, uses 
+   multitenancy-billing-rules.drl) and email for billing notifications (by default, uses 
+   email-billing-notifications.xml) are specified here.
+
+4. cloud-services-desc.xml
+   This has the configurations for the cloud services. 
+   Label, link, icon, description, and the other similar information for each of the services are
+   given here.
+
+5. email-admin-config.xml
+   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.
+
+6. email-billing-notifications.xml
+   Contains the body of the mail that to be sent as the invoice of the tenant for the period.
+
+7. email-new-tenant-activation.xml
+   Contains the body of the mail that to be sent to the super admin or a given admin email address,
+    when a new tenant activates their unactivated account.
+
+8. email-new-tenant-registration.xml
+   Contains the body of the mail that to be sent to the super admin or a given admin email address,
+    when a new tenant registers for an account.
+
+9. email-password-reset.xml
+   Contains the body of the mail that to be sent when the tenant admin's password is reset, mostly
+   by a service administrator, known as the super-tenant in Stratos-world.
+
+10. email-registration.xml
+   Contains the body of the mail to be sent for the tenant registration validation. 
+   This mail has the registration validation link to validate the email too.
+
+11. email-registration-complete.xml
+    Contains the mail that to be sent upon successful registration and the successful validation 
+    of the email.
+
+12.  email-update.xml
+    Contains the body of the mail that to be sent upon receiving an email change request from the 
+    account management. The new email address will be notified of this change.
+
+13. eula.xml
+    Contains the End User License Agreement for Stratos. Will be displayed during the self-registration
+    of the tenant.
+
+14. identity.xml
+    Security, SSO store, Personal certificate stores of the user, authentication, and the other 
+    identity related parameters can be configured from here.
+
+15. metering-config-non-manager.xml
+    This file contains configuration related to the metering.
+
+16. multitenancy-billing-rules
+    This file defines the rules for the billing for multiple tenants.
+
+17. multitenancy-packages.xml
+    This contains the subscription types and the respective limits of parameters for each of the 
+    packages.
+
+18. README-STRATOS
+    This file. This has the information about the stratos specific configurations files.
+
+19. samples-desc.xml
+    This has the description of the platform sample (currently included, shopping cart sample).
+
+20. stratos.xml
+    This is the configuration file for Stratos specific constants. 
+    Feel free to add your custom parameters and constants here.
+
+21. tenant-reg-agent.xml
+    tenantRegListenerServers configuration
+
+22. throttling-config.xml
+    Configuration file for throttling.
+
+23. throttling-rules.drl
+    Defines the throttling rules.
+
+24. user-mgt.xml
+   The User Manager configuration file used for configuring user management details.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/axis2.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/axis2.xml b/products/stratos_controller/conf/axis2.xml
new file mode 100755
index 0000000..f1dc859
--- /dev/null
+++ b/products/stratos_controller/conf/axis2.xml
@@ -0,0 +1,525 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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">
+    
+    <!-- ================================================= -->
+    <!--                  Parameters                       -->
+    <!-- ================================================= -->
+
+    <!-- This will give out the timout of the configuration contexts, in milliseconds -->
+    <parameter name="ConfigContextTimeoutInterval" locked="false">30000</parameter>
+
+    <!-- Synapse Configuration file location relative to CARBON_HOME -->
+    <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">localhost</parameter>
+   
+
+    <!-- ================================================= -->
+    <!--                Message Formatters                 -->
+    <!-- ================================================= -->
+
+    <!-- Following content type to message formatter mapping can be used to implement support -->
+    <!-- for different message format serializations in Axis2. These message formats are -->
+    <!-- expected to be resolved based on the content type. -->
+    <messageFormatters>
+        <!--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"/>-->
+        <!--messageFormatter contentType="application/x-www-form-urlencoded"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
+        <messageFormatter contentType="multipart/related"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/xml"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/txt"
+                        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="text/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"/-->
+
+        <messageFormatter contentType="text/css"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="text/javascript"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+        <messageFormatter contentType="image/gif"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="img/gif"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="image/jpeg"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="image/png"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="image/ico"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="image/x-icon"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+	    <messageFormatter contentType="application/x-javascript"
+                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+	    <messageFormatter contentType="application/x-shockwave-flash"
+                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+	    <messageFormatter contentType="application/atom+xml"
+                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/x-www-form-urlencoded"
+                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+	    <messageFormatter contentType="application/xhtml+xml"
+                              class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+	    <messageFormatter contentType="application/octet-stream"
+                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/javascript"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+        <messageFormatter contentType="multipart/form-data"
+                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/soap+xml"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+        <!--JSON Message Formatters-->
+        <messageFormatter contentType="application/json"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="application/json/badgerfish"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+        <messageFormatter contentType="text/javascript"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+
+        <messageFormatter contentType=".*"
+                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
+
+    </messageFormatters>
+
+    <!-- ================================================= -->
+    <!--                Message Builders                   -->
+    <!-- ================================================= -->
+
+    <!-- Following content type to builder mapping can be used to implement support for -->
+    <!-- different message formats in Axis2. These message formats are expected to be -->
+    <!-- resolved based on the content type. -->
+    <messageBuilders>
+        <messageBuilder contentType="application/xml"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/txt"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <!--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"/>
+        <!--messageBuilder contentType="x-application/hessian"
+                        class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
+        <!--messageBuilder contentType=""
+                         class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
+
+        <!--JSON Message Builders-->
+        <messageBuilder contentType="application/json"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/json/badgerfish"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="text/javascript"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+
+        <messageBuilder contentType="text/html"
+                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="text/css"
+                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="text/javascript"
+                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+        <messageBuilder contentType="image/gif"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="img/gif"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="image/jpeg"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="image/png"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="image/ico"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="image/x-icon"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+
+	    <messageBuilder contentType="application/x-javascript"
+                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/x-shockwave-flash"
+                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/atom+xml"
+                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/x-www-form-urlencoded"
+                            class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/xhtml+xml"
+                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+	    <messageBuilder contentType="application/octet-stream"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/javascript"
+                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+        <messageBuilder contentType="multipart/form-data"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+        <messageBuilder contentType="application/soap+xml"
+                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+
+        <messageBuilder contentType=".*"
+                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
+
+    </messageBuilders>
+
+    <!-- ================================================= -->
+    <!--             Transport Ins (Listeners)             -->
+    <!-- ================================================= -->
+    <!--Default trasnport will be passthrough if you need to change please add it here -->
+   <transportReceiver name="http" class="org.apache.synapse.transport.passthru.PassThroughHttpListener">
+      <parameter name="port">8280</parameter>
+      <parameter name="non-blocking"> true</parameter>
+      <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
+   </transportReceiver>
+   <transportReceiver name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLListener">
+        <parameter name="port" locked="false">8243</parameter>
+        <parameter name="non-blocking" locked="false">true</parameter>
+        <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
+        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
+        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</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>
+        <!--<parameter name="SSLVerifyClient">require</parameter>
+            supports optional|require or defaults to none -->
+    </transportReceiver>
+
+    <!-- uncomment for non blocking http transport based on HttpCore + NIO extensions -->
+    <!--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-->
+        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
+        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
+        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
+    <!--/transportReceiver-->
+
+    <!-- the non blocking https transport based on HttpCore + SSL-NIO extensions -->
+    <!--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="bind-address" locked="false">hostname or IP address</parameter-->
+        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
+        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</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-->
+        <!--<parameter name="SSLVerifyClient">require</parameter>
+            supports optional|require or defaults to none -->
+    <!--/transportReceiver-->
+
+    <!-- ================================================= -->
+    <!--             Transport Outs (Senders)              -->
+    <!-- ================================================= -->
+    <!--Default trasnport will be passthrough if you need to change please add it here -->
+    <transportSender name="http"  class="org.apache.synapse.transport.passthru.PassThroughHttpSender">
+        <parameter name="non-blocking" locked="false">true</parameter>
+        <parameter name="warnOnHTTP500" locked="false">*</parameter>
+        <!--parameter name="http.proxyHost" locked="false">localhost</parameter>
+        <parameter name="http.proxyPort" locked="false">3128</parameter>
+        <parameter name="http.nonProxyHosts" locked="false">localhost|moon|sun</parameter-->
+    </transportSender>
+    <transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender">
+        <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>
+        <parameter name="HostnameVerifier">AllowAll</parameter>
+            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
+     </transportSender>
+    <!-- Uncomment for non-blocking http transport based on HttpCore + NIO extensions -->
+    <!--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>
+        <parameter name="HostnameVerifier">AllowAll</parameter-->
+            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
+    <!--/transportSender-->
+
+    <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
+
+    <!-- ================================================= -->
+    <!--                Clustering                         -->
+    <!-- ================================================= -->
+    <!--
+     To enable clustering for this node, set the value of "enable" attribute of the "clustering"
+     element to "true". The initialization of a node in the cluster is handled by the class
+     corresponding to the "class" attribute of the "clustering" element. It is also responsible for
+     getting this node to join the cluster.
+     -->
+    <clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="true">
+
+        <!--
+           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">wka</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.adc.domain</parameter>
+
+        <!--
+           When a Web service request is received, and processed, before the response is sent to the
+           client, should we update the states of all members in the cluster? If the value of
+           this parameter is set to "true", the response to the client will be sent only after
+           all the members have been updated. Obviously, this can be time consuming. In some cases,
+           such this overhead may not be acceptable, in which case the value of this parameter
+           should be set to "false"
+        -->
+        <parameter name="synchronizeAll">false</parameter>
+
+        <!--
+          The maximum number of times we need to retry to send a message to a particular node
+          before giving up and considering that node to be faulty
+        -->
+        <parameter name="maxRetries">10</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>
+
+        <!-- The frequency of sending membership multicast messages (in ms) -->
+        <parameter name="mcastFrequency">500</parameter>
+
+        <!-- The time interval within which if a member does not respond, the member will be
+         deemed to have left the group (in ms)
+         -->
+        <parameter name="memberDropTime">3000</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 TCP port used by this member. This is the port through which other nodes will
+        contact this member
+         -->
+        <parameter name="localMemberPort">4000</parameter>
+
+        <!--
+        Preserve message ordering. This will be done according to sender order.
+        -->
+        <parameter name="preserveMessageOrder">false</parameter>
+
+        <!--
+        Maintain atmost-once message processing semantics
+        -->
+        <parameter name="atmostOnceMessageSemantics">false</parameter>
+         
+        <!--
+           This interface is responsible for handling state replication. The property changes in
+           the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
+
+           The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
+           suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
+           "*" indicates that all properties in a particular context should not be replicated.
+
+            The "enable" attribute indicates whether context replication has been enabled
+        -->
+        <stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
+                      enable="false">
+            <replication>
+                <defaults>
+                    <exclude name="local_*"/>
+                    <exclude name="LOCAL_*"/>
+                </defaults>
+                <context class="org.apache.axis2.context.ConfigurationContext">
+                    <exclude name="local_*"/>
+                    <exclude name="UseAsyncOperations"/>
+                    <exclude name="SequencePropertyBeanMap"/>
+                </context>
+                <context class="org.apache.axis2.context.ServiceGroupContext">
+                    <exclude name="local_*"/>
+                    <exclude name="my.sandesha.*"/>
+                </context>
+                <context class="org.apache.axis2.context.ServiceContext">
+                    <exclude name="local_*"/>
+                    <exclude name="my.sandesha.*"/>
+                </context>
+            </replication>
+        </stateManager>
+    </clustering>
+
+    <!-- ================================================= -->
+    <!--                    Phases                         -->
+    <!-- ================================================= -->
+
+    <phaseOrder type="InFlow">
+        <!--  System pre defined phases       -->
+        <phase name="Transport"/>
+        <phase name="Addressing"/>
+        <phase name="Security"/>
+        <phase name="PreDispatch"/>
+        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
+        <!--  System pre defined phases       -->
+        <phase name="RMPhase"/>
+        <phase name="OpPhase"/>
+    </phaseOrder>
+
+    <phaseOrder type="OutFlow">
+        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
+        <phase name="UEPPhase" />
+        <!--      user can add his own phases to this area  -->
+        <phase name="RMPhase"/>
+        <phase name="MUPhase"/>
+        <phase name="OpPhase"/>
+        <phase name="OperationOutPhase"/>
+        <!--system predefined phase-->
+        <!--these phase will run irrespective of the service-->
+        <phase name="PolicyDetermination"/>
+        <phase name="MessageOut"/>
+        <phase name="Security"/>
+    </phaseOrder>
+
+    <phaseOrder type="InFaultFlow">
+        <phase name="Transport"/>
+        <phase name="Addressing"/>
+        <phase name="Security"/>
+        <phase name="PreDispatch"/>
+        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
+        <!--      user can add his own phases to this area  -->
+        <phase name="RMPhase"/>
+        <phase name="OpPhase"/>
+        <phase name="MUPhase"/>
+        <phase name="OperationInFaultPhase"/>
+    </phaseOrder>
+
+    <phaseOrder type="OutFaultFlow">
+        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
+        <phase name="UEPPhase" />
+        <!--      user can add his own phases to this area  -->
+        <phase name="RMPhase"/>
+        <!-- Must Understand Header processing phase -->
+        <phase name="MUPhase"/>
+        <phase name="OperationOutFaultPhase"/>
+        <phase name="PolicyDetermination"/>
+        <phase name="MessageOut"/>
+        <phase name="Security"/>
+    </phaseOrder>
+
+</axisconfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/bam.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/bam.xml b/products/stratos_controller/conf/bam.xml
new file mode 100755
index 0000000..e267a90
--- /dev/null
+++ b/products/stratos_controller/conf/bam.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bamServer>
+
+    <!--
+        Configuration for Billing and Metering. 
+    -->
+    
+    <!--Configuration for summary generation task. 
+          1. initial-delay = Time for first summary generation after the server start. (in seconds)
+          2. interval = Periodic interval to run summary generation task. (in seconds)
+    -->
+    <summaryGeneration>
+             <initial-delay>600</initial-delay>
+             <interval>3600</interval>
+    </summaryGeneration>
+
+    <!--Configuration for data collection task for pull mode servers. 
+          1. initial-delay = Time for first data collection after the server start. (in seconds)
+          2. interval = Periodic interval to run summary generation task. (in seconds)
+    -->
+    <dataCollection>
+             <initial-delay>60</initial-delay>
+             <interval>60</interval>
+    </dataCollection>
+
+</bamServer>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/billing-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/billing-config.xml b/products/stratos_controller/conf/billing-config.xml
new file mode 100755
index 0000000..85c1605
--- /dev/null
+++ b/products/stratos_controller/conf/billing-config.xml
@@ -0,0 +1,67 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+     Defines the database and the Task for billing. Multi-tenancy billing rules (by default, uses 
+     multitenancy-billing-rules.drl) and email for billing notifications (by default, uses 
+     email-billing-notifications.xml) are specified here. 
+  -->
+
+<billingConfig xmlns="http://wso2.com/carbon/multitenancy/billing/config">
+    <tasks>
+        <task id="multitenancyScheduledTask">
+            <schedule scheduleHelperClass="org.wso2.carbon.billing.core.scheduler.scheduleHelpers.MonthlyScheduleHelper">
+                <parameter name="timeZone">GMT-8:00</parameter>
+		<!--cron format: second minute hour dayOfTheMonth Month DayOfWeek-->
+                <parameter name="cron">0 0 0 1 * ?</parameter>
+            </schedule>
+            <handlers>
+                <handler service="org.wso2.carbon.billing.mgt.handlers.MultitenancySubscriptionFeedingHandler">
+                </handler>
+                <handler class="org.wso2.carbon.billing.core.handlers.SubscriptionTreeBuildingHandler">
+                </handler>
+                <handler class="org.wso2.carbon.billing.core.handlers.RuleHandler">
+                    <parameter name="file">multitenancy-billing-rules.drl</parameter>
+                </handler>
+                <handler class="org.wso2.carbon.billing.core.handlers.InvoiceCalculationHandler">
+                </handler>
+                <handler class="org.wso2.carbon.billing.core.handlers.DefaultFinalizingHandler">
+                </handler>
+                <handler class="org.wso2.carbon.billing.core.handlers.EmailSendingHandler">
+                    <parameter name="file">email-billing-notifications.xml</parameter>
+                </handler>
+            </handlers>
+        </task>
+        <task id="multitenancyViewingTask">
+            <handlers>
+                <handler service="org.wso2.carbon.billing.mgt.handlers.MultitenancySubscriptionFeedingHandler">
+                </handler>
+                <handler class="org.wso2.carbon.billing.core.handlers.SubscriptionTreeBuildingHandler">
+                </handler>
+                <handler class="org.wso2.carbon.billing.core.handlers.RuleHandler">
+                    <parameter name="file">multitenancy-billing-rules.drl</parameter>
+                </handler>
+                <handler class="org.wso2.carbon.billing.core.handlers.InvoiceCalculationHandler">
+                </handler>
+                <!--
+                <handler class="org.wso2.carbon.billing.core.handlers.DefaultFinalizingHandler">
+                </handler>-->
+            </handlers>
+        </task>
+    </tasks>
+</billingConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/cipher-text.properties
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/cipher-text.properties b/products/stratos_controller/conf/cipher-text.properties
new file mode 100644
index 0000000..9ad599b
--- /dev/null
+++ b/products/stratos_controller/conf/cipher-text.properties
@@ -0,0 +1,23 @@
+#
+#  Copyright (c) 2005-2010, 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.
+#
+
+#aliases=esb
+#
+## configuration  per each plaintext
+#esb.secret=M6U74dMVvRm4XFMczki2qZ6CsTvnUuRTjSditlACR5vTISSMI7F/mCTVJGOGdKJjij+VWVhBtmAOkElyvR9TwlUECnZ1o5DNsTK6l8je+9amc/ziTQLP3Q1tzm/Ex1pzHsG6jPGGrv3O0B9pZTfYFqRvlcNhM7Ve3WvA3ibs4Yk=
+#esb.secret.alias=wso2carbon
+#esb.secret.keystore=identity
+#

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/cloud-services-desc.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/cloud-services-desc.xml b/products/stratos_controller/conf/cloud-services-desc.xml
new file mode 100644
index 0000000..2b8a2da
--- /dev/null
+++ b/products/stratos_controller/conf/cloud-services-desc.xml
@@ -0,0 +1,176 @@
+<!-- 
+     This has the configurations for the cloud services. 
+     Label, link, icon, description, and the other similar information for each of the services are
+     given here. 
+  -->
+<cloudServices xmlns="http://wso2.com/carbon/cloud/mgt/services">
+     <cloudService name="WSO2 Stratos Controller" default="true">
+	<key>SCC</key>
+        <label>WSO2 Stratos Controller</label>
+        <link>https://scc.cloud.wso2.com</link>
+        <!--icon>
+            https://localhost:9443/cloud-services-icons/esb.gif
+        </icon-->
+        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
+        <description>WSO2 stratos controller.</description>
+    </cloudService>
+    <cloudService name="WSO2 Cloud Controller" default="true">
+	<key>CC</key>
+        <label>WSO2 Cloud Controller</label>
+        <link>https://cc.cloud.wso2.com</link>
+        <!--icon>
+            https://localhost:9443/cloud-services-icons/esb.gif
+        </icon-->
+        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
+        <description>WSO2 Cloud Controller.</description>
+    </cloudService>
+    <cloudService name="WSO2 Stratos Agent" default="true">
+	<key>Agent</key>
+        <label>WSO2 Stratos Agent</label>
+        <link>https://cc.cloud.wso2.com</link>
+        <!--icon>
+            https://localhost:9443/cloud-services-icons/esb.gif
+        </icon-->
+        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
+        <description>WSO2 Stratos Agent.</description>
+    </cloudService>
+    <cloudService name="WSO2 Enterprise Service Bus" default="true">
+	<key>ESB</key>
+        <label>Enterprise Service Bus</label>
+        <link>https://esb.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/esb.gif
+        </icon>
+        <productPageURL>http://wso2.com/products/enterprise-service-bus/</productPageURL>
+        <description>Enterprise Service Bus in the cloud.</description>
+    </cloudService>
+    <cloudService name="Application Server" default="true">
+	<key>AS</key>
+        <label>Application Server</label>
+        <link>https://appserver.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/appserver.gif
+        </icon>
+        <productPageURL>http://wso2.com/products/application-server/</productPageURL>
+        <description>Application Server in the cloud.</description>
+    </cloudService>
+    <cloudService name="WSO2 Data Services Server" default="true">
+	<key>DSS</key>
+        <label>WSO2 Data Services Server</label>
+        <link>https://dss.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/ds.gif
+        </icon>
+        <productPageURL>http://wso2.com/products/data-services-server/</productPageURL>
+        <description>Data Services Server in the cloud.</description>
+    </cloudService>
+    <cloudService name="WSO2 Governance Registry" default="true">
+	<key>Greg</key>
+        <label>Governance</label>
+        <link>https://governance.cloud.wso2.com</link>
+        <description>Governance in the cloud.</description>
+        <icon>
+            https://localhost:9443/cloud-services-icons/governance.gif
+        </icon>
+        <productPageURL>http://wso2.com/products/governance-registry/</productPageURL>
+    </cloudService>
+    <cloudService name="WSO2 Identity Server" default="true">
+	<key>IS</key>
+        <label>WSO2 Identity Server</label>
+        <link>https://identity.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/identity.gif
+        </icon>
+        <description>Identity in the cloud.</description>
+        <productPageURL>http://wso2.com/products/identity-server/</productPageURL>
+    </cloudService>
+    <cloudService name="WSO2 Business Activity Monitor" default="true">
+        <label>Business Activity Monitor</label>
+        <link>https://bam.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/bam.gif
+        </icon>
+        <description>Business Activity Monitor in the cloud.</description>
+        <productPageURL>http://wso2.com/products/business-activity-monitor/</productPageURL>
+    </cloudService>
+    <cloudService name="WSO2 Business Process Server" default="true">
+	<key>BPS</key>
+        <label>Business Process Server</label>
+        <link>https://bps.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/bps.gif
+        </icon>
+        <description>Business Process Server in the cloud.</description>
+        <productPageURL>http://wso2.com/products/business-process-server/</productPageURL>
+    </cloudService>
+    <cloudService name="WSO2 Business Rule Server" default="true">
+	<key>BRS</key>
+        <label>Business Rule Server</label>
+        <link>https://brs.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/brs.gif
+        </icon>
+        <description>Business Rules Server in the cloud.</description>
+        <productPageURL>http://wso2.com/products/business-rules-server/</productPageURL>
+    </cloudService>
+    <cloudService name="WSO2 Mashup Server" default="true">
+	<key>MB</key>
+        <label>Mashup Server</label>
+        <link>https://mashup.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/mashup.gif
+        </icon>
+        <description>Mashup Server in the cloud.</description>
+        <productPageURL>http://wso2.com/products/mashup-server/</productPageURL>
+    </cloudService>
+    <cloudService name="WSO2 Gadget Server" default="true">
+	<key>GS</key>
+        <label>Gadget Server</label>
+        <link>https://gadget.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/gadget.gif
+        </icon>
+        <description>Gadgets in the cloud.</description>
+        <productPageURL>http://wso2.com/products/gadget-server/</productPageURL>
+    </cloudService>
+    <cloudService name="Cloud Gateway" default="true">
+	<key>CG</key>
+        <label>Cloud Gateway</label>
+        <link>https://cg.stratoslive.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/csg.gif
+        </icon>
+        <description>Cloud Gateway in the cloud.</description>
+		<productPageURL>http://wso2.com/products/cloud-services-gateway/</productPageURL> <!-- FIXME, put the correct project home -->
+    </cloudService>
+    <cloudService name="WSO2 Complex Event Processor" default="true">
+	<key>CEP</key>
+        <label>Complex Event Processor</label>
+        <link>https://cep.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/cep.gif
+        </icon>
+        <productPageURL>http://wso2.com/products/complex-event-processing-server/</productPageURL> <!-- FIXME, put the correct project home -->
+        <description>Complex Event Processor in the cloud.</description>
+    </cloudService>
+    <cloudService name="WSO2 Message Broker" default="true">
+	<key>MB</key>
+        <label>Message Broker</label>
+        <link>https://mb.cloud.wso2.com</link>
+        <icon>
+            https://localhost:9443/cloud-services-icons/mb.gif
+        </icon>
+        <productPageURL>http://wso2.com/products/message-broker/</productPageURL>
+        <description>Message Broker in the cloud.</description>
+    </cloudService>
+    <cloudService name="WSO2 Storage Server" default="true">
+	<key>SS</key>
+   	<label>WSO2 Storage Server</label>
+   	<link>https://ss.stratoslive.wso2.com</link>
+   	<icon>
+       		https://localhost:9443/cloud-services-icons/ss.gif
+   	</icon>
+   	<description>WSO2 Storage Server.</description>
+   	<productPageURL>http://wso2.com/products/storage-server/</productPageURL>
+    </cloudService>
+</cloudServices>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/datasources.properties
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/datasources.properties b/products/stratos_controller/conf/datasources.properties
new file mode 100644
index 0000000..2ef0505
--- /dev/null
+++ b/products/stratos_controller/conf/datasources.properties
@@ -0,0 +1,55 @@
+#
+#  Copyright (c) 2005-2010, 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.
+#
+
+################################################################################
+## DataSources Configuration
+################################################################################
+#synapse.datasources=lookupds,reportds
+#synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory
+#synapse.datasources.providerPort=2199
+## If following property is present , then assumes that there is an external JNDI provider and will not start a RMI registry
+##synapse.datasources.providerUrl=rmi://localhost:2199
+#
+#synapse.datasources.lookupds.registry=Memory
+#synapse.datasources.lookupds.type=BasicDataSource
+#synapse.datasources.lookupds.driverClassName=org.apache.derby.jdbc.ClientDriver
+#synapse.datasources.lookupds.url=jdbc:derby://localhost:1527/lookupdb;create=false
+## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
+#synapse.datasources.lookupds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
+#synapse.datasources.lookupds.username=esb
+## Depending on the password provider used, you may have to use an encrypted password here!
+#synapse.datasources.lookupds.password=esb
+#synapse.datasources.lookupds.dsName=lookupdb
+#synapse.datasources.lookupds.maxActive=100
+#synapse.datasources.lookupds.maxIdle=20
+#synapse.datasources.lookupds.maxWait=10000
+#
+#synapse.datasources.reportds.registry=JNDI
+#synapse.datasources.reportds.type=PerUserPoolDataSource
+#synapse.datasources.reportds.cpdsadapter.factory=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
+#synapse.datasources.reportds.cpdsadapter.className=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
+#synapse.datasources.reportds.cpdsadapter.name=cpds
+#synapse.datasources.reportds.dsName=reportdb
+#synapse.datasources.reportds.driverClassName=org.apache.derby.jdbc.ClientDriver
+#synapse.datasources.reportds.url=jdbc:derby://localhost:1527/reportdb;create=false
+## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
+#synapse.datasources.reportds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
+#synapse.datasources.reportds.username=esb
+## Depending on the password provider used, you may have to use an encrypted password here!
+#synapse.datasources.reportds.password=esb
+#synapse.datasources.reportds.maxActive=100
+#synapse.datasources.reportds.maxIdle=20
+#synapse.datasources.reportds.maxWait=10000
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-bill-generated.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-bill-generated.xml b/products/stratos_controller/conf/email-bill-generated.xml
new file mode 100755
index 0000000..ff49b76
--- /dev/null
+++ b/products/stratos_controller/conf/email-bill-generated.xml
@@ -0,0 +1,38 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+    Contains the body of the mail that to be sent when bill generation is completed.
+  -->
+
+<configuration>       
+    <subject>[BillGeneration] Bill generation completed</subject>
+    <body>
+Hi ,
+
+Bill generation completed successfully on {date}. Following customers may need your attention.
+
+Customer Name	Subscription Plan	Carried Forward Balance
+===============================================
+{reported-customers}
+
+Best Regards,
+WSO2 Cloud Services
+http://stratoslive.wso2.com
+    </body>
+</configuration>


[18/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery.masonry.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery.masonry.min.js b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery.masonry.min.js
deleted file mode 100755
index 67be988..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery.masonry.min.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * jQuery Masonry v2.1.05
- * A dynamic layout plugin for jQuery
- * The flip-side of CSS Floats
- * http://masonry.desandro.com
- *
- * Licensed under the MIT license.
- * Copyright 2012 David DeSandro
- */
-(function(a,b,c){"use strict";var d=b.event,e;d.special.smartresize={setup:function(){b(this).bind("resize",d.special.smartresize.handler)},teardown:function(){b(this).unbind("resize",d.special.smartresize.handler)},handler:function(a,c){var d=this,f=arguments;a.type="smartresize",e&&clearTimeout(e),e=setTimeout(function(){b.event.handle.apply(d,f)},c==="execAsap"?0:100)}},b.fn.smartresize=function(a){return a?this.bind("smartresize",a):this.trigger("smartresize",["execAsap"])},b.Mason=function(a,c){this.element=b(c),this._create(a),this._init()},b.Mason.settings={isResizable:!0,isAnimated:!1,animationOptions:{queue:!1,duration:500},gutterWidth:0,isRTL:!1,isFitWidth:!1,containerStyle:{position:"relative"}},b.Mason.prototype={_filterFindBricks:function(a){var b=this.options.itemSelector;return b?a.filter(b).add(a.find(b)):a},_getBricks:function(a){var b=this._filterFindBricks(a).css({position:"absolute"}).addClass("masonry-brick");return b},_create:function(c){this.options=b.extend(!
 0,{},b.Mason.settings,c),this.styleQueue=[];var d=this.element[0].style;this.originalStyle={height:d.height||""};var e=this.options.containerStyle;for(var f in e)this.originalStyle[f]=d[f]||"";this.element.css(e),this.horizontalDirection=this.options.isRTL?"right":"left",this.offset={x:parseInt(this.element.css("padding-"+this.horizontalDirection),10),y:parseInt(this.element.css("padding-top"),10)},this.isFluid=this.options.columnWidth&&typeof this.options.columnWidth=="function";var g=this;setTimeout(function(){g.element.addClass("masonry")},0),this.options.isResizable&&b(a).bind("smartresize.masonry",function(){g.resize()}),this.reloadItems()},_init:function(a){this._getColumns(),this._reLayout(a)},option:function(a,c){b.isPlainObject(a)&&(this.options=b.extend(!0,this.options,a))},layout:function(a,b){for(var c=0,d=a.length;c<d;c++)this._placeBrick(a[c]);var e={};e.height=Math.max.apply(Math,this.colYs);if(this.options.isFitWidth){var f=0;c=this.cols;while(--c){if(this.colYs[c]!=
 =0)break;f++}e.width=(this.cols-f)*this.columnWidth-this.options.gutterWidth}this.styleQueue.push({$el:this.element,style:e});var g=this.isLaidOut?this.options.isAnimated?"animate":"css":"css",h=this.options.animationOptions,i;for(c=0,d=this.styleQueue.length;c<d;c++)i=this.styleQueue[c],i.$el[g](i.style,h);this.styleQueue=[],b&&b.call(a),this.isLaidOut=!0},_getColumns:function(){var a=this.options.isFitWidth?this.element.parent():this.element,b=a.width();this.columnWidth=this.isFluid?this.options.columnWidth(b):this.options.columnWidth||this.$bricks.outerWidth(!0)||b,this.columnWidth+=this.options.gutterWidth,this.cols=Math.floor((b+this.options.gutterWidth)/this.columnWidth),this.cols=Math.max(this.cols,1)},_placeBrick:function(a){var c=b(a),d,e,f,g,h;d=Math.ceil(c.outerWidth(!0)/this.columnWidth),d=Math.min(d,this.cols);if(d===1)f=this.colYs;else{e=this.cols+1-d,f=[];for(h=0;h<e;h++)g=this.colYs.slice(h,h+d),f[h]=Math.max.apply(Math,g)}var i=Math.min.apply(Math,f),j=0;for(var k=0
 ,l=f.length;k<l;k++)if(f[k]===i){j=k;break}var m={top:i+this.offset.y};m[this.horizontalDirection]=this.columnWidth*j+this.offset.x,this.styleQueue.push({$el:c,style:m});var n=i+c.outerHeight(!0),o=this.cols+1-l;for(k=0;k<o;k++)this.colYs[j+k]=n},resize:function(){var a=this.cols;this._getColumns(),(this.isFluid||this.cols!==a)&&this._reLayout()},_reLayout:function(a){var b=this.cols;this.colYs=[];while(b--)this.colYs.push(0);this.layout(this.$bricks,a)},reloadItems:function(){this.$bricks=this._getBricks(this.element.children())},reload:function(a){this.reloadItems(),this._init(a)},appended:function(a,b,c){if(b){this._filterFindBricks(a).css({top:this.element.height()});var d=this;setTimeout(function(){d._appended(a,c)},1)}else this._appended(a,c)},_appended:function(a,b){var c=this._getBricks(a);this.$bricks=this.$bricks.add(c),this.layout(c,b)},remove:function(a){this.$bricks=this.$bricks.not(a),a.remove()},destroy:function(){this.$bricks.removeClass("masonry-brick").each(functio
 n(){this.style.position="",this.style.top="",this.style.left=""});var c=this.element[0].style;for(var d in this.originalStyle)c[d]=this.originalStyle[d];this.element.unbind(".masonry").removeClass("masonry").removeData("masonry"),b(a).unbind(".masonry")}},b.fn.imagesLoaded=function(a){function h(){a.call(c,d)}function i(a){var c=a.target;c.src!==f&&b.inArray(c,g)===-1&&(g.push(c),--e<=0&&(setTimeout(h),d.unbind(".imagesLoaded",i)))}var c=this,d=c.find("img").add(c.filter("img")),e=d.length,f="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",g=[];return e||h(),d.bind("load.imagesLoaded error.imagesLoaded",i).each(function(){var a=this.src;this.src=f,this.src=a}),c};var f=function(b){a.console&&a.console.error(b)};b.fn.masonry=function(a){if(typeof a=="string"){var c=Array.prototype.slice.call(arguments,1);this.each(function(){var d=b.data(this,"masonry");if(!d){f("cannot call methods on masonry prior to initialization; attempted to call method '"+a+"'");return}
 if(!b.isFunction(d[a])||a.charAt(0)==="_"){f("no such method '"+a+"' for masonry instance");return}d[a].apply(d,c)})}else this.each(function(){var c=b.data(this,"masonry");c?(c.option(a||{}),c._init()):b.data(this,"masonry",new b.Mason(a,this))});return this}})(window,jQuery);
\ No newline at end of file


[45/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/faq.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/faq.html b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/faq.html
deleted file mode 100755
index 1aa750c..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/faq.html
+++ /dev/null
@@ -1,392 +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 src="js/ga.js" async="" type="text/javascript"></script>
-
-
-
-	
-		<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>WSO2 StratosLive – the most complete open PaaS powered by the multi-tenant WSO2 Stratos cloud middleware platform,  and WSO2 Carbon enterprise middleware platform</title>
-		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
-		<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, multi-tenant, cloud enterprise middleware, SOA, open source PaaS" />
-	 	<link rel="stylesheet" href="js/orbit-1.2.3.css">
-		<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
-		<script type="text/javascript" src="js/jquery.orbit-1.2.3.min.js"></script>	
-		
-		
-			<!--[if IE]>
-			     <style type="text/css">
-			         .timer { display: none !important; }
-			         div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
-			    </style>
-			<![endif]-->
-		
-		<script type="text/javascript">
-			$(window).load(function() {
-				$('#featured').orbit({
-					timer: false
-				});
-			});
-		</script>
-	<style type="text/css" charset="utf-8">/* See license.txt for terms of usage */
-</style></head><body dir="LTR" lang="en-US" text="#000000">
-		<div id="main-content">
-			<div id="header">
-				<div class="top-nav">
-					<ul>
-						<li><a href="http://stratoslive.wso2.com/" target="_blank">Stratoslive</a></li>
-						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/">Stratoslive home</a></li>
-						<li><a href="http://wso2.com/cloud/stratoslive/pricing/" target="_blank">Pricing</a></li>
-						<li class="right"><a href="http://www.wso2.com/cloud/services/support" target="_blank">Support</a></li>
-					</ul>
-				</div>
-<div class="logo"><img src="images/logo.gif"></div>
-
-			
-			</div>
-<p style="text-decoration: none;" align="JUSTIFY">
-<b><a name="faqs"></a>StratosLive Frequently Asked Questions</b>
-</p>
-
-
-			<div id="content">
-
-
-					
-					
-					<div class="banner">
-						
-					</div>
-
-	
-	
-	
-	
-	
-	
-	<style type="text/css">
-	<!--
-		P { color: #000000; font-family: "Arial"; font-size: 11pt }
-	-->
-	</style>
-
-<p style="text-decoration: none;" align="JUSTIFY"><br>
-</p>
-<pre><p align="JUSTIFY"><a href="#startup"><strong>	StratosLive Start-up Questions</strong></a>
-    </p><p align="JUSTIFY"><a href="#general"><strong>	Using StratosLive - General Questions</strong></a>
-    </p><p align="JUSTIFY"><a href="#features"><strong>	StratosLive Features</strong></a>
-    </p><p align="JUSTIFY"><a href="#private"><strong>	Stratos Private Set up</strong></a>
-</p></pre>
-<br><br>
-<p style="font-style: normal; font-weight: normal;" align="JUSTIFY"><a name="startup"></a><u><strong>StratosLive
-Start-up Questions</strong></u></p>
-<ol>
-	<li><p align="JUSTIFY"><strong>I have registered an account just now. Why am I
-	unable to log in yet?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Please make sure that you have validated the
-registration, by clicking the validation link in the email sent to
-you. Also make sure that you have entered the username (in the form
-of adminname@domainname) and password correct.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="2">
-	<li><p align="JUSTIFY"><strong>Why should I validate my domain?</strong></p>
-</li></ol>
-<p align="JUSTIFY">While domain validation is optional, you can prove
-the ownership of the domain by validating the domain. Otherwise, you
-may have to lose your account, if the legitimate owner of the domain
-claims it. You might skip this step at the time of registration, and
-validate the domain at a later time from your account.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="3">
-	<li><p align="JUSTIFY"><strong>I have registered for a particular Stratos
-	Service. Now do I have to register for the other services?</strong></p>
-</li></ol>
-<p align="JUSTIFY">No, you don't have to. Stratos tenants are centrally
-managed. That means, if you have registered from a service, you will
-be able to use all the Stratos services. However, as the tenant
-admin, you will be able to activate and deactivate the Stratos
-services, from Stratos Manager.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="4">
-	<li><p align="JUSTIFY"><strong>I didn't get any email after registering or
-	after resetting my password?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Please check your spam folder, in case if the mail
-had been treated as a spam by your mail server. If it is still not
-there, you may need to contact WSO2 Support on sorting this out. We
-are glad to help from our end.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="5">
-	<li><p align="JUSTIFY"><strong>How do I get any further assistance on using
-	Stratos/StratosLive?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Please contact WSO2 using <a href="http://wso2.com/contact/">http://wso2.com/contact/</a>, if
-you need further assistance. StratosLive forum can be found at
-<a href="http://wso2.org/forum/1241">http://wso2.org/forum/1241</a>.
-You also can send your queries to the stratos-dev mailing list (stratos-dev@wso2.org) regarding
-StratosLive PaaS or Stratos Cloud Middleware Platform.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="6">
-	<li><p align="JUSTIFY"><strong>I have registered for a 'Demo/Free'
-	account. Will I be charged, if I exceed the usage limits?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Free/Demo accounts are never charged. Anyway, you
-can upgrade and downgrade your usage plan at any time.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="7">
-	<li><p align="JUSTIFY"><strong>Now I have registered for an account. What's
-	next?</strong></p>
-</li></ol>
-<p align="JUSTIFY">If you are familiar with the WSO2 Carbon based
-products, there is nothing new to learn for StratosLive. StratosLive
-is simply the WSO2 Carbon Middleware Platform as a Service, with all
-the WSO2 Carbon based products available publicly over the cloud as
-services. For a detailed introduction to the Platform aspect of
-Carbon and StratosLive, refer to the article, <a href="http://wso2.org/library/blog-post/2011/08/wso2-stratoslive-enterprise-ready-java-paas">“WSO2
-StratosLive - An Enterprise Ready Java PaaS</a>.”</p>
-    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
-<p align="JUSTIFY"><br><br>
-</p>
-<p align="JUSTIFY"><a name="general"></a><u><strong>Using StratosLive - General Questions</strong></u></p>
-<ol>
-	<li><p align="JUSTIFY"><strong>Does Stratos support multi-tenant model?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, Stratos supports a multi-tenant model. In
-StratosLive PaaS, WSO2 is the super admin, and you have register a
-tenant. You can OEM Stratos, by setting up a private cloud for your
-own. In that case, you would be the super tenant and you can decide
-what level of functionality you want to allow your tenants.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="2">
-	<li><p align="JUSTIFY"><strong>How does Stratos overcome the inherent security
-	challenges of the cloud?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Tenants are isolated from each other in Stratos.
-Data processing code is protected by java security manager, hence the
-custom code deployed by tenants (such as web applications and web
-services) does not have access to it. Tenants are also prevented from
-executing the priviledged actions, such as opening the ports and
-accessing the file system. For more insights, please refer to the
-article, “<a href="http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud">How
-WSO2 StratosLive meets Security Challenges in Cloud</a>.”</p>
-<p align="JUSTIFY">
-</p>
-<ol start="3">
-	<li><p align="JUSTIFY"><strong>How is multi-tenancy achieved in Stratos? Is it
-	at the Database level or the application level?</strong></p>
-</li></ol>
-<p align="JUSTIFY">It is multi-tenanted at the database level, as far
-as the data stored by Stratos is concerned. For user data, we are
-currently working on a polyglot data architecture which will allow a
-range of choices from a share, multi-tenant NoSQL feature (based on
-Cassandra) to a per-tenant database model.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="4">
-	<li><p align="JUSTIFY"><strong>Do we have the opportunity to customize or
-	extend Stratos as appropriate?</strong></p>
-</li></ol>
-<p align="JUSTIFY">StratosLive is a publicly hosted Stratos Cloud
-Middleware Platform-as-a-Service, where you are using the services as
-a tenant. Tenants have limited access due to the security and the
-other concerns. But if you host Stratos in your own data center and
-OEM Stratos, as super tenant you will be able to extend Stratos and
-customize it more, as you prefer.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="5">
-	<li><p align="JUSTIFY"><strong>What are the developer frameworks supported by
-	Stratos/StratosLive?</strong></p>
-</li></ol>
-<p align="JUSTIFY">StratosLive is a Java Platform as a Service. We
-currently support any Java developer framework as we are currently
-only supporting deploying Java webapps (WAR files). 
-</p>
-<p align="JUSTIFY">
-</p>
-<ol start="6">
-	<li><p align="JUSTIFY"><strong>Does Stratos support secure tunneling?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, Stratos supports secure tunneling via the <a href="http://wso2.com/cloud/connectors/services-gateway/">Cloud
-Services Gateway</a>. Cloud Services Gateway is used to create a
-managed, secured channel for business processes and other tasks
-running in a public cloud to get access to enterprise data and
-services. It allows the service and data owners inside the enterprise
-to selectively publish services and data to the cloud. The resulting
-services can be fully protected – authentication, authorization,
-confidentiality, integrity and more. Here only the approved messages
-are delivered to access the services.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="7">
-	<li><p align="JUSTIFY"><strong>Does Stratos support elasticity?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, we do support elasticity with the cloud
-provider. In StratosLive, the services are fronted by WSO2 Load
-Balancer, which balances the load across the service instances and
-scales the services automatically according to the load. Stratos
-services also can scale with the other load balancers including the
-hardware loadbalancers.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="8">
-	<li><p align="JUSTIFY"><strong>Does Stratos support single sign-on?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, single sign-on and single sign-out are
-supported by design. Once you have logged into any of the Stratos
-services, you will not need to sign in to the other services.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="9">
-	<li><p align="JUSTIFY"><strong>Does Stratos support integration with
-	customer's on-premise Identity Management?</strong> 
-	</p>
-</li></ol>
-<p align="JUSTIFY">Yes. It is possible, and we will need to work with
-the customer to do this.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="10">
-	<li><p align="JUSTIFY"><strong>What lag times can we expect in different
-	parts of the globe?</strong> 
-	</p>
-</li></ol>
-<p align="JUSTIFY">This depends on the clients' deployment
-infrastructure, and where they decide to host it. We are currently
-working on support for Amazon's availability zones, so that we can
-isolate tenants to specific data centers.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="11">
-	<li><p align="JUSTIFY"><strong>Is there any speed issues reported with any
-	specific data types or streams?</strong> 
-	</p>
-</li></ol>
-<p align="JUSTIFY">No issues yet. Our architecture is 100% streaming,
-so we do not expect any issues either. EBay uses WSO2 Eneterprise
-Service Bus for 600 million messages/day and has flat line memory for
-messages ranging from 1kB to 100MB.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="12">
-	<li><p align="JUSTIFY"><strong>What are the supported cloud-providers? 
-	</strong></p>
-</li></ol>
-<p align="JUSTIFY">StratosLive is deployed on our co-lo servers over the
- native hardware. We also have had the public cloud deployed on top of 
-Amazon’s EC2. We also have a private cloud setup that is deployed on 
-Eucalyptus. Stratos follows the open standards, and is not coded for any
- particular cloud provider. Hence it is expected to work on any 
-Infrastructure as a Service.</p>
-    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
-<p align="JUSTIFY"><br><br>
-</p>
-<p align="JUSTIFY"><a name="features"></a><u><strong>StratosLive Features</strong></u></p>
-<ol>
-	<li><p align="JUSTIFY"><strong>Does Stratos support encrypted communications?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, it does. Data communication from the browser to
-back-end Admin Services happens over https (encrypted), which
-provides transport-level protection. 
-</p>
-<p align="JUSTIFY">
-</p>
-<ol start="2">
-	<li><p align="JUSTIFY"><strong>Does StratosLive support metering?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, it does. Tenants are metered and billed for
-their usage. Tenants can view their usage information from Stratos
-Manager. For more insights on the metering, throttling, and billing,
-refer to the article “<a href="http://wso2.org/library/articles/2011/08/metering-throttling-billing-stratoslive">Metering,
-Throttling and Billing in StratosLive</a>”.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="3">
-	<li><p align="JUSTIFY"><strong>Do you support Memcache?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, we have a scalable distributed cache using
-EHCache that we expose via the Java caching API.</p>
-    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
-<p align="JUSTIFY"><br><br>
-</p>
-<p align="JUSTIFY"><a name="private"></a><u><strong>Stratos Private Set up</strong></u></p>
-<ol>
-	<li><p align="JUSTIFY"><strong>Can we set up our Stratos locally or as a PaaS?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Sure. StratosLive is a publicly hosted PaaS by WSO2.
-Similarly, you can deploy Stratos publicly over the cloud for your
-organization or for the public. In this case, you will be the super
-tenant. You can also deploy Stratos as a private cloud for your
-organization. Hybrid cloud set ups too are possible.</p>
-<p align="JUSTIFY">
-</p>
-<ol start="2">
-	<li><p align="JUSTIFY"><strong>Is it possible to migrate our services and data
-	from our tenant in StratosLive to our private Stratos cloud setup?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Migrating from StratosLive to your private Stratos
-cloud setup is possible, since StratosLive is the same Stratos Cloud
-Middleware platform hosted as StratosLive Platform as a Service. 
-</p>
-<p align="JUSTIFY">
-</p>
-<ol start="3">
-	<li><p align="JUSTIFY"><strong>Can we isolate specific accounts for throttling
-	or increase bandwidth?</strong></p>
-</li></ol>
-<p align="JUSTIFY">Yes, the load balancing logic and throttling logic
-are tenant aware. So if you are deploying Stratos locally, as the
-super tenant, you will be able to throttle the tenants. 
-</p>
-<p align="JUSTIFY">
-</p>
-<ol start="4">
-	<li><p align="JUSTIFY"><strong>Can we setup Stratos in a personal computer?</strong></p>
-</li></ol>
-<p align="JUSTIFY">You can setup Stratos in a computer with all the
-services, given that the computer has the required memory, processor,
-and disk space. For example, Stratos requires 4 GB memory, and at
-least 8 GB is recommended. You may also find it convenient to run
-only the services that you require at once, if you have limited
-resources.</p>
-
-    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
-<p align="JUSTIFY"><br><br>
-</p>
-<div class="clear"></div>
-				<div id="bottom">
-					
-					
-					
-					<div class="clear"></div>
-				</div>
-			</div>
-			<div id="footer">
-				<div class="footer-links">
-					<a target="_blank" href="http://www.wso2.com/cloud/services/terms-of-use">Terms of Use</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/privacy-policy">Privacy Policy</a> | <a target="_blank" href="http://wso2.com/cloud/services/sla/">Service Level Agreement</a> | <a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/support">Support</a>
-				</div>
-				<div class="powered">
-						<span>Powered by</span><img src="images/powered-logo.gif" alt="ESB">
-					</div>
-					<span class="copyright">©stratoslive.wso2.com copyright 2010-2012 WSO2, Inc. </span>
-				</div>
-			</div>
-		
-	</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/bottom.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/bottom.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/bottom.gif
deleted file mode 100755
index 5679266..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/bottom.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/bullet-01.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/bullet-01.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/bullet-01.gif
deleted file mode 100755
index 7148f4d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/bullet-01.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/content-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/content-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/content-bg.gif
deleted file mode 100755
index 6d0a579..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/content-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/favicon.ico
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/favicon.ico b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/favicon.ico
deleted file mode 100755
index f7b2bbf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/favicon.ico and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-01-icon.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-01-icon.gif
deleted file mode 100755
index ff3ba26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-01-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-02-icon.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-02-icon.gif
deleted file mode 100755
index ee4cb66..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-02-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-03-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-03-icon.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-03-icon.gif
deleted file mode 100755
index 8f3c2a1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-03-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-middle-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-middle-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-middle-bg.gif
deleted file mode 100755
index d2fb97e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/feature-middle-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/intro-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/intro-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/intro-bg.gif
deleted file mode 100755
index a38a0df..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/intro-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/intro-text.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/intro-text.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/intro-text.gif
deleted file mode 100755
index 61441a2..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/intro-text.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/left-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/left-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/left-bg.gif
deleted file mode 100755
index 72dc051..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/left-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/logo.gif
deleted file mode 100755
index 1e7b2ce..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/powered-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/powered-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/powered-logo.gif
deleted file mode 100755
index fb478bf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/powered-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/register.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/register.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/register.gif
deleted file mode 100755
index 3260908..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/register.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/sign-in.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/sign-in.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/sign-in.gif
deleted file mode 100755
index ae2a4d7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/sign-in.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/stratos-products-new.jpg
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/stratos-products-new.jpg b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/stratos-products-new.jpg
deleted file mode 100755
index bbbdb00..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/stratos-products-new.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/title-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/title-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/title-bg.gif
deleted file mode 100755
index 2d539a7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/title-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/top.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/top.gif b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/top.gif
deleted file mode 100755
index 9ed482c..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/top.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/webinar.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/webinar.png b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/webinar.png
deleted file mode 100755
index 434f660..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/webinar.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/white-paper.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/white-paper.png b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/white-paper.png
deleted file mode 100755
index 3fb643e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/images/white-paper.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/index.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/index.html b/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/index.html
deleted file mode 100755
index b186b76..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/distribution/lib/home/index.html
+++ /dev/null
@@ -1,119 +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>
-		<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>WSO2 StratosLive – the most complete open PaaS powered by the multi-tenant WSO2 Stratos cloud middleware platform,  and WSO2 Carbon enterprise middleware platform</title>
-		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
-		<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, multi-tenant, cloud enterprise middleware, SOA, open source PaaS" />
-	 	<link rel="stylesheet" href="js/orbit-1.2.3.css">
-		<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
-		<script type="text/javascript" src="js/jquery.orbit-1.2.3.min.js"></script>	
-		
-			<!--[if IE]>
-			     <style type="text/css">
-			         .timer { display: none !important; }
-			         div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
-			    </style>
-			<![endif]-->
-		
-		<script type="text/javascript">
-			$(window).load(function() {
-				$('#featured').orbit({
-					timer: false
-				});
-			});
-		</script>
-	</head>
-
-	<body>
-		<div id="main-content">
-			<div id="header">
-				<div class="top-nav">
-					<ul>
-						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/">StratosLive Home</a></li>
-						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a></li>
-						<li><a target="_blank" href="http://docs.wso2.org/display/stratos/Stratos+Frequently+Asked+Questions">FAQ</a></li>
-						<li><a target="_blank" href="http://www.wso2.com/cloud/services/support">Support</a></li>
-						<li class="right"><a target="_blank" href="mailto:support+stratoslive@wso2.com">Contact</a></li>
-					</ul>
-				</div>
-				<div class="logo"><img src="images/logo.gif"/></div>
-			</div>
-			<div id="content">
-				<div id="left">
-					<div class="stratos-products">
-						<div class="title">
-							<img src="images/intro-text.gif" alt="Get instant access right now to enterprise-grade Middleware Platform-as-a-Service:"/>
-						</div>
-						<div class="products">
-							<a href="http://appserver.stratoslive.wso2.com/" class="as-new"></a>
-							<a href="http://data.stratoslive.wso2.com/" class="dss-new"></a>
-							<a href="http://identity.stratoslive.wso2.com/" class="is-new"></a>
-							<a href="http://governance.stratoslive.wso2.com/" class="greg-new"></a>
-							<a href="http://monitor.stratoslive.wso2.com/" class="bam-new"></a>
-							<a href="http://process.stratoslive.wso2.com/" class="bps-new"></a>
-							<a href="http://rule.stratoslive.wso2.com/" class="brs-new"></a>
-							<a href="http://esb.stratoslive.wso2.com/" class="esb-new"></a>
-							<a href="http://messaging.stratoslive.wso2.com/" class="mb-new"></a>
-							<a href="http://cep.stratoslive.wso2.com/" class="cep-new"></a>
-							<a href="http://cg.stratoslive.wso2.com/" class="cg-new"></a>
-							<a href="http://ss.stratoslive.wso2.com/" class="ss-new"></a>
-							<a href="http://ts.stratoslive.wso2.com/" class="ts-new"></a>
-						</div>
-					</div>
-				</div>
-				<div id="right">
-					<div class="register">
-						<a href="https://stratoslive.wso2.com/carbon/tenant-register/select_domain.jsp"><img src="images/register.gif"/></a>
-						<a href="https://stratoslive.wso2.com/carbon/sso-acs/redirect_ajaxprocessor.jsp"><img src="images/sign-in.gif"/></a>
-					</div>
-					
-					<div class="banner">
-						<div id="featured"> 
-							<div class="screencast">
-								<h2>Introducing WSO2 Stratos</h2>
-								<object height="265" width="440"><param value="https://www.youtube.com/v/hF0u6tvDoLQ?fs=1&amp;hl=en_US&amp;fs=1&amp;showinfo=0" name="movie"><param value="true" name="allowFullScreen"><param value="always" name="allowscriptaccess"><embed height="265" width="440" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="https://www.youtube.com/v/hF0u6tvDoLQ?fs=1&amp;hl=en_US&amp;fs=1&amp;showinfo=0&amp;rel=0"></object>
-							</div>
-							<div class="whitepaper">
-								<a target="_blank" href="http://wso2.com/casestudies/effective-cloud-enablement-with-wso2-stratos/"><img src="images/white-paper.png"/></a>
-							</div>
-							<div class="webinar">
-								<a target="_blank"href="http://wso2.org/library/webinars/2011/05/lean-cloud-platform"><img src="images/webinar.png"/></a>
-							</div>
-						</div>
-					</div>
-				</div>
-				<div class="clear"></div>
-				<div id="bottom">
-					<div class="feature">
-						Build composite applications that automatically scale
-					</div>
-					<div class="feature">
-						Pay just for the services you use
-					</div>
-					<div class="feature">
-						Freedom to move applications and data to WSO2 Stratos in your own datacenter
-					</div>
-					<div class="clear"></div>
-				</div>
-			</div>
-			<div id="footer">
-				<div class="footer-links">
-					<a target="_blank" href="http://www.wso2.com/cloud/services/terms-of-use">Terms of Use</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/privacy-policy">Privacy Policy</a> | <a target="_blank" href="http://wso2.com/cloud/services/sla/">Service Level Agreement</a> | <a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/support">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-2012 WSO2, Inc. </span>
-				</div>
-			</div>
-		</div>
-	</body>
-
-</html>


[25/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif
deleted file mode 100644
index a2447bc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif
deleted file mode 100644
index 513301e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif
deleted file mode 100644
index f8ed9be..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif
deleted file mode 100644
index aa5c5ba..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif
deleted file mode 100644
index 499b6a2..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
deleted file mode 100644
index c2b3936..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
+++ /dev/null
@@ -1,243 +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.
--->
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
-<%@ page import="org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService" %>
-<%@ page import="org.wso2.carbon.registry.core.exceptions.RegistryException" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
-<%@ page import="org.wso2.carbon.account.mgt.ui.clients.AccountMgtClient" %>
-<%@ page import="org.wso2.carbon.utils.multitenancy.MultitenantConstants" %>
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.utils.Util" %>
-
-<jsp:include page="../registry_common/registry_common-i18n-ajaxprocessor.jsp"/>
-<script type="text/javascript" src="../registry_common/js/registry_validation.js"></script>
-<script type="text/javascript" src="../registry_common/js/registry_common.js"></script>
-<script type="text/javascript" src="../tenant-dashboard/js/dashboard.js"></script>
-<link href="../tenant-dashboard/css/dashboard.css" rel="stylesheet" type="text/css" media="all"/>
-<script type="text/javascript" src="../tenant-dashboard/js/configurations.js"></script>
-
-
-
-<%
-
-    CloudManagerServiceClient cloudManagerClient;
-    CloudService[] cloudServices = null;
-    String error = "Error in getting the available and active service details.";
-    try {
-        cloudManagerClient = new CloudManagerServiceClient(request, config, session);
-        cloudServices = cloudManagerClient.retrieveCloudServiceInfo();
-    } catch (Exception e) {
-        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, CarbonUIMessage.ERROR, e));
-%>
-<jsp:include page="../admin/error.jsp"/>
-<%
-        return;
-    }
-%>
-<fmt:bundle basename="org.wso2.stratos.manager.dashboard.ui.i18n.Resources">
-    <carbon:jsi18n
-            resourceBundle="org.wso2.stratos.manager.dashboard.ui.i18n.JSResources"
-            request="<%=request%>" namespace="org.wso2.stratos.manager.dashboard.ui"/>
-
-    <div id="middle">
-        <h2><fmt:message key="cloud.services"/></h2>
-        <%
-            try {
-                // if the account management permission there, we are showing the message to validate email address
-                if (CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/account")) {
-                    try {
-                        AccountMgtClient client = new AccountMgtClient(config, session);
-                        boolean isEmailValidated = client.isEmailValidated();
-
-                        if (!isEmailValidated) {
-        %>
-
-        <div class="green-note">Your organization has not validated the contact email address
-            yet. Please validate it following
-            the instructions in the <a href="../account-mgt/account_mgt.jsp">Account
-                Management</a> page (Accessible from Configure-&gt;Account menu).
-        </div>
-        <%
-            }else{
-			%>
-			<div class="green-note"></div>
-			<%
-			}
-        } catch (Exception e) {
-            request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, error, null));
-        %>
-        <jsp:include page="../admin/error.jsp?<%=error%>"/>
-        <%
-                    return;
-                }
-            }
-            String tenantDomain;
-            if (session.getAttribute(MultitenantConstants.TENANT_DOMAIN) != null) {
-                tenantDomain = (String) session.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-            } else {
-                // user is not logged in or just logged out, but still they are inside url own to the domain
-                tenantDomain = (String) request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-            }
-            String linkSuffix = "";
-            if (tenantDomain != null) {
-                linkSuffix = "/" + MultitenantConstants.TENANT_AWARE_URL_PREFIX + "/" + tenantDomain;
-            }
-            %> <script type="text/javascript">
-            linkSuffix = '<%=linkSuffix%>';
-           </script> <%
-	  
-            for (CloudService cloudService : cloudServices) {
-                String name = cloudService.getName();
-                String projectPageUrl = cloudService.getProductPageURL();
-                String link = cloudService.getLink() + linkSuffix;
-                if (name.equals("WSO2 Stratos Application Server")) {
-        %>
-        <script type="text/javascript">
-            asUrl = '<%=link%>';
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Enterprise Service Bus")) {
-
-        %>
-        <script type="text/javascript">
-            esbUrl = '<%=link%>';
-        </script>
-        <%
-
-        } else if (name.equals("WSO2 Stratos Data Services Server")) {
-        %>
-        <script type="text/javascript">
-            dssUrl = '<%=link%>';
-
-        </script>
-        <%
-
-        } else if (name.equals("WSO2 Stratos Governance")) {
-
-        %>
-        <script type="text/javascript">
-            gregUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Identity")) {
-        %>
-        <script type="text/javascript">
-            isUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Business Process Server")) {
-        %>
-        <script type="text/javascript">
-            bpsUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Business Rules Server")) {
-        %>
-        <script type="text/javascript">
-            brsUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Mashup Server")) {
-        %>
-        <script type="text/javascript">
-            msUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Gadget Server")) {
-        %>
-        <script type="text/javascript">
-            gsUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Complex Event Processing Server")) {
-        %>
-        <script type="text/javascript">
-            cepUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Message Broker")) {
-        %>
-        <script type="text/javascript">
-            mbUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Business Activity Monitor")) {
-        %>
-        <script type="text/javascript">
-            bamUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Cloud Gateway")) {
-        %>
-        <script type="text/javascript">
-            csgUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else {
-        %>
-        <script type="text/javascript">
-            managerUrl = '<%=link%>';
-        </script>
-        <%
-                }
-            }
-        } catch (Exception e) {
-            request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, error, null));
-        %>
-        <jsp:include page="../admin/error.jsp?<%=error%>"/>
-        <%
-                return;
-            }
-
-        %>
-
-        <div id="workArea">
-
-
-            <div id="dashboard">
-
-            </div>
-
-            <script type="text/javascript">
-
-                jQuery(document).ready(function() {
-                    jQuery('#dashboard').load('../../../../features-dashboard/tenant-dashboard/index.jsp');
-                });
-
-                var menuPanel = document.getElementById('menu-panel');
-                var menuSlider0 = document.getElementById('menu-panel-button0');
-                jQuery(menuPanel).hide();
-                jQuery(menuSlider0).removeClass('showToHidden');
-                jQuery(menuSlider0).addClass('hiddenToShow');
-                document.cookie = "menuPanel=none;path=/;expires=" + cookie_date.toGMTString();
-            </script>
-        </div>
-    </div>
-</fmt:bundle>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
deleted file mode 100644
index 6a9d212..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
+++ /dev/null
@@ -1,381 +0,0 @@
-//service urls
-var managerUrl;
-var asUrl;
-var dssUrl;
-var esbUrl;
-var gregUrl;
-var msUrl;
-var gsUrl;
-var mbUrl;
-var cepUrl;
-var isUrl;
-var bpsUrl;
-var brsUrl;
-var bamUrl;
-var csgUrl;
-var linkSuffix;
-
-// array definitions to store service feature urls
-var managerFeaturesURL=new Array;
-var asFeaturesUrl = new Array;
-var dssFeaturesUrl = new Array;
-var esbFeaturesUrl = new Array;
-var gregFeaturesUrl = new Array;
-var msFeaturesUrl = new Array;
-var gsFeaturesUrl = new Array;
-var mbFeaturesUrl = new Array;
-var cepFeaturesUrl = new Array;
-var isFeaturesUrl = new Array;
-var bpsFeaturesUrl = new Array;
-var brsFeaturesUrl = new Array;
-var bamFeaturesUrl = new Array;
-var csgFeaturesUrl = new Array;
-
-
-// urls of features
-
-// Manager
-managerFeaturesURL[0]="/carbon/tenant-billing/past_invoice.jsp"; // link to billing component
-managerFeaturesURL[1]="/carbon/tenant-billing/docs/userguide.html"; // billing component docs
-managerFeaturesURL[2]="/carbon/tenant-usage/tenant_usage.jsp" ; // link to metering component
-managerFeaturesURL[3]="/carbon/tenant-usage/docs/userguide.html"
-managerFeaturesURL[4]="/carbon/account-mgt/account_mgt.jsp"
-managerFeaturesURL[5]="/carbon/account-mgt/docs/userguide.html"
-managerFeaturesURL[6]="/carbon/userstore/index.jsp"
-managerFeaturesURL[7]="/carbon/userstore/docs/userguide.html"
-//app server
-asFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to web service hosting
-asFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //web service hosting docs
-asFeaturesUrl[2]="/carbon/webapp-mgt/upload.jsp";//web -app hosting
-asFeaturesUrl[3]="/carbon/webapp-mgt/docs/userguide.html";//web -app hosting docs
-asFeaturesUrl[4]="/carbon/tracer/index.jsp";//message tracing
-asFeaturesUrl[5]="/carbon/tracer/docs/userguide.html";//message tracing docs
-asFeaturesUrl[6]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
-asFeaturesUrl[7]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
-asFeaturesUrl[8]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
-asFeaturesUrl[9]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
-asFeaturesUrl[10]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
-asFeaturesUrl[11]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs
-asFeaturesUrl[12]="/carbon/modulemgt/index.jsp";//axis2 modules mgmnt
-asFeaturesUrl[13]="/carbon/modulemgt/docs/userguide.html";//axis2 modules mgmnt docs
-asFeaturesUrl[14]="/carbon/tryit/index.jsp";//Service testing
-asFeaturesUrl[15]="/carbon/tryit/docs/userguide.html";//service testing docs
-
-//bam server
-bamFeaturesUrl[0]="/carbon/bam-server-data/mediation_data.jsp";  // link to Real Time Mediation Monitoring
-bamFeaturesUrl[1]="/carbon/bam-server-data/docs/userguide.html";  // link to Real Time Mediation Monitoring docs
-bamFeaturesUrl[2]="/carbon/bam-server-data/mediation_analytics.jsp"; //link to Mediation Analysis
-bamFeaturesUrl[3]="/carbon/bam-server-data/docs/userguide.html"; //link to Mediation Analysis docs
-bamFeaturesUrl[4]="/carbon/bam-server-data/service_data.jsp";//link to Real time Service Monitoring
-bamFeaturesUrl[5]="/carbon/bam-server-data/docs/userguide.html";//link to Real time Service Monitoring docs
-bamFeaturesUrl[6]="";//link to Summary Generation
-bamFeaturesUrl[7]="";//link to Summary Generation
-bamFeaturesUrl[8]="/carbon/bam-server-data/service_stats.jsp";//link to Service Invocation Analysis
-bamFeaturesUrl[9]="/carbon/bam-server-data/docs/userguide.html";//link to Service Invocation Analysis docs
-bamFeaturesUrl[10]="/carbon/dashboard/index.jsp";//link to Dashboard
-bamFeaturesUrl[11]="/carbon/dashboard/docs/userguide.html";//link to Dashboard docs
-bamFeaturesUrl[12]="";//link to Activity Correlation and Monitoring
-bamFeaturesUrl[13]="";//link to Activity Correlation and Monitoring docs
-bamFeaturesUrl[14]="";//link to Message Collection and Archival
-bamFeaturesUrl[15]="";//link to Message Collection and Archival docs
-
-//bps server
-bpsFeaturesUrl[0]="";  // link to WS-BPEL 2.0 and BPELWS 1.1
-bpsFeaturesUrl[1]="/carbon/admin/docs/userguide.html";  // link to WS-BPEL 2.0 and BPELWS 1.1 docs
-bpsFeaturesUrl[2]="";  // link Secure Business Processes
-bpsFeaturesUrl[3]="/carbon/admin/docs/userguide.html";  // link Secure Business Processes docs
-bamFeaturesUrl[4]="";//link to Process Monitoring
-bamFeaturesUrl[5]="/carbon/admin/docs/userguide.html";//link to Process Monitoring docs
-bpsFeaturesUrl[6]=""; //link to Instance Data Cleanup
-bpsFeaturesUrl[7]="/carbon/admin/docs/userguide.html"; //link to Instance Data Cleanup docs
-bpsFeaturesUrl[8]=""; //link to BPEL Extensions
-bpsFeaturesUrl[9]="/carbon/admin/docs/userguide.html"; //link to BPEL Extensions docs
-bamFeaturesUrl[10]="";//link to Process Versioning
-bamFeaturesUrl[11]="/carbon/admin/docs/userguide.html";//link to Process Versioning docs
-
-//brs server
-brsFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to web service hosting support
-brsFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //web service hosting docs
-brsFeaturesUrl[2]="/carbon/ruleservices/rule_service_wizard_step1.jsp";//Rule service creation support
-brsFeaturesUrl[3]="/carbon/ruleservices/docs/userguide.html";//Rule service creation support docs
-brsFeaturesUrl[4]="/carbon/resources/resource.jsp";//Registry as a Rule Repository
-brsFeaturesUrl[5]="/carbon/resources/docs/userguide.html";//Registry as a Rule Repository docs
-brsFeaturesUrl[6]="/carbon/tryit/index.jsp";//Service testing
-brsFeaturesUrl[7]="/carbon/tryit/docs/userguide.html";//service testing docs
-/*brsFeaturesUrl[8]="/carbon/tracer/index.jsp";//message tracing
-brsFeaturesUrl[9]="/carbon/tracer/docs/userguide.html";//message tracing docs
-brsFeaturesUrl[10]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
-brsFeaturesUrl[11]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
-brsFeaturesUrl[12]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
-brsFeaturesUrl[13]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
-brsFeaturesUrl[14]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
-brsFeaturesUrl[15]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs */
-
-//cep server
-cepFeaturesUrl[0]="/carbon/CEP/cep_queries.jsp"; // link to CEP buckets list
-cepFeaturesUrl[1]="/carbon/CEP/docs/userguide.html"; // link to CEP buckets doc
-cepFeaturesUrl[2]= "/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/message" ; // path to registry stored message boxes
-cepFeaturesUrl[3]="/carbon/messagebox/docs/userguide.html"; // message box docs
-
-//dss server
-dssFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to Data Service Hosting
-dssFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //Data Service Hosting docs
-dssFeaturesUrl[2]="/carbon/ds/scriptAddSource.jsp";//Data as a Service
-dssFeaturesUrl[3]="/carbon/ds/docs/userguide.html";//Data as a Service docs
-dssFeaturesUrl[4]="/carbon/tryit/index.jsp";//Service testing
-dssFeaturesUrl[5]="/carbon/tryit/docs/userguide.html";//service testing docs
-dssFeaturesUrl[6]="/carbon/tracer/index.jsp";//message tracing
-dssFeaturesUrl[7]="/carbon/tracer/docs/userguide.html";//message tracing docs
-dssFeaturesUrl[8]="/carbon/adminconsole/databases.jsp";//DB Explorer
-dssFeaturesUrl[9]="/carbon/adminconsole/docs/userguide.html";//DB Explorer docs
-/*dssFeaturesUrl[6]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
-dssFeaturesUrl[7]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
-dssFeaturesUrl[8]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
-dssFeaturesUrl[9]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
-dssFeaturesUrl[10]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
-dssFeaturesUrl[11]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs */
-
-//esb server
-esbFeaturesUrl[0]="/carbon/proxyservices/templates.jsp";  // Proxy Service
-esbFeaturesUrl[1]="/carbon/proxyservices/docs/userguide.html"; //Proxy Service docs
-esbFeaturesUrl[2]="/carbon/sequences/list_sequences.jsp";//Sequence
-esbFeaturesUrl[3]="/carbon/sequences/docs/userguide.html";//Sequence docs
-esbFeaturesUrl[4]="/carbon/endpoints/index.jsp";//Endpoint
-esbFeaturesUrl[5]="/carbon/endpoints/docs/userguide.html";//Endpoint docs
-esbFeaturesUrl[6]="/carbon/task/index.jsp";//Scheduled Tasks
-esbFeaturesUrl[7]="/carbon/task/docs/userguide.html";//Scheduled Tasks docs
-esbFeaturesUrl[8]="/carbon/message_processor/index.jsp";//Store and Forward
-esbFeaturesUrl[9]="/carbon/message_processor/docs/userguide.html";//Store and Forward docs
-esbFeaturesUrl[10]="/carbon/executors/list_executors.jsp";//Priority Execution
-esbFeaturesUrl[11]="/carbon/executors/docs/userguide.html";//Priority Execution docs
-esbFeaturesUrl[12]="/carbon/tryit/index.jsp";//Service testing
-esbFeaturesUrl[13]="/carbon/tryit/docs/userguide.html";//service testing docs
-esbFeaturesUrl[14]="/carbon/tracer/index.jsp";//message tracing
-esbFeaturesUrl[15]="/carbon/tracer/docs/userguide.html";//message tracing docs
-
-//greg server
-gregFeaturesUrl[0]="//carbon/services/services.jsp";  // Service
-gregFeaturesUrl[1]="/carbon/services/docs/userguide.html"; //Service docs
-gregFeaturesUrl[2]="/carbon/wsdl/wsdl.jsp";//WSDL
-gregFeaturesUrl[3]="/carbon/wsdl/docs/userguide.html";//WSDL docs
-gregFeaturesUrl[4]="/carbon/schema/schema.jsp";//Schema
-gregFeaturesUrl[5]="/carbon/schema/docs/userguide.html";//Schema docs
-gregFeaturesUrl[6]="/carbon/policy/policy.jsp";//Policy
-gregFeaturesUrl[7]="/carbon/policy/docs/userguide.html";//Policy docs
-gregFeaturesUrl[8]="/carbon/search/advancedSearch.jsp";//Search
-gregFeaturesUrl[9]="/carbon/search/docs/userguide.html";//Search docs
-gregFeaturesUrl[10]="/carbon/activities/activity.jsp";//Activities
-gregFeaturesUrl[11]="/carbon/activities/docs/userguide.html";//Activities docs
-gregFeaturesUrl[12]="/carbon/notifications/notifications.jsp";//Notifications
-gregFeaturesUrl[13]="/carbon/notifications/docs/userguide.html";//Notifications docs
-gregFeaturesUrl[14]="/carbon/extensions/add_extensions.jsp";//Extensions
-gregFeaturesUrl[15]="/carbon/extensions/docs/userguide.html";//Extensions docs
-
-//gs server
-gsFeaturesUrl[0]="";  // Enterprise Information Portal
-gsFeaturesUrl[1]=""; //Enterprise Information Portal docs
-gsFeaturesUrl[2]="";//Easy User Options
-gsFeaturesUrl[3]="";//Easy User Options docs
-gsFeaturesUrl[4]="";//Author Gadgets
-gsFeaturesUrl[5]="";//Author Gadgets docs
-gsFeaturesUrl[6]="";//Client-side Gadgets
-gsFeaturesUrl[7]="";//Client-side Gadgets docs
-gsFeaturesUrl[8]="";//Enterprise Gadget Repository
-gsFeaturesUrl[9]="";//Enterprise Gadget Repository docs
-gsFeaturesUrl[10]="";//Anonymous Mode
-gsFeaturesUrl[11]="";//Anonymous Mode docs
-gsFeaturesUrl[12]="";//Secure Sign-in Options
-gsFeaturesUrl[13]="";//Secure Sign-in Options docs
-gsFeaturesUrl[14]="";//Extensions Management Console
-gsFeaturesUrl[15]="";//Extensions Management Console docs
-
-//is server
-isFeaturesUrl[0]="/carbon/userprofile/index.jsp";  //User Profile
-isFeaturesUrl[1]="/carbon/userprofile/docs/userguide.html"; //User Profile docs
-isFeaturesUrl[2]="/carbon/identity-provider/index.jsp";//OpenID
-isFeaturesUrl[3]="/carbon/identity-provider/docs/userguide.html";//OpenID docs
-isFeaturesUrl[4]="/carbon/identity-provider/index.jsp";//Information Card
-isFeaturesUrl[5]="/carbon/identity-provider/docs/userguide.html";//Information Card docs
-isFeaturesUrl[6]="/carbon/sso-saml/manage_service_providers.jsp";//SAML 2.0 Single Sign-On
-isFeaturesUrl[7]="/carbon/sso-saml/docs/userguide.html";//SAML 2.0 Single Sign-On docs
-isFeaturesUrl[8]="/carbon/multi-factor/xmpp-config.jsp";//Multifactor Authentication
-isFeaturesUrl[9]="/carbon/multi-factor/docs/userguide.html";//Multifactor Authentication docs
-isFeaturesUrl[10]="/carbon/userstore/index.jsp";//Users and Roles
-isFeaturesUrl[11]="/carbon/userstore/docs/userguide.html";//Users and Roles docs
-isFeaturesUrl[12]="/carbon/identity-trusted-relying-parties/add-trusted-rp.jsp";//Relying Partie
-isFeaturesUrl[13]="/carbon/identity-trusted-relying-parties/docs/userguide.html";//Relying Partie docs
-isFeaturesUrl[14]="/carbon/keystoremgt/keystore-mgt.jsp";//Key Stores
-isFeaturesUrl[15]="/carbon/keystoremgt/docs/userguide.html";//Key Stores docs
-
-//mb server
-mbFeaturesUrl[0]="";  //Publish/Subscribe to Topics
-mbFeaturesUrl[1]=""; //Publish/Subscribe to Topics docs
-mbFeaturesUrl[2]="";//AMQP
-mbFeaturesUrl[3]="";//AMQP docs
-mbFeaturesUrl[4]="";//Topic Authorization
-mbFeaturesUrl[5]="";//Topic Authorization docs
-mbFeaturesUrl[6]="";//Manage topics and queues permissions
-mbFeaturesUrl[7]="";//Manage topics and queues permissions docs
-mbFeaturesUrl[8]="";//SQS support
-mbFeaturesUrl[9]="";//SQS support docs
-mbFeaturesUrl[10]="";//User based authorization for queues
-mbFeaturesUrl[11]="";//User based authorization for queues docs
-mbFeaturesUrl[12]="";//Manage message boxes
-mbFeaturesUrl[13]="";//Manage message boxes docs
-mbFeaturesUrl[14]="";//Message box as event sink
-mbFeaturesUrl[15]="";//Message box as event sink docs
-
-//ms server
-msFeaturesUrl[0]="/carbon/js_scraper/index.jsp";  //Scrape the Web
-msFeaturesUrl[1]="/carbon/js_scraper/docs/userguide.html"; //Scrape the Web docs
-msFeaturesUrl[2]="/carbon/js_service/newMashup.jsp";//Compose and Expose
-msFeaturesUrl[3]="/carbon/js_service/docs/userguide.html";//Compose and Expose docs
-msFeaturesUrl[4]="/carbon/task/index.jsp";//Schedule Tasks
-msFeaturesUrl[5]="/carbon/task/docs/userguide.html";//Schedule Tasks docs
-msFeaturesUrl[6]="";//Javascript Stubs
-msFeaturesUrl[7]="";//Javascript Stubs docs
-msFeaturesUrl[8]="/carbon/modulemgt/index.jsp";//Modules
-msFeaturesUrl[9]="/carbon/modulemgt/docs/userguide.html";//Modules docs
-msFeaturesUrl[10]="/carbon/tracer/index.jsp";//Message Tracing
-msFeaturesUrl[11]="/carbon/tracer/docs/userguide.html";//Message Tracing docs
-/*msFeaturesUrl[12]="";//Caching & Throttling
-msFeaturesUrl[13]="";//Caching & Throttling docs
-msFeaturesUrl[14]="";//service testing
-msFeaturesUrl[15]="";//service testing docs */
-
-
-//csg server
-csgFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  
-csgFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; 
-
-// functions to generate urls of features upon onclick
-
- function generateManagerFeatureUrl(which){
-	var featureUrl=managerFeaturesURL[which];
-	return window.open(featureUrl,'_self',false);
- }
-
-
-function generateAsFeatureUrl(which){
-	var featureUrl=window.asUrl + asFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-function generateBamFeatureUrl(which){
-	var featureUrl=window.bamUrl + bamFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-function generateBpsFeatureUrl(which){
-	var featureUrl=window.bpsUrl + bpsFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-function generateBrsFeatureUrl(which){
-	var featureUrl=window.brsUrl + brsFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateCepFeatureUrl(which){
-	var featureUrl=window.cepUrl + cepFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateDssFeatureUrl(which){
-	var featureUrl=window.dssUrl + dssFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateEsbFeatureUrl(which){
-	var featureUrl=window.esbUrl + esbFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateGregFeatureUrl(which){
-	var featureUrl=window.gregUrl + gregFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateGsFeatureUrl(which){
-	var featureUrl=window.gsUrl + gsFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateIsFeatureUrl(which){
-	var featureUrl=window.isUrl + isFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-function generateMbFeatureUrl(which){
-	var featureUrl=window.mbUrl + mbFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateMsFeatureUrl(which){
-	var featureUrl=window.msUrl + msFeaturesUrl[which];
-	window.open(featureUrl);
- }
-function generateCsgFeatureUrl(which){
-	var featureUrl=window.csgUrl + csgFeaturesUrl[which];
-	window.open(featureUrl);
- }
-
-
-// functions to set the urls of services
-
-
-function gotoAppServer(){
-  window.open(asUrl,'_newtab')  ;
-}
-
-function gotoDss(){
-  window.open(dssUrl,'_newtab')  ;
-}
-
-function gotoEsb(){
-  window.open(esbUrl,'_newtab')  ;
-}
-
-
-function gotoMs(){
-  window.open(msUrl,'_newtab')  ;
-}
-
-function gotoIs(){
-  window.open(isUrl,'_newtab')  ;
-}
-
-function gotoGreg(){
-  window.open(gregUrl,'_newtab')  ;
-}
-
-function gotoGs(){
-  window.open(gsUrl,'_newtab')  ;
-}
-
-function gotoBam(){
-  window.open(bamUrl,'_newtab')  ;
-}
-
-
-function gotoBps(){
-  window.open(bpsUrl,'_newtab')  ;
-}
-
-
-function gotoBrs(){
-  window.open(brsUrl,'_newtab')  ;
-}
-
-function gotoCep(){
-  window.open(cepUrl,'_newtab')  ;
-}
-
-function gotoMb(){
-  window.open(mbUrl,'_newtab')  ;
-}
-
-function gotoCsg(){
-  window.open(csgUrl,'_newtab')  ;
-}
-
-
-
-
-
-
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js b/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
deleted file mode 100644
index e294f8c..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
+++ /dev/null
@@ -1,12 +0,0 @@
-function execOnPageLoad() {
-    // currently not used
-}
-
-function onChangeServiceSubscription() {
-    sessionAwareFunction(function() {
-        
-        var cloudServiceForm = document.getElementById("cloudService");
-        cloudServiceForm.submit();
-        
-    }, org_wso2_stratos_manager_dashboard_ui_jsi18n["session.timed.out"]);
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/INSTALL.txt b/products/stratos2/stratos_controller/1.0.1/modules/distribution/INSTALL.txt
deleted file mode 100755
index 461c63e..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/INSTALL.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-Installing  WSO2 Stratos Controller (SC) 1.0.1
-===============================================
-
-Standalone Mode
-===============
-1. The directory containing this INSTALL file will be the root and it will be
-   treated as Carbon home directory and let it be CARBON_HOME.
-
-2. All the shell scripts and .bat files are available in CARBON_HOME/bin directory.
-
-3. To start SC one can use either wso2server.sh or daemon.sh in all *nix
-   system & wso2server.bat file on Windows operating systems.
-
-4. Either of the following commands can be used to start Stratos-Manager
-      i)  ./wso2server.sh {console|start|stop|restart|status|dump|version}
-    ii)  wso2server.bat {start|stop|version}
-
-            Usage: wso2server.sh [command] [system-properties]
-
-            command:
-                --debug <port> 	Start the server in remote debugging mode.
-                        port: The remote debugging port.
-                --start		Start Carbon as a Unix daemon in the background
-                --stop		Stop the Carbon Unix daemon
-                --restart	Restart the Carbon Unix daemon
-                --cleanRegistry	Clean registry space. [CAUTION] All Registry data will be lost.
-                --version	What version of the product are you running?
-
-            system-properties:
-                -DhttpPort=<httpPort>		Overrides the HTTP port defined in the catalina-server.xml file
-                -DhttpsPort=<httpsPort>		Overrides the HTTPS port defined in the catalina-server.xml file
-                -DosgiConsole=[port]		Start Carbon with Equinox OSGi console.
-                                            If the optional 'port' parameter is provided, a telnet port will be opened
-                -DosgiDebugOptions=[options-file]
-                                            Start Carbon with OSGi debugging enabled.
-                                            If the optional 'options-file is provided, the OSGi debug options will be loaded from it.
-                -Dsetup				        Clean the Registry & other configuration, recreate DB, re-populate the configuration, and start Carbon
-                -DserverRoles=<roles>		A comma separated list of roles. Used in deploying cApps
-                -Dcarbon.use.registry.repo	Use registry based repository.
-                -DdisableHttpLog		    Disable HTTP access logging
-                -DapplyPatches			    Use this system property when there are patches to be applied/reverted to/from the system.
-                                            Drop the patches to $CARBON_HOME/repository/componenets/patches directory and restart the system with this property.
-                                            When you want to revert a patch, delete it from the patches directory and restart the system with this property
-                -DworkerNode=true			This is required in clustered setups with master and worker nodes, not applicable for Stratos Controller.
-
-
-
-System Requirements
-===================
-1. Minimum memory - 1 GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. JDK - 1.6.x (1.6.0_24 onwards recommended for production)
-4. The Management Console requires you to enable Javascript of the Web browser,
-   with MS IE 6 and 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.
-   NOTE:
-     On Windows Server 2003, it is not allowed to go below the medium security
-     level in Internet Explorer 6.x and the default medium security setting with
-     IE does not allow sufficient level of JS or ActiveX enablement for the
-     management console to run.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/LICENSE.txt b/products/stratos2/stratos_controller/1.0.1/modules/distribution/LICENSE.txt
deleted file mode 100755
index 79ff255..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/LICENSE.txt
+++ /dev/null
@@ -1,488 +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   
-addressing-1.6.1-wso2v9.mar                                                     bundle         apache2   
-ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
-andes-client_0.13.0.wso2v6.jar                                                  bundle         apache2   
-annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
-antlr-runtime_3.2.0.wso2v1.jar                                                  bundle         bsd       
-antlr_2.7.7.wso2v1.jar                                                          bundle         bsd       
-antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
-ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
-apache-cassandra_1.1.3.wso2v2.jar                                               bundle         apache2   
-apache-zookeeper_3.3.6.wso2v1.jar                                               bundle         apache2   
-atomikos_3.8.0.wso2v1.jar                                                       bundle         apache2   
-authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
-axiom_1.2.11.wso2v4.jar                                                         bundle         apache2   
-axis2-json_1.6.1.wso2v9.jar                                                     bundle         apache2   
-axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
-axis2_1.6.1.wso2v9.jar                                                          bundle         apache2   
-axis_1.4.0.wso2v1.jar                                                           bundle         apache2   
-backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
-batik-anim-1.7.jar                                                              jarinbundle    apache2   
-batik-awt-util-1.7.jar                                                          jarinbundle    apache2   
-batik-bridge-1.7.jar                                                            jarinbundle    apache2   
-batik-codec-1.7.jar                                                             jarinbundle    apache2   
-batik-css-1.7.jar                                                               jarinbundle    apache2   
-batik-dom-1.7.jar                                                               jarinbundle    apache2   
-batik-ext-1.7.jar                                                               jarinbundle    apache2   
-batik-extension-1.7.jar                                                         jarinbundle    apache2   
-batik-gui-util-1.7.jar                                                          jarinbundle    apache2   
-batik-gvt-1.7.jar                                                               jarinbundle    apache2   
-batik-js-1.7.jar                                                                jarinbundle    apache2   
-batik-parser-1.7.jar                                                            jarinbundle    apache2   
-batik-script-1.7.jar                                                            jarinbundle    apache2   
-batik-slideshow-1.7.jar                                                         jarinbundle    apache2   
-batik-svg-dom-1.7.jar                                                           jarinbundle    apache2   
-batik-svggen-1.7.jar                                                            jarinbundle    apache2   
-batik-swing-1.7.jar                                                             jarinbundle    apache2   
-batik-transcoder-1.7.jar                                                        jarinbundle    apache2   
-batik-util-1.7.jar                                                              jarinbundle    apache2   
-batik-xml-1.7.jar                                                               jarinbundle    apache2   
-batik_1.7.0.wso2v1.jar                                                          bundle         apache2   
-bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
-bcprov-jdk15-132.jar                                                            jar            bouncy    
-bcprov-jdk15.jar                                                                jar            mit       
-com.google.gson_2.1.0.jar                                                       bundle         apache2   
-commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
-commons-beanutils-1.8.0.jar                                                     jarinbundle    apache2   
-commons-beanutils_1.8.0.wso2v1.jar                                              bundle         apache2   
-commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
-commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-configuration_1.6.0.wso2v1.jar                                          bundle         apache2   
-commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
-commons-digester-1.8.1.jar                                                      jarinbundle    apache2   
-commons-digester-1.8.jar                                                        jarinbundle    apache2   
-commons-digester_1.8.1.wso2v1.jar                                               bundle         apache2   
-commons-discovery-0.2.jar                                                       jarinbundle    apache2   
-commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
-commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
-commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
-commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
-compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
-drools_5.2.1.wso2v1.jar                                                         bundle         apache2   
-ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
-el-impl_2.2.0.wso2v1.jar                                                        bundle         cddl1     
-fop-0.94.jar                                                                    jarinbundle    apache2   
-geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
-geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
-geronimo-stax-api_1.0_spec-1.0.1.wso2v2.jar                                     bundle         apache2   
-gitblit_1.2.0.wso2v1.jar                                                        bundle         apache2   
-guava_12.0.0.wso2v1.jar                                                         bundle         apache2   
-guice_3.0.0.wso2v1.jar                                                          bundle         apache2   
-h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
-h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
-hadoop-core_0.20.203.wso2v2.jar                                                 bundle         apache2   
-hector-core_1.1.0.wso2v1.jar                                                    bundle         mit       
-high-scale-lib_1.1.2.wso2v1.jar                                                 bundle         public    
-httpclient-4.1.1-wso2v1.jar                                                     bundle         apache2   
-httpclient_4.1.1.wso2v1.jar                                                     bundle         apache2   
-httpcore_4.1.0.wso2v1.jar                                                       bundle         apache2   
-httpcore_4.2.3.wso2v1.jar                                                       bundle         apache2   
-infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
-itext-2.1.7.jar                                                                 jarinbundle    mpl10     
-itext_2.1.7.wso2v1.jar                                                          bundle         mpl11     
-janino_2.5.15.wso2v1.jar                                                        bundle         bsd       
-jasper-jdt_6.0.18.wso2v1.jar                                                    bundle         apache2   
-jasperreports_4.5.0.wso2v1.jar                                                  bundle         lgpl3     
-javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
-javax.el_2.2.0.v201108011116.jar                                                bundle         cddl1     
-javax.servlet.jsp_2.2.0.v201112011158.jar                                       bundle         cddl1     
-javax.servlet_3.0.0.v201112011016.jar                                           bundle         cddl1     
-jaxb-api-2.2.6.jar                                                              jar            cddl+gpl  
-jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
-jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
-jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
-jcommon-1.0.15.jar                                                              jarinbundle    lgpl2     
-jcommon_1.0.15.wso2v1.jar                                                       bundle         lgpl2     
-jdbc-pool_7.0.34.wso2v1.jar                                                     bundle         apache2   
-jdom_1.0.0.wso2v1.jar                                                           bundle         jdom      
-jericho-html-2.4.jar                                                            jarinbundle    epl1      
-jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
-jfreechart-1.0.13.jar                                                           jarinbundle    lgpl2     
-jfreechart_1.0.13.wso2v1.jar                                                    bundle         lgpl2     
-jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
-joda-time_1.6.0.wso2v1.jar                                                      bundle         apache2   
-jsch_0.1.49.wso2v1.jar                                                          bundle         apache2   
-json_2.0.0.wso2v1.jar                                                           bundle         json      
-jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
-jsr94_1.1.0.wso2v1.jar                                                          bundle         beajsr94  
-jstl_1.2.1.wso2v1.jar                                                           bundle         cddl1     
-jxl_2.6.8.wso2v1.jar                                                            bundle         lgpl2     
-kaptcha_2.3.0.wso2v1.jar                                                        bundle         apache2   
-libthrift_0.7.0.wso2v2.jar                                                      bundle         apache2   
-log4j-1.2.13.jar                                                                jar            apache2   
-marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
-mvel2_2.1.0.wso2v1.jar                                                          bundle         apache2   
-neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
-nekohtml-1.9.7.jar                                                              jarinbundle    apache2   
-opencsv-1.8.jar                                                                 jarinbundle    apache2   
-opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
-openid4java-nodeps_0.9.6.wso2v2.jar                                             bundle         apache2   
-opensaml-1.1.406.jar                                                            jarinbundle    apache2   
-opensaml-2.4.1.jar                                                              jarinbundle    apache2   
-opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
-openws-1.4.1.jar                                                                jarinbundle    apache2   
-openxri-client-1.2.0.jar                                                        jarinbundle    apache2   
-openxri-syntax-1.2.0.jar                                                        jarinbundle    apache2   
-org.apache.felix.gogo.command_0.8.0.v201108120515.jar                           bundle         apache2   
-org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar                           bundle         apache2   
-org.apache.felix.gogo.shell_0.8.0.v201110170705.jar                             bundle         apache2   
-org.apache.jasper.glassfish_2.2.2.v201205150955.jar                             bundle         apache2   
-org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar                         bundle         epl1      
-org.eclipse.core.expressions_3.4.401.v20120627-124442.jar                       bundle         epl1      
-org.eclipse.core.jobs_3.5.300.v20120622-204750.jar                              bundle         epl1      
-org.eclipse.core.runtime_3.8.0.v20120521-2346.jar                               bundle         epl1      
-org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
-org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
-org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
-org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
-org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
-org.eclipse.equinox.app_1.3.100.v20120522-1841.jar                              bundle         epl1      
-org.eclipse.equinox.common_3.6.100.v20120522-1841.jar                           bundle         epl1      
-org.eclipse.equinox.concurrent_1.0.300.v20120522-2049.jar                       bundle         epl1      
-org.eclipse.equinox.console_1.0.0.v20120522-1841.jar                            bundle         epl1      
-org.eclipse.equinox.ds_1.4.0.v20120522-1841.jar                                 bundle         epl1      
-org.eclipse.equinox.frameworkadmin.equinox_1.0.400.v20120428-0117.jar           bundle         epl1      
-org.eclipse.equinox.frameworkadmin_2.0.100.v20120606-175127.jar                 bundle         epl1      
-org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar                                bundle         epl1      
-org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar                     bundle         epl1      
-org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar                       bundle         epl1      
-org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar                           bundle         epl1      
-org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
-org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
-org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
-org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
-org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
-org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
-org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
-org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
-org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
-org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
-org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
-org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
-org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
-org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
-org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
-org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
-org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar                        bundle         epl1      
-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar                         bundle         epl1      
-org.eclipse.equinox.security_1.1.100.v20120522-1841.jar                         bundle         epl1      
-org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657.jar     bundle         epl1      
-org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635.jar             bundle         epl1      
-org.eclipse.equinox.util_1.0.400.v20120522-2049.jar                             bundle         epl1      
-org.eclipse.jgit_2.1.0.wso2v1.jar                                               bundle         apache2   
-org.eclipse.osgi.services_3.3.100.v20120522-1822.jar                            bundle         epl1      
-org.eclipse.osgi_3.8.1.v20120830-144521.jar                                     bundle         epl1      
-org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
-org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
-org.wso2.carbon.account.mgt.stub_4.1.3.jar                                      bundle         apache2   
-org.wso2.carbon.account.mgt.ui_2.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.account.mgt_2.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.activation_2.1.2.jar                                            bundle         apache2   
-org.wso2.carbon.adc.mgt.stub_4.1.3.jar                                          bundle         apache2   
-org.wso2.carbon.adc.mgt_2.1.3.jar                                               bundle         apache2   
-org.wso2.carbon.adc.reponotification.service.stub_4.1.1.jar                     bundle         apache2   
-org.wso2.carbon.adc.topology.mgt_2.1.3.jar                                      bundle         apache2   
-org.wso2.carbon.addressing_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.admin.mgt.stub_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.admin.mgt.ui_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.admin.mgt_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.apache.jasper.fragment_4.1.0.jar                                bundle         apache2   
-org.wso2.carbon.application.deployer_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.application.upload_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.authenticator.proxy_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.authenticator.stub_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.base_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.billing.core_2.1.3.jar                                          bundle         apache2   
-org.wso2.carbon.billing.mgt.stub_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.billing.mgt.ui_2.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.billing.mgt_2.1.3.jar                                           bundle         apache2   
-org.wso2.carbon.bootstrap-4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.bridge-4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.business.messaging.paypal.integration.core_4.1.0.jar            bundle         apache2   
-org.wso2.carbon.caching.core_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.captcha.mgt_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.cartridge.mgt.ui_2.1.3.jar                                      bundle         apache2   
-org.wso2.carbon.cluster.mgt.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.coordination.common_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.coordination.core_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.core.bootup.validator_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.core.commons.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.core.common_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.core.services_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.core_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.databridge.agent.thrift_4.1.0.jar                               bundle         apache2   
-org.wso2.carbon.databridge.commons.thrift_4.1.0.jar                             bundle         apache2   
-org.wso2.carbon.databridge.commons_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.email.sender_2.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.email.verification.stub_4.1.0.jar                               bundle         apache2   
-org.wso2.carbon.email.verification.ui_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.email.verification_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.event.admin_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.event.client.stub-4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.event.client.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.event.client_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.common_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.core_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.event.ws_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.feature.mgt.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.feature.mgt.services_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.feature.mgt.stub_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.feature.mgt.ui_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.framework.exporter_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.google.analytics.ui_2.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.http.bridge-4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.i18n_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.identity.authenticator.saml2.sso.common_4.1.0.jar               bundle         apache2   
-org.wso2.carbon.identity.authenticator.saml2.sso.stub_4.1.0.jar                 bundle         apache2   
-org.wso2.carbon.identity.authenticator.saml2.sso.ui_4.1.0.jar                   bundle         apache2   
-org.wso2.carbon.identity.authenticator.saml2.sso_4.1.0.jar                      bundle         apache2   
-org.wso2.carbon.identity.base_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.identity.core_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.identity.menu.ui_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.identity.provider.openid.stub_4.1.0.jar                         bundle         apache2   
-org.wso2.carbon.identity.provider.openid.ui_4.1.0.jar                           bundle         apache2   
-org.wso2.carbon.identity.provider.openid_4.1.0.jar                              bundle         apache2   
-org.wso2.carbon.identity.provider_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.identity.relyingparty.stub_4.1.0.jar                            bundle         apache2   
-org.wso2.carbon.identity.relyingparty.ui_4.1.0.jar                              bundle         apache2   
-org.wso2.carbon.identity.relyingparty_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.identity.sso.saml.stub_4.1.0.jar                                bundle         apache2   
-org.wso2.carbon.identity.sso.saml.ui_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.identity.sso.saml_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.jasper.patch_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.keystore.mgt_2.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.lb.common_4.1.3.jar                                             bundle         apache2   
-org.wso2.carbon.load.balance.agent_2.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub_4.1.3.jar        bundle         apache2   
-org.wso2.carbon.logging-4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.logging.admin.stub_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.logging.admin.ui_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.logging.service_4.1.1.jar                                       bundle         apache2   
-org.wso2.carbon.logging.view.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.logging.view.ui_4.1.1.jar                                       bundle         apache2   
-org.wso2.carbon.logging_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.mediator.bridge-4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.ndatasource.common_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.ndatasource.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.ndatasource.rdbms_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.ntask.common_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.ntask.core_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.ntask.solutions_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.osgi.security_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.payment.paypal_2.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.payment.stub_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.payment.ui_2.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.qpid.stub_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.queuing_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.redirector.servlet.stub_4.1.0.jar                               bundle         apache2   
-org.wso2.carbon.redirector.servlet.ui_2.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.redirector.servlet_2.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.register.ui_2.1.1.jar                                           bundle         apache2   
-org.wso2.carbon.registry.admin.api_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.registry.api_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.registry.common.ui_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.registry.common_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.registry.core_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.registry.properties.stub_4.1.0.jar                              bundle         apache2   
-org.wso2.carbon.registry.properties.ui_4.1.0.jar                                bundle         apache2   
-org.wso2.carbon.registry.properties_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.registry.resource.stub_4.1.0.jar                                bundle         apache2   
-org.wso2.carbon.registry.resource.ui_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.registry.resource_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.registry.search.stub_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.registry.search.ui_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.registry.search_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.registry.server_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.registry.servlet_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.remote-tasks.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.reporting.api_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.reporting.core_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.reporting.util_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.roles.mgt.stub_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.roles.mgt.ui_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.roles.mgt_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.rule.backend_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.rule.common_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.rule.kernel_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.rule.ws.admin_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.rule.ws_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.securevault_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.security.mgt.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.security.mgt.ui_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.security.mgt_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.server-4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.server.admin.common_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.server.admin.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.server.admin.ui_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.server.admin_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.service.mgt_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.servletbridge-4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.sso.redirector.ui_2.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.stratos.common.stub_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.stratos.common_2.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.stratos.landing.page.deployer_2.1.0.jar                         bundle         apache2   
-org.wso2.carbon.stratos.manager.dashboard.stub_4.1.0.jar                        bundle         apache2   
-org.wso2.carbon.task.services_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.task_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.tenant.activity_2.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.tenant.dispatcher_2.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.tenant.mgt.core_2.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.tenant.mgt.email.sender_2.1.0.jar                               bundle         apache2   
-org.wso2.carbon.tenant.mgt.stub_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.tenant.mgt.ui_2.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.tenant.mgt_2.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.tenant.register.stub_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.theme.mgt.stub_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.theme.mgt.ui_2.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.theme.mgt_2.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.throttling.agent.stub_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.throttling.agent_2.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.throttling.manager_2.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.throttling.stub_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.throttling.ui_2.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.tomcat.ext_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.tomcat.fragment.dummy_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.tomcat.patch_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.tomcat_4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.transaction.manager_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.transport.https_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.transport.http_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.transport.local_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.transport.mgt_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.ui.menu.general_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.ui.menu.registry_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.ui.menu.tools_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.ui_4.1.0.jar                                                    bundle         apache2   
-org.wso2.carbon.usage.agent_2.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.usage.stub_4.1.3.jar                                            bundle         apache2   
-org.wso2.carbon.usage.ui_2.1.3.jar                                              bundle         apache2   
-org.wso2.carbon.usage_2.1.3.jar                                                 bundle         apache2   
-org.wso2.carbon.user.api_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.user.core_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.user.mgt.common_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.user.mgt.stub_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.user.mgt.ui_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.user.mgt_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.utils_4.1.0.jar                                                 bundle         apache2   
-org.wso2.carbon.validate.domain.stub_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.validate.domain.ui_2.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.validate.domain_2.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.webapp.deployer_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.webapp.mgt_4.1.0.jar                                            bundle         apache2   
-org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
-org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
-org.wso2.stratos.identity.saml2.sso.mgt.ui_2.1.0.jar                            bundle         apache2   
-org.wso2.stratos.identity.saml2.sso.mgt_2.1.0.jar                               bundle         apache2   
-org.wso2.stratos.manager.dashboard.ui_1.0.1.jar                                 bundle         apache2   
-org.wso2.stratos.manager.login.ui_1.0.1.jar                                     bundle         apache2   
-org.wso2.stratos.manager.services.mgt_1.0.1.jar                                 bundle         apache2   
-org.wso2.stratos.manager.styles_1.0.1.jar                                       bundle         apache2   
-paypal-1.1.0.wso2v1.jar                                                         bundle         apache2   
-paypal_1.1.0.wso2v1.jar                                                         bundle         apache2   
-pdepublishing-ant.jar                                                           jar            epl1      
-pdepublishing.jar                                                               jar            epl1      
-perf4j_0.9.12.wso2v1.jar                                                        bundle         apache2   
-poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
-poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
-poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
-quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
-rampart-1.6.1-wso2v1.mar                                                        bundle         apache2   
-rampart-core_1.6.1.wso2v8.jar                                                   bundle         apache2   
-rampart-policy_1.6.1.wso2v8.jar                                                 bundle         apache2   
-rampart-trust_1.6.1.wso2v8.jar                                                  bundle         apache2   
-saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
-slf4j-1.5.10.wso2v1.jar                                                         bundle         apache2   
-smack_3.0.4.wso2v1.jar                                                          bundle         apache2   
-spring.framework_3.1.0.wso2v1.jar                                               bundle         apache2   
-step2-common-1.0.0-wso2v1.jar                                                   bundle         apache2   
-step2-consumer-1.0.0-wso2v1.jar                                                 bundle         apache2   
-step2_1.0.0.wso2v1.jar                                                          bundle         apache2   
-synapse-commons_2.1.1.wso2v4.jar                                                bundle         apache2   
-synapse-core_2.1.1.wso2v4.jar                                                   bundle         apache2   
-synapse-extensions_2.1.1.wso2v4.jar                                             bundle         apache2   
-synapse-samples_2.1.1.wso2v4.jar                                                bundle         apache2   
-synapse-tasks_2.1.1.wso2v4.jar                                                  bundle         apache2   
-synapse-tasks_2.1.1.wso2v5.jar                                                  bundle         apache2   
-tcpmon-1.0.jar                                                                  jar            apache2   
-tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
-tomcat-ha_7.0.34.wso2v1.jar                                                     bundle         apache2   
-tomcat-juli-7.0.34.jar                                                          jar            apache2   
-tomcat_7.0.34.wso2v1.jar                                                        bundle         apache2   
-tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
-woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
-wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
-wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
-xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
-xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
-xkms_2.4.0.wso2v1.jar                                                           bundle         apache2   
-xml-apis-1.3.04.jar                                                             jarinbundle    unknown   
-xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
-xml-apis-ext-1.3.04.jar                                                         jarinbundle    unknown   
-xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
-xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
-xmlgraphics-commons-1.3.1.jar                                                   jarinbundle    apache2   
-XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
-xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
-
-
-
-The license types used by the above libraries and their information is given below:
-
-lgpl3          GNU LESSER GENERAL PUBLIC LICENSE  Version 3
-               http://www.gnu.org/licenses/lgpl-3.0.txt
-epl1           Eclipse Public License
-               http://www.eclipse.org/legal/epl-v10.html
-lgpl2          Lesser GPL v2.1
-               http://www.opensource.org/licenses/lgpl-2.1.php
-mpl11          Mozilla Public License 1.1
-               http://www.mozilla.org/MPL/MPL-1.1.html
-mpl10          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/
-mit            MIT License
-               http://www.opensource.org/licenses/mit-license.php
-unknown        
-               unknown
-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
-cpl1           Common Public License 1.0
-               http://www.eclipse.org/legal/cpl-v10.html
-json           JSON.org License
-               null
-jsmon          ThoughtWorks Javasysmon License
-               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
-jdom           JDOM License - Apache Styled
-               null
-apache2        Apache License Version 2.0
-               http://www.apache.org/licenses/LICENSE-2.0.html
-bsd            Berkeley License
-               http://www.opensource.org/licenses/bsd-license.php
-bouncy         Bouncy Castle License
-               http://www.bouncycastle.org/licence.html
-beajsr94       BEA License for JSR94 API
-               http://download.oracle.com/otndocs/jcp/jreng-1_0a-fr-spec-api-oth-JSpec/jreng-1_0a-fr-spec-api-oth-JSpec-license.html
-public         Public Domain
-               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/README.txt
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/README.txt b/products/stratos2/stratos_controller/1.0.1/modules/distribution/README.txt
deleted file mode 100755
index ddd2116..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/README.txt
+++ /dev/null
@@ -1,69 +0,0 @@
-WSO2 Stratos Controller
------------------------
-
-Welcome to the WSO2 Stratos Controller
-
-The Stratos Controller (SC) mainly consists of the graphical user interface (GUI) and The Artifact Distribution 
-Coordinator that is responsible for the distribution of artifacts has been embedded into the Stratos Controller. 
-
-The Stratos Controller also defines the autoscaling policies that are defined for the Cartridges. 
-
-For more information about Stratos Controller, please refer WSO2 Stratos Wiki Docs:
-http://docs.wso2.org/wiki/display/Stratos200/WSO2+Stratos+Documentation
-
-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:
-
-   Apacge Rampart   : http://ws.apache.org/rampart/
-   Apache WSS4J     : http://ws.apache.org/wss4j/
-   Apache Santuario : http://santuario.apache.org/
-   Bouncycastle     : http://www.bouncycastle.org/
-
-
-
-Support
--------
-As a fully open source solution WSO2 Stratos does not require any licensing fees. 
-
-WSO2 offers a range of service and support options, including evaluation support, CloudStart(SM) 
-consulting program, development support, and production support. 
-
-For additional support information please visit  http://wso2.com/support/
-
-About WSO2
-----------
-WSO2 is the lean enterprise middleware company. It delivers the only complete open source enterprise 
-SOA middleware stack purpose-built as an integrated platform to support today.s heterogeneous 
-enterprise environments.internally and in the cloud. WSO2.s service and support team is led by 
-technical experts who have proven success in deploying enterprise SOAs and contribute to the technology 
-standards that enable them. 
-
-For more information, visit http://wso2.com and the WSO2 Oxygen Tank developer portal at http://wso2.org
-
----------------------------------------------------------------------------------------------------
-
-WSO2 Stratos Team
-
-(c) 2009 - 2013, WSO2 Inc.


[51/51] [partial] git commit: applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
applied 0001-Refactor-stratos-controller-product.patch


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/29f27ad9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/29f27ad9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/29f27ad9

Branch: refs/heads/master
Commit: 29f27ad9f2ca4d4e4e0b2ca3626ffe78c5343cf7
Parents: ab70545
Author: Lakmal Warusawithana <la...@wso2.com>
Authored: Fri Jul 19 16:29:01 2013 +0530
Committer: Lakmal Warusawithana <la...@wso2.com>
Committed: Fri Jul 19 16:29:01 2013 +0530

----------------------------------------------------------------------
 components/org.apache.stratos.adc.mgt/pom.xml   |    3 +-
 .../org.apache.stratos.keystore.mgt/pom.xml     |    2 +-
 .../pom.xml                                     |    2 +-
 components/org.apache.stratos.usage.ui/pom.xml  |    2 +-
 .../pom.xml                                     |    2 +-
 .../pom.xml                                     |    4 +-
 .../pom.xml                                     |    2 +-
 .../pom.xml                                     |    2 +-
 .../1.0.0/billing-script/billing-h2.sql         |  109 --
 .../1.0.0/billing-script/billing-mysql.sql      |  120 --
 .../1.0.0/billing-script/migration.sql          |    7 -
 .../1.0.0/conf/README-STRATOS                   |   90 --
 .../stratos_controller/1.0.0/conf/axis2.xml     |  525 -------
 .../stratos_controller/1.0.0/conf/bam.xml       |   26 -
 .../1.0.0/conf/billing-config.xml               |   67 -
 .../1.0.0/conf/cartridge-config.properties      |   33 -
 .../1.0.0/conf/cipher-text.properties           |   23 -
 .../1.0.0/conf/cloud-services-desc.xml          |  176 ---
 .../1.0.0/conf/datasources.properties           |   55 -
 .../1.0.0/conf/email-bill-generated.xml         |   38 -
 .../1.0.0/conf/email-billing-notifications.xml  |   49 -
 .../1.0.0/conf/email-new-tenant-activation.xml  |   46 -
 .../conf/email-new-tenant-registration.xml      |   46 -
 .../1.0.0/conf/email-password-reset.xml         |   42 -
 .../conf/email-payment-received-customer.xml    |   38 -
 .../1.0.0/conf/email-payment-received-wso2.xml  |   38 -
 .../1.0.0/conf/email-registration-complete.xml  |   37 -
 .../conf/email-registration-moderation.xml      |   46 -
 ...l-registration-payment-received-customer.xml |   38 -
 .../1.0.0/conf/email-registration.xml           |   45 -
 .../1.0.0/conf/email-update.xml                 |   38 -
 .../1.0.0/conf/embedded-ldap.xml                |  162 --
 .../1.0.0/conf/event-broker.xml                 |   44 -
 .../1.0.0/conf/features-dashboard.xml           |  776 ----------
 .../stratos_controller/1.0.0/conf/identity.xml  |  107 --
 .../stratos_controller/1.0.0/conf/jaas.conf     |   10 -
 .../1.0.0/conf/loadbalancer.conf                |   29 -
 .../1.0.0/conf/metering-config-non-manager.xml  |  103 --
 .../1.0.0/conf/multitenancy-billing-rules.drl   |   34 -
 .../1.0.0/conf/nhttp.properties                 |   39 -
 .../1.0.0/conf/passthru-http.properties         |   31 -
 .../1.0.0/conf/rule-component.conf              |    3 -
 .../1.0.0/conf/samples-desc.xml                 |   32 -
 .../1.0.0/conf/sso-idp-config.xml               |   26 -
 .../1.0.0/conf/status-monitor-config.xml        |   52 -
 .../1.0.0/conf/stratos-datasources.xml          |   70 -
 .../conf/synapse-configs/default/registry.xml   |   25 -
 .../default/sequences/errorHandler.xml          |   30 -
 .../synapse-configs/default/sequences/fault.xml |   75 -
 .../synapse-configs/default/sequences/main.xml  |  109 --
 .../conf/synapse-configs/default/synapse.xml    |   24 -
 .../1.0.0/conf/synapse.properties               |   35 -
 .../1.0.0/conf/tenant-reg-agent.xml             |   24 -
 .../1.0.0/conf/throttling-rules.drl             |  251 ---
 .../stratos_controller/1.0.0/conf/user-mgt.xml  |  238 ---
 .../stratos_controller/1.0.0/conf/zoo.cfg       |    4 -
 .../1.0.0/modules/cloud-service-mgt/pom.xml     |   96 --
 .../services/mgt/beans/CloudService.java        |   82 -
 .../CloudServiceMgtServiceComponent.java        |   73 -
 .../mgt/services/CloudManagerService.java       |  121 --
 .../manager/services/mgt/util/Constants.java    |   26 -
 .../stratos/manager/services/mgt/util/Util.java |  261 ----
 .../src/main/resources/META-INF/component.xml   |   29 -
 .../src/main/resources/META-INF/services.xml    |   41 -
 .../1.0.0/modules/dashboard/pom.xml             |  153 --
 .../ui/clients/CloudManagerServiceClient.java   |  123 --
 .../manager/dashboard/ui/utils/Util.java        |   45 -
 .../src/main/resources/CloudManagerService.wsdl |  312 ----
 .../src/main/resources/META-INF/component.xml   |   35 -
 .../dashboard/ui/i18n/JSResources.properties    |    3 -
 .../dashboard/ui/i18n/Resources.properties      |    3 -
 .../cloud_services_configuration.jsp            |  203 ---
 .../cloud_services_save_ajaxprocessor.jsp       |   34 -
 .../web/tenant-dashboard/css/dashboard.css      |  231 ---
 .../tenant-dashboard/docs/images/dashboard.png  |  Bin 139674 -> 0 bytes
 .../web/tenant-dashboard/docs/userguide.html    |  101 --
 .../images/WSO2-Cloud-Gateway-logo.gif          |  Bin 2506 -> 0 bytes
 .../images/WSO2-Storage-Server-logo.gif         |  Bin 2490 -> 0 bytes
 .../WSO2-Stratos-Application-Server-logo.gif    |  Bin 1473 -> 0 bytes
 ...2-Stratos-Business-Activity-Monitor-logo.gif |  Bin 1690 -> 0 bytes
 ...SO2-Stratos-Business-Process-Server-logo.gif |  Bin 1606 -> 0 bytes
 .../WSO2-Stratos-Business-Rules-Server-logo.gif |  Bin 1596 -> 0 bytes
 ...WSO2-Stratos-Cloud-Services-Gateway-logo.gif |  Bin 2030 -> 0 bytes
 ...tos-Complex-Event-Processing-Server-logo.gif |  Bin 1998 -> 0 bytes
 .../WSO2-Stratos-Data-Services-Server-logo.gif  |  Bin 1528 -> 0 bytes
 ...WSO2-Stratos-Enterprise-Service-Bus-logo.gif |  Bin 1598 -> 0 bytes
 .../images/WSO2-Stratos-Gadget-Server-logo.gif  |  Bin 1368 -> 0 bytes
 .../images/WSO2-Stratos-Governance-logo.gif     |  Bin 1525 -> 0 bytes
 .../images/WSO2-Stratos-Identity-logo.gif       |  Bin 1398 -> 0 bytes
 .../images/WSO2-Stratos-Mashup-Server-logo.gif  |  Bin 1440 -> 0 bytes
 .../images/WSO2-Stratos-Message-Broker-logo.gif |  Bin 1603 -> 0 bytes
 .../images/WSO2-Tasks-Server-logo.gif           |  Bin 2350 -> 0 bytes
 .../web/tenant-dashboard/images/aas-top.gif     |  Bin 4659 -> 0 bytes
 .../tenant-dashboard/images/activate-button.gif |  Bin 2601 -> 0 bytes
 .../tenant-dashboard/images/appserver-logo.gif  |  Bin 1473 -> 0 bytes
 .../web/tenant-dashboard/images/bam-logo.gif    |  Bin 1690 -> 0 bytes
 .../web/tenant-dashboard/images/bps-logo.gif    |  Bin 1606 -> 0 bytes
 .../web/tenant-dashboard/images/brs-logo.gif    |  Bin 1596 -> 0 bytes
 .../web/tenant-dashboard/images/cep_logo.gif    |  Bin 1998 -> 0 bytes
 .../web/tenant-dashboard/images/csg-logo.gif    |  Bin 2030 -> 0 bytes
 .../images/deactivate-button.gif                |  Bin 2448 -> 0 bytes
 .../web/tenant-dashboard/images/ds-logo.gif     |  Bin 1528 -> 0 bytes
 .../web/tenant-dashboard/images/esb-logo.gif    |  Bin 1598 -> 0 bytes
 .../web/tenant-dashboard/images/gadget-logo.gif |  Bin 1368 -> 0 bytes
 .../web/tenant-dashboard/images/go-button.gif   |  Bin 2165 -> 0 bytes
 .../tenant-dashboard/images/governance-logo.gif |  Bin 1525 -> 0 bytes
 .../tenant-dashboard/images/identity-logo.gif   |  Bin 1398 -> 0 bytes
 .../images/inactive-go-button.gif               |  Bin 2135 -> 0 bytes
 .../web/tenant-dashboard/images/mashup-logo.gif |  Bin 1440 -> 0 bytes
 .../web/tenant-dashboard/images/mb_logo.gif     |  Bin 1603 -> 0 bytes
 .../images/service-configuration.gif            |  Bin 389 -> 0 bytes
 .../resources/web/tenant-dashboard/index.jsp    |  243 ---
 .../web/tenant-dashboard/js/configurations.js   |  381 -----
 .../web/tenant-dashboard/js/dashboard.js        |   12 -
 .../1.0.0/modules/distribution/INSTALL.txt      |   61 -
 .../1.0.0/modules/distribution/LICENSE.txt      |  455 ------
 .../1.0.0/modules/distribution/README.txt       |  144 --
 .../modules/distribution/lib/home/faq.html      |  392 -----
 .../distribution/lib/home/images/bottom.gif     |  Bin 523 -> 0 bytes
 .../distribution/lib/home/images/bullet-01.gif  |  Bin 159 -> 0 bytes
 .../distribution/lib/home/images/content-bg.gif |  Bin 233 -> 0 bytes
 .../distribution/lib/home/images/favicon.ico    |  Bin 17542 -> 0 bytes
 .../lib/home/images/feature-01-icon.gif         |  Bin 2825 -> 0 bytes
 .../lib/home/images/feature-02-icon.gif         |  Bin 3361 -> 0 bytes
 .../lib/home/images/feature-03-icon.gif         |  Bin 3285 -> 0 bytes
 .../lib/home/images/feature-middle-bg.gif       |  Bin 1139 -> 0 bytes
 .../distribution/lib/home/images/intro-bg.gif   |  Bin 3964 -> 0 bytes
 .../distribution/lib/home/images/intro-text.gif |  Bin 4082 -> 0 bytes
 .../distribution/lib/home/images/left-bg.gif    |  Bin 1135 -> 0 bytes
 .../distribution/lib/home/images/logo.gif       |  Bin 11127 -> 0 bytes
 .../lib/home/images/powered-logo.gif            |  Bin 1280 -> 0 bytes
 .../distribution/lib/home/images/register.gif   |  Bin 6946 -> 0 bytes
 .../distribution/lib/home/images/sign-in.gif    |  Bin 3150 -> 0 bytes
 .../lib/home/images/stratos-products-new.jpg    |  Bin 25720 -> 0 bytes
 .../distribution/lib/home/images/title-bg.gif   |  Bin 1182 -> 0 bytes
 .../distribution/lib/home/images/top.gif        |  Bin 16149 -> 0 bytes
 .../distribution/lib/home/images/webinar.png    |  Bin 12318 -> 0 bytes
 .../lib/home/images/white-paper.png             |  Bin 15148 -> 0 bytes
 .../modules/distribution/lib/home/index.html    |  119 --
 .../lib/home/js/jquery-1.5.1.min.js             |   16 -
 .../lib/home/js/jquery.orbit-1.2.3.min.js       |   17 -
 .../distribution/lib/home/js/orbit-1.2.3.css    |  202 ---
 .../lib/home/js/orbit/left-arrow.png            |  Bin 860 -> 0 bytes
 .../distribution/lib/home/js/orbit/loading.gif  |  Bin 2608 -> 0 bytes
 .../lib/home/js/orbit/mask-black.png            |  Bin 705 -> 0 bytes
 .../lib/home/js/orbit/right-arrow.png           |  Bin 825 -> 0 bytes
 .../lib/home/js/orbit/rotator-black.png         |  Bin 733 -> 0 bytes
 .../lib/home/js/orbit/timer-black.png           |  Bin 705 -> 0 bytes
 .../modules/distribution/lib/home/style.css     |  160 --
 .../1.0.0/modules/distribution/pom.xml          |  744 ---------
 .../distribution/qpid-resources/etc/config.xml  |  103 --
 .../qpid-resources/etc/jmxremote.access         |   23 -
 .../qpid-resources/etc/virtualhosts.xml         |   64 -
 .../distribution/qpid-resources/qpid.xml        |   22 -
 .../modules/distribution/release-notes.html     |  132 --
 .../resources/dbscripts/metering_h2.sql         |  114 --
 .../resources/dbscripts/metering_mysql.sql      |  120 --
 .../resources/dbscripts/wso2_rss.sql            |   81 -
 .../modules/distribution/src/assembly/bin.xml   |  555 -------
 .../modules/distribution/src/assembly/dist.xml  |   44 -
 .../distribution/src/assembly/filter.properties |    7 -
 .../distribution/src/bin/add_entry_zone_file.sh |   50 -
 .../src/bin/git-folder-structure.sh             |   47 -
 .../distribution/src/bin/manage-git-repo.sh     |  118 --
 .../src/bin/remove_entry_zone_file.sh           |   55 -
 .../distribution/src/bin/set-mysql-password.sh  |   45 -
 .../distribution/src/bin/update-instance.sh     |   34 -
 .../modules/distribution/src/bin/wso2server.bat |  170 ---
 .../modules/distribution/src/bin/wso2server.sh  |  298 ----
 .../WebContent/META-INF/MANIFEST.MF             |    3 -
 .../WebContent/WEB-INF/web.xml                  |    7 -
 .../WebContent/dashboards/as.html               |   69 -
 .../WebContent/dashboards/bam.html              |   88 --
 .../WebContent/dashboards/bps.html              |   51 -
 .../WebContent/dashboards/brs.html              |   22 -
 .../WebContent/dashboards/cep.html              |   82 -
 .../WebContent/dashboards/csg.html              |   11 -
 .../dashboards/css/features-dashboard.css       |   55 -
 .../WebContent/dashboards/dss.html              |   75 -
 .../WebContent/dashboards/esb.html              |   70 -
 .../WebContent/dashboards/greg.html             |   94 --
 .../WebContent/dashboards/gs.html               |   90 --
 .../WebContent/dashboards/images/black.png      |  Bin 7338 -> 0 bytes
 .../dashboards/images/configure_db.png          |  Bin 43279 -> 0 bytes
 .../dashboards/images/tenant_isolation.png      |  Bin 67219 -> 0 bytes
 .../images/usage_metering_and_throttling.jpg    |  Bin 44100 -> 0 bytes
 .../WebContent/dashboards/is.html               |   98 --
 .../WebContent/dashboards/manager.html          |   68 -
 .../WebContent/dashboards/mb.html               |   81 -
 .../WebContent/dashboards/ms.html               |   81 -
 .../WebContent/dashboards/server.jsp            |  151 --
 .../css/features-dashboard-new.css              |  155 --
 .../WebContent/tenant-dashboard/css/ie7.css     |    8 -
 .../tenant-dashboard/images/arrow-blue.png      |  Bin 815 -> 0 bytes
 .../tenant-dashboard/images/arrow-white.png     |  Bin 846 -> 0 bytes
 .../WebContent/tenant-dashboard/images/back.jpg |  Bin 1496 -> 0 bytes
 .../tenant-dashboard/images/boxes.png           |  Bin 645 -> 0 bytes
 .../images/dashboard-back-repeat.png            |  Bin 696 -> 0 bytes
 .../tenant-dashboard/images/workAreaBack.png    |  Bin 760 -> 0 bytes
 .../WebContent/tenant-dashboard/index.html      |  173 ---
 .../WebContent/tenant-dashboard/index.jsp       |  205 ---
 .../tenant-dashboard/js/jquery-1.7.1.min.js     |    4 -
 .../tenant-dashboard/js/jquery.masonry.min.js   |   10 -
 .../js/jquery/jquery-1.5.1.min.js               |   16 -
 .../js/jquery/jquery.ui.core.js                 |    1 -
 .../js/jquery/jquery.ui.core.min.js             |   17 -
 .../js/jquery/jquery.ui.tabs.min.js             |   35 -
 .../js/jquery/jquery.ui.widget.min.js           |   15 -
 .../js/jquery/jquery.validate.js                | 1166 --------------
 .../ui-bg_diagonals-thick_18_b81900_40x40.png   |  Bin 260 -> 0 bytes
 .../ui-bg_diagonals-thick_20_666666_40x40.png   |  Bin 251 -> 0 bytes
 .../images/ui-bg_flat_10_000000_40x100.png      |  Bin 178 -> 0 bytes
 .../images/ui-bg_glass_100_f6f6f6_1x400.png     |  Bin 104 -> 0 bytes
 .../images/ui-bg_glass_100_fdf5ce_1x400.png     |  Bin 125 -> 0 bytes
 .../images/ui-bg_glass_65_ffffff_1x400.png      |  Bin 105 -> 0 bytes
 .../ui-bg_gloss-wave_35_f6a828_500x100.png      |  Bin 3762 -> 0 bytes
 .../ui-bg_highlight-soft_100_eeeeee_1x100.png   |  Bin 90 -> 0 bytes
 .../ui-bg_highlight-soft_75_ffe45c_1x100.png    |  Bin 129 -> 0 bytes
 .../images/ui-icons_222222_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_228ef1_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_ef8c08_256x240.png          |  Bin 5355 -> 0 bytes
 .../images/ui-icons_ffd27a_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_ffffff_256x240.png          |  Bin 4369 -> 0 bytes
 .../ui-lightness/jquery-ui-1.8.14.custom.css    |  568 -------
 .../themes/ui-lightness/jquery.ui.accordion.css |   19 -
 .../themes/ui-lightness/jquery.ui.all.css       |   11 -
 .../ui-lightness/jquery.ui.autocomplete.css     |   53 -
 .../themes/ui-lightness/jquery.ui.base.css      |   11 -
 .../themes/ui-lightness/jquery.ui.button.css    |   38 -
 .../themes/ui-lightness/jquery.ui.core.css      |   41 -
 .../ui-lightness/jquery.ui.datepicker.css       |   68 -
 .../themes/ui-lightness/jquery.ui.dialog.css    |   21 -
 .../ui-lightness/jquery.ui.progressbar.css      |   11 -
 .../themes/ui-lightness/jquery.ui.resizable.css |   20 -
 .../ui-lightness/jquery.ui.selectable.css       |   10 -
 .../themes/ui-lightness/jquery.ui.slider.css    |   24 -
 .../themes/ui-lightness/jquery.ui.tabs.css      |   18 -
 .../themes/ui-lightness/jquery.ui.theme.css     |  249 ---
 .../features-dashboard/features-dashboard.xml   |  762 ----------
 .../1.0.0/modules/features-dashboard/pom.xml    |  139 --
 .../manager/feature/dashbord/ui/beans/Data.java |   43 -
 .../manager/feature/dashbord/ui/beans/Link.java |   23 -
 .../feature/dashbord/ui/beans/Service.java      |   54 -
 .../feature/dashbord/ui/beans/Story.java        |   44 -
 .../feature/dashbord/ui/utils/Utils.java        |  159 --
 .../1.0.0/modules/features/pom.xml              |   46 -
 .../features/service/etc/feature.properties     |  242 ---
 .../service/org.wso2.stratos2.feature/pom.xml   |   83 -
 .../org.wso2.stratos2.server.feature/pom.xml    |  237 ---
 .../org.wso2.stratos2.ui.feature/pom.xml        |  218 ---
 .../1.0.0/modules/features/service/pom.xml      |   49 -
 .../1.0.0/modules/integration/pom.xml           |  146 --
 .../integration/tests/LoginLogoutTestCase.java  |   48 -
 .../tests/SecurityVerificationTestCase.java     |   26 -
 .../tests/StratosManagerTestServerManager.java  |   54 -
 .../integration/tests/TenantMgtTestCase.java    |   91 --
 .../src/test/resources/instrumentation.txt      |    2 -
 .../src/test/resources/keys/wso2carbon.jks      |  Bin 33260 -> 0 bytes
 .../integration/src/test/resources/testng.xml   |   17 -
 .../1.0.0/modules/login/pom.xml                 |  140 --
 .../src/main/resources/META-INF/component.xml   |   20 -
 .../login/src/main/resources/TenantService.wsdl |  576 -------
 .../web/tenant-login/css/loginpage.css          |  268 ----
 .../resources/web/tenant-login/css/tenant.css   |   62 -
 .../docs/images/sign-in-no-domain.png           |  Bin 10682 -> 0 bytes
 .../docs/images/sign-in-with-domain.png         |  Bin 8233 -> 0 bytes
 .../web/tenant-login/docs/userguide.html        |  113 --
 .../domain_rename_checker_ajaxprocessor.jsp     |   46 -
 .../web/tenant-login/images/body-bg.gif         |  Bin 923 -> 0 bytes
 .../web/tenant-login/images/feature-01-icon.gif |  Bin 2825 -> 0 bytes
 .../web/tenant-login/images/feature-02-icon.gif |  Bin 3361 -> 0 bytes
 .../web/tenant-login/images/feature-03-icon.gif |  Bin 3285 -> 0 bytes
 .../tenant-login/images/google-apps-login.gif   |  Bin 4189 -> 0 bytes
 .../web/tenant-login/images/link-icon.gif       |  Bin 118 -> 0 bytes
 .../web/tenant-login/images/login-bg.gif        |  Bin 56670 -> 0 bytes
 .../resources/web/tenant-login/images/logo.gif  |  Bin 17603 -> 0 bytes
 .../tenant-login/images/paas-login-1pix-1.gif   |  Bin 43 -> 0 bytes
 .../web/tenant-login/images/paas-login-1pix.gif |  Bin 43 -> 0 bytes
 .../web/tenant-login/images/powered.gif         |  Bin 1280 -> 0 bytes
 .../tenant-login/images/reg-button-hover.gif    |  Bin 3824 -> 0 bytes
 .../web/tenant-login/images/reg-button.gif      |  Bin 3852 -> 0 bytes
 .../web/tenant-login/images/register.gif        |  Bin 4099 -> 0 bytes
 .../tenant-login/images/st-login-body-bg.gif    |  Bin 2215 -> 0 bytes
 .../tenant-login/images/st-login-content-bg.gif |  Bin 1060 -> 0 bytes
 .../tenant-login/images/st-login-footer-bg.gif  |  Bin 749 -> 0 bytes
 .../tenant-login/images/st-login-header-bg.gif  |  Bin 64503 -> 0 bytes
 .../web/tenant-login/images/t-right-logo.gif    |  Bin 2445 -> 0 bytes
 .../main/resources/web/tenant-login/js/login.js |   27 -
 .../web/tenant-login/login_ajaxprocessor.jsp    |  345 -----
 .../web/tenant-login/terms/policy.html          |   71 -
 .../web/tenant-login/terms/support.html         |   38 -
 .../resources/web/tenant-login/terms/terms.html |   73 -
 .../1.0.0/modules/p2-profile-gen/pom.xml        |  451 ------
 .../1.0.0/modules/s2-gitblit-plugin/lib/LICENSE |  201 ---
 .../1.0.0/modules/s2-gitblit-plugin/lib/NOTICE  |  217 ---
 .../lib/gitblit-manager-1.0.0.jar               |  Bin 561475 -> 0 bytes
 .../1.0.0/modules/s2-gitblit-plugin/pom.xml     |  188 ---
 .../s2/gitblit/service/GitAuthService.java      |   80 -
 .../src/main/resources/AuthenticationAdmin.wsdl | 1370 -----------------
 .../1.0.0/modules/styles/pom.xml                |   46 -
 .../1.0.0/modules/styles/service/pom.xml        |  142 --
 .../src/main/resources/META-INF/product.xml     |   26 -
 .../service/src/main/resources/web/favicon.ico  |  Bin 17542 -> 0 bytes
 .../src/main/resources/web/styles/css/main.css  |  240 ---
 .../resources/web/styles/images/def-body-bg.gif |  Bin 419 -> 0 bytes
 .../web/styles/images/def-header-bg.gif         |  Bin 17875 -> 0 bytes
 .../web/styles/images/def-header-region-bg.gif  |  Bin 22784 -> 0 bytes
 .../main/resources/web/styles/images/logo.gif   |  Bin 1815 -> 0 bytes
 .../resources/web/styles/images/powered.gif     |  Bin 1773 -> 0 bytes
 .../resources/web/styles/images/right-logo.gif  |  Bin 6102 -> 0 bytes
 .../web/styles/images/t-right-logo.gif          |  Bin 3629 -> 0 bytes
 .../stratos2/stratos_controller/1.0.0/pom.xml   |  418 -----
 .../resources/allthemes/Dark/admin/logo.gif     |  Bin 1551 -> 0 bytes
 .../resources/allthemes/Dark/admin/main.css     |  232 ---
 .../allthemes/Dark/admin/powered-stratos.gif    |  Bin 1515 -> 0 bytes
 .../allthemes/Dark/admin/right-logo.gif         |  Bin 2325 -> 0 bytes
 .../allthemes/Dark/admin/theme-header-bg.gif    |  Bin 4245 -> 0 bytes
 .../Dark/admin/theme-header-region-bg.gif       |  Bin 793 -> 0 bytes
 .../allthemes/Dark/admin/theme-menu-header.gif  |  Bin 261 -> 0 bytes
 .../Dark/admin/theme-menu-panel-l-bg.gif        |  Bin 312 -> 0 bytes
 .../Dark/admin/theme-menu-table-bg.gif          |  Bin 5671 -> 0 bytes
 .../Dark/admin/theme-right-links-bg.gif         |  Bin 1005 -> 0 bytes
 .../1.0.0/resources/allthemes/Dark/thumb.png    |  Bin 19546 -> 0 bytes
 .../allthemes/Default/admin/def-body-bg.gif     |  Bin 419 -> 0 bytes
 .../allthemes/Default/admin/def-header-bg.gif   |  Bin 17875 -> 0 bytes
 .../Default/admin/def-header-region-bg.gif      |  Bin 22784 -> 0 bytes
 .../resources/allthemes/Default/admin/logo.gif  |  Bin 1815 -> 0 bytes
 .../resources/allthemes/Default/admin/main.css  |  229 ---
 .../allthemes/Default/admin/powered-stratos.gif |  Bin 1515 -> 0 bytes
 .../allthemes/Default/admin/right-logo.gif      |  Bin 3629 -> 0 bytes
 .../1.0.0/resources/allthemes/Default/thumb.png |  Bin 24432 -> 0 bytes
 .../resources/allthemes/Light/admin/logo.gif    |  Bin 1551 -> 0 bytes
 .../resources/allthemes/Light/admin/main.css    |  229 ---
 .../allthemes/Light/admin/menu_header.gif       |  Bin 243 -> 0 bytes
 .../allthemes/Light/admin/powered-stratos.gif   |  Bin 1515 -> 0 bytes
 .../allthemes/Light/admin/right-links-bg.gif    |  Bin 1191 -> 0 bytes
 .../allthemes/Light/admin/right-logo.gif        |  Bin 2325 -> 0 bytes
 .../allthemes/Light/admin/theme-header-bg.gif   |  Bin 3792 -> 0 bytes
 .../Light/admin/theme-header-region-b-bg.gif    |  Bin 121 -> 0 bytes
 .../Light/admin/theme-header-region-bg.gif      |  Bin 534 -> 0 bytes
 .../Light/admin/theme-menu-panel-l-bg.gif       |  Bin 772 -> 0 bytes
 .../Light/admin/theme-menu-table-bg.gif         |  Bin 5991 -> 0 bytes
 .../1.0.0/resources/allthemes/Light/thumb.png   |  Bin 18102 -> 0 bytes
 .../cloud-services-icons/appserver.gif          |  Bin 2086 -> 0 bytes
 .../resources/cloud-services-icons/bam.gif      |  Bin 1773 -> 0 bytes
 .../resources/cloud-services-icons/bps.gif      |  Bin 1531 -> 0 bytes
 .../resources/cloud-services-icons/brs-old.gif  |  Bin 1772 -> 0 bytes
 .../resources/cloud-services-icons/brs.gif      |  Bin 2170 -> 0 bytes
 .../resources/cloud-services-icons/cep.png      |  Bin 3218 -> 0 bytes
 .../1.0.0/resources/cloud-services-icons/cg.gif |  Bin 2385 -> 0 bytes
 .../cloud-services-icons/csg-inactive.gif       |  Bin 3188 -> 0 bytes
 .../resources/cloud-services-icons/csg.gif      |  Bin 3176 -> 0 bytes
 .../1.0.0/resources/cloud-services-icons/ds.gif |  Bin 2012 -> 0 bytes
 .../resources/cloud-services-icons/esb.gif      |  Bin 1787 -> 0 bytes
 .../resources/cloud-services-icons/gadget.gif   |  Bin 2242 -> 0 bytes
 .../cloud-services-icons/governance.gif         |  Bin 1977 -> 0 bytes
 .../resources/cloud-services-icons/identity.gif |  Bin 1936 -> 0 bytes
 .../cloud-services-icons/inactive-appserver.gif |  Bin 1957 -> 0 bytes
 .../cloud-services-icons/inactive-bam.gif       |  Bin 1647 -> 0 bytes
 .../cloud-services-icons/inactive-brs.gif       |  Bin 1874 -> 0 bytes
 .../cloud-services-icons/inactive-cep.png       |  Bin 2959 -> 0 bytes
 .../cloud-services-icons/inactive-esb.gif       |  Bin 1656 -> 0 bytes
 .../cloud-services-icons/inactive-gadget.gif    |  Bin 2087 -> 0 bytes
 .../inactive-governance.gif                     |  Bin 1850 -> 0 bytes
 .../cloud-services-icons/inactive-identity.gif  |  Bin 1794 -> 0 bytes
 .../cloud-services-icons/inactive-mashup.gif    |  Bin 1772 -> 0 bytes
 .../cloud-services-icons/inactive-mb.png        |  Bin 2746 -> 0 bytes
 .../resources/cloud-services-icons/mashup.gif   |  Bin 1850 -> 0 bytes
 .../1.0.0/resources/cloud-services-icons/mb.png |  Bin 3139 -> 0 bytes
 .../resources/cloud-services-icons/pom.xml      |   71 -
 .../1.0.0/resources/cloud-services-icons/ss.gif |  Bin 2432 -> 0 bytes
 .../1.0.0/resources/cloud-services-icons/ts.gif |  Bin 2475 -> 0 bytes
 .../powerded-by-logos/appserver-logo.gif        |  Bin 1473 -> 0 bytes
 .../resources/powerded-by-logos/bam-logo.gif    |  Bin 1690 -> 0 bytes
 .../resources/powerded-by-logos/bps-logo.gif    |  Bin 1606 -> 0 bytes
 .../resources/powerded-by-logos/brs-logo.gif    |  Bin 1596 -> 0 bytes
 .../resources/powerded-by-logos/csg-logo.gif    |  Bin 2030 -> 0 bytes
 .../resources/powerded-by-logos/ds-logo.gif     |  Bin 1528 -> 0 bytes
 .../resources/powerded-by-logos/esb-logo.gif    |  Bin 1598 -> 0 bytes
 .../resources/powerded-by-logos/gadget-logo.gif |  Bin 1368 -> 0 bytes
 .../powerded-by-logos/governance-logo.gif       |  Bin 1525 -> 0 bytes
 .../powerded-by-logos/identity-logo.gif         |  Bin 1398 -> 0 bytes
 .../resources/powerded-by-logos/mashup-logo.gif |  Bin 1440 -> 0 bytes
 .../1.0.1/billing-script/billing-h2.sql         |  109 --
 .../1.0.1/billing-script/billing-mysql.sql      |  120 --
 .../1.0.1/billing-script/metering_h2.sql        |  114 --
 .../1.0.1/billing-script/metering_mysql.sql     |  149 --
 .../1.0.1/billing-script/migration.sql          |    7 -
 .../1.0.1/billing-script/s2_h2.sql              |   96 --
 .../1.0.1/billing-script/wso2_rss.sql           |   81 -
 .../1.0.1/conf/README-STRATOS                   |   90 --
 .../stratos_controller/1.0.1/conf/axis2.xml     |  525 -------
 .../stratos_controller/1.0.1/conf/bam.xml       |   26 -
 .../1.0.1/conf/billing-config.xml               |   67 -
 .../1.0.1/conf/cipher-text.properties           |   23 -
 .../1.0.1/conf/cloud-services-desc.xml          |  176 ---
 .../1.0.1/conf/datasources.properties           |   55 -
 .../1.0.1/conf/email-bill-generated.xml         |   38 -
 .../1.0.1/conf/email-billing-notifications.xml  |   49 -
 .../1.0.1/conf/email-new-tenant-activation.xml  |   46 -
 .../conf/email-new-tenant-registration.xml      |   46 -
 .../1.0.1/conf/email-password-reset.xml         |   42 -
 .../conf/email-payment-received-customer.xml    |   38 -
 .../1.0.1/conf/email-payment-received-wso2.xml  |   38 -
 .../1.0.1/conf/email-registration-complete.xml  |   37 -
 .../conf/email-registration-moderation.xml      |   46 -
 ...l-registration-payment-received-customer.xml |   38 -
 .../1.0.1/conf/email-registration.xml           |   45 -
 .../1.0.1/conf/email-update.xml                 |   38 -
 .../1.0.1/conf/embedded-ldap.xml                |  162 --
 .../1.0.1/conf/event-broker.xml                 |   44 -
 .../1.0.1/conf/features-dashboard.xml           |  807 ----------
 .../stratos_controller/1.0.1/conf/identity.xml  |  107 --
 .../stratos_controller/1.0.1/conf/jaas.conf     |   10 -
 .../1.0.1/conf/loadbalancer.conf                |   29 -
 .../1.0.1/conf/metering-config-non-manager.xml  |  103 --
 .../1.0.1/conf/multitenancy-billing-rules.drl   |   34 -
 .../1.0.1/conf/nhttp.properties                 |   39 -
 .../1.0.1/conf/passthru-http.properties         |   31 -
 .../1.0.1/conf/rule-component.conf              |    3 -
 .../1.0.1/conf/samples-desc.xml                 |   32 -
 .../1.0.1/conf/sso-idp-config.xml               |   26 -
 .../1.0.1/conf/status-monitor-config.xml        |   52 -
 .../1.0.1/conf/stratos-datasources.xml          |   50 -
 .../conf/synapse-configs/default/registry.xml   |   25 -
 .../default/sequences/errorHandler.xml          |   30 -
 .../synapse-configs/default/sequences/fault.xml |   75 -
 .../synapse-configs/default/sequences/main.xml  |  109 --
 .../conf/synapse-configs/default/synapse.xml    |   24 -
 .../1.0.1/conf/synapse.properties               |   35 -
 .../1.0.1/conf/tenant-reg-agent.xml             |   24 -
 .../1.0.1/conf/throttling-rules.drl             |  251 ---
 .../stratos_controller/1.0.1/conf/user-mgt.xml  |  238 ---
 .../stratos_controller/1.0.1/conf/zoo.cfg       |    4 -
 .../1.0.1/modules/cloud-service-mgt/pom.xml     |   96 --
 .../services/mgt/beans/CloudService.java        |   82 -
 .../CloudServiceMgtServiceComponent.java        |   73 -
 .../mgt/services/CloudManagerService.java       |  121 --
 .../manager/services/mgt/util/Constants.java    |   26 -
 .../stratos/manager/services/mgt/util/Util.java |  261 ----
 .../src/main/resources/META-INF/component.xml   |   29 -
 .../src/main/resources/META-INF/services.xml    |   41 -
 .../1.0.1/modules/dashboard/pom.xml             |  153 --
 .../ui/clients/CloudManagerServiceClient.java   |  123 --
 .../manager/dashboard/ui/utils/Util.java        |   45 -
 .../src/main/resources/CloudManagerService.wsdl |  312 ----
 .../src/main/resources/META-INF/component.xml   |   35 -
 .../dashboard/ui/i18n/JSResources.properties    |    3 -
 .../dashboard/ui/i18n/Resources.properties      |    3 -
 .../cloud_services_configuration.jsp            |  203 ---
 .../cloud_services_save_ajaxprocessor.jsp       |   34 -
 .../web/tenant-dashboard/css/dashboard.css      |  231 ---
 .../tenant-dashboard/docs/images/dashboard.png  |  Bin 139674 -> 0 bytes
 .../tenant-dashboard/docs/userguide-old.html    |  101 --
 .../web/tenant-dashboard/docs/userguide.html    |   37 -
 .../images/WSO2-Cloud-Gateway-logo.gif          |  Bin 2506 -> 0 bytes
 .../images/WSO2-Storage-Server-logo.gif         |  Bin 2490 -> 0 bytes
 .../WSO2-Stratos-Application-Server-logo.gif    |  Bin 1473 -> 0 bytes
 ...2-Stratos-Business-Activity-Monitor-logo.gif |  Bin 1690 -> 0 bytes
 ...SO2-Stratos-Business-Process-Server-logo.gif |  Bin 1606 -> 0 bytes
 .../WSO2-Stratos-Business-Rules-Server-logo.gif |  Bin 1596 -> 0 bytes
 ...WSO2-Stratos-Cloud-Services-Gateway-logo.gif |  Bin 2030 -> 0 bytes
 ...tos-Complex-Event-Processing-Server-logo.gif |  Bin 1998 -> 0 bytes
 .../WSO2-Stratos-Data-Services-Server-logo.gif  |  Bin 1528 -> 0 bytes
 ...WSO2-Stratos-Enterprise-Service-Bus-logo.gif |  Bin 1598 -> 0 bytes
 .../images/WSO2-Stratos-Gadget-Server-logo.gif  |  Bin 1368 -> 0 bytes
 .../images/WSO2-Stratos-Governance-logo.gif     |  Bin 1525 -> 0 bytes
 .../images/WSO2-Stratos-Identity-logo.gif       |  Bin 1398 -> 0 bytes
 .../images/WSO2-Stratos-Mashup-Server-logo.gif  |  Bin 1440 -> 0 bytes
 .../images/WSO2-Stratos-Message-Broker-logo.gif |  Bin 1603 -> 0 bytes
 .../images/WSO2-Tasks-Server-logo.gif           |  Bin 2350 -> 0 bytes
 .../web/tenant-dashboard/images/aas-top.gif     |  Bin 4659 -> 0 bytes
 .../tenant-dashboard/images/activate-button.gif |  Bin 2601 -> 0 bytes
 .../tenant-dashboard/images/appserver-logo.gif  |  Bin 1473 -> 0 bytes
 .../web/tenant-dashboard/images/bam-logo.gif    |  Bin 1690 -> 0 bytes
 .../web/tenant-dashboard/images/bps-logo.gif    |  Bin 1606 -> 0 bytes
 .../web/tenant-dashboard/images/brs-logo.gif    |  Bin 1596 -> 0 bytes
 .../web/tenant-dashboard/images/cep_logo.gif    |  Bin 1998 -> 0 bytes
 .../web/tenant-dashboard/images/csg-logo.gif    |  Bin 2030 -> 0 bytes
 .../images/deactivate-button.gif                |  Bin 2448 -> 0 bytes
 .../web/tenant-dashboard/images/ds-logo.gif     |  Bin 1528 -> 0 bytes
 .../web/tenant-dashboard/images/esb-logo.gif    |  Bin 1598 -> 0 bytes
 .../web/tenant-dashboard/images/gadget-logo.gif |  Bin 1368 -> 0 bytes
 .../web/tenant-dashboard/images/go-button.gif   |  Bin 2165 -> 0 bytes
 .../tenant-dashboard/images/governance-logo.gif |  Bin 1525 -> 0 bytes
 .../tenant-dashboard/images/identity-logo.gif   |  Bin 1398 -> 0 bytes
 .../images/inactive-go-button.gif               |  Bin 2135 -> 0 bytes
 .../web/tenant-dashboard/images/mashup-logo.gif |  Bin 1440 -> 0 bytes
 .../web/tenant-dashboard/images/mb_logo.gif     |  Bin 1603 -> 0 bytes
 .../images/service-configuration.gif            |  Bin 389 -> 0 bytes
 .../resources/web/tenant-dashboard/index.jsp    |  243 ---
 .../web/tenant-dashboard/js/configurations.js   |  381 -----
 .../web/tenant-dashboard/js/dashboard.js        |   12 -
 .../1.0.1/modules/distribution/INSTALL.txt      |   61 -
 .../1.0.1/modules/distribution/LICENSE.txt      |  488 ------
 .../1.0.1/modules/distribution/README.txt       |   69 -
 .../modules/distribution/lib/home/faq.html      |  392 -----
 .../distribution/lib/home/images/bottom.gif     |  Bin 523 -> 0 bytes
 .../distribution/lib/home/images/bullet-01.gif  |  Bin 159 -> 0 bytes
 .../distribution/lib/home/images/content-bg.gif |  Bin 233 -> 0 bytes
 .../distribution/lib/home/images/favicon.ico    |  Bin 17542 -> 0 bytes
 .../lib/home/images/feature-01-icon.gif         |  Bin 2825 -> 0 bytes
 .../lib/home/images/feature-02-icon.gif         |  Bin 3361 -> 0 bytes
 .../lib/home/images/feature-03-icon.gif         |  Bin 3285 -> 0 bytes
 .../lib/home/images/feature-middle-bg.gif       |  Bin 1139 -> 0 bytes
 .../distribution/lib/home/images/intro-bg.gif   |  Bin 3964 -> 0 bytes
 .../distribution/lib/home/images/intro-text.gif |  Bin 4082 -> 0 bytes
 .../distribution/lib/home/images/left-bg.gif    |  Bin 1135 -> 0 bytes
 .../distribution/lib/home/images/logo.gif       |  Bin 11127 -> 0 bytes
 .../lib/home/images/powered-logo.gif            |  Bin 1280 -> 0 bytes
 .../distribution/lib/home/images/register.gif   |  Bin 6946 -> 0 bytes
 .../distribution/lib/home/images/sign-in.gif    |  Bin 3150 -> 0 bytes
 .../lib/home/images/stratos-products-new.jpg    |  Bin 25720 -> 0 bytes
 .../distribution/lib/home/images/title-bg.gif   |  Bin 1182 -> 0 bytes
 .../distribution/lib/home/images/top.gif        |  Bin 16149 -> 0 bytes
 .../distribution/lib/home/images/webinar.png    |  Bin 12318 -> 0 bytes
 .../lib/home/images/white-paper.png             |  Bin 15148 -> 0 bytes
 .../modules/distribution/lib/home/index.html    |  119 --
 .../lib/home/js/jquery-1.5.1.min.js             |   16 -
 .../lib/home/js/jquery.orbit-1.2.3.min.js       |   17 -
 .../distribution/lib/home/js/orbit-1.2.3.css    |  202 ---
 .../lib/home/js/orbit/left-arrow.png            |  Bin 860 -> 0 bytes
 .../distribution/lib/home/js/orbit/loading.gif  |  Bin 2608 -> 0 bytes
 .../lib/home/js/orbit/mask-black.png            |  Bin 705 -> 0 bytes
 .../lib/home/js/orbit/right-arrow.png           |  Bin 825 -> 0 bytes
 .../lib/home/js/orbit/rotator-black.png         |  Bin 733 -> 0 bytes
 .../lib/home/js/orbit/timer-black.png           |  Bin 705 -> 0 bytes
 .../modules/distribution/lib/home/style.css     |  160 --
 .../1.0.1/modules/distribution/pom.xml          |  772 ----------
 .../distribution/qpid-resources/etc/config.xml  |  103 --
 .../qpid-resources/etc/jmxremote.access         |   23 -
 .../qpid-resources/etc/virtualhosts.xml         |   64 -
 .../distribution/qpid-resources/qpid.xml        |   22 -
 .../modules/distribution/release-notes.html     |  132 --
 .../modules/distribution/src/assembly/bin.xml   |  570 -------
 .../modules/distribution/src/assembly/dist.xml  |   44 -
 .../distribution/src/assembly/filter.properties |    7 -
 .../distribution/src/bin/add_entry_zone_file.sh |   50 -
 .../src/bin/git-folder-structure.sh             |   47 -
 .../distribution/src/bin/manage-git-repo.sh     |  118 --
 .../src/bin/remove_entry_zone_file.sh           |   55 -
 .../distribution/src/bin/set-mysql-password.sh  |   45 -
 .../distribution/src/bin/update-instance.sh     |   34 -
 .../modules/distribution/src/bin/wso2server.bat |  170 ---
 .../modules/distribution/src/bin/wso2server.sh  |  298 ----
 .../WebContent/META-INF/MANIFEST.MF             |    3 -
 .../WebContent/WEB-INF/web.xml                  |    7 -
 .../WebContent/dashboards/as.html               |   69 -
 .../WebContent/dashboards/bam.html              |   88 --
 .../WebContent/dashboards/bps.html              |   51 -
 .../WebContent/dashboards/brs.html              |   22 -
 .../WebContent/dashboards/cep.html              |   82 -
 .../WebContent/dashboards/csg.html              |   11 -
 .../dashboards/css/features-dashboard.css       |   55 -
 .../WebContent/dashboards/dss.html              |   75 -
 .../WebContent/dashboards/esb.html              |   70 -
 .../WebContent/dashboards/greg.html             |   94 --
 .../WebContent/dashboards/gs.html               |   90 --
 .../WebContent/dashboards/images/black.png      |  Bin 7338 -> 0 bytes
 .../dashboards/images/configure_db.png          |  Bin 43279 -> 0 bytes
 .../dashboards/images/tenant_isolation.png      |  Bin 67219 -> 0 bytes
 .../images/usage_metering_and_throttling.jpg    |  Bin 44100 -> 0 bytes
 .../WebContent/dashboards/is.html               |   98 --
 .../WebContent/dashboards/manager.html          |   68 -
 .../WebContent/dashboards/mb.html               |   81 -
 .../WebContent/dashboards/ms.html               |   81 -
 .../WebContent/dashboards/server.jsp            |  151 --
 .../css/features-dashboard-new.css              |  155 --
 .../WebContent/tenant-dashboard/css/ie7.css     |    8 -
 .../tenant-dashboard/images/arrow-blue.png      |  Bin 815 -> 0 bytes
 .../tenant-dashboard/images/arrow-white.png     |  Bin 846 -> 0 bytes
 .../WebContent/tenant-dashboard/images/back.jpg |  Bin 1496 -> 0 bytes
 .../tenant-dashboard/images/boxes.png           |  Bin 645 -> 0 bytes
 .../images/dashboard-back-repeat.png            |  Bin 696 -> 0 bytes
 .../tenant-dashboard/images/workAreaBack.png    |  Bin 760 -> 0 bytes
 .../WebContent/tenant-dashboard/index.html      |  173 ---
 .../WebContent/tenant-dashboard/index.jsp       |  205 ---
 .../tenant-dashboard/js/jquery-1.7.1.min.js     |    4 -
 .../tenant-dashboard/js/jquery.masonry.min.js   |   10 -
 .../js/jquery/jquery-1.5.1.min.js               |   16 -
 .../js/jquery/jquery.ui.core.js                 |    1 -
 .../js/jquery/jquery.ui.core.min.js             |   17 -
 .../js/jquery/jquery.ui.tabs.min.js             |   35 -
 .../js/jquery/jquery.ui.widget.min.js           |   15 -
 .../js/jquery/jquery.validate.js                | 1166 --------------
 .../ui-bg_diagonals-thick_18_b81900_40x40.png   |  Bin 260 -> 0 bytes
 .../ui-bg_diagonals-thick_20_666666_40x40.png   |  Bin 251 -> 0 bytes
 .../images/ui-bg_flat_10_000000_40x100.png      |  Bin 178 -> 0 bytes
 .../images/ui-bg_glass_100_f6f6f6_1x400.png     |  Bin 104 -> 0 bytes
 .../images/ui-bg_glass_100_fdf5ce_1x400.png     |  Bin 125 -> 0 bytes
 .../images/ui-bg_glass_65_ffffff_1x400.png      |  Bin 105 -> 0 bytes
 .../ui-bg_gloss-wave_35_f6a828_500x100.png      |  Bin 3762 -> 0 bytes
 .../ui-bg_highlight-soft_100_eeeeee_1x100.png   |  Bin 90 -> 0 bytes
 .../ui-bg_highlight-soft_75_ffe45c_1x100.png    |  Bin 129 -> 0 bytes
 .../images/ui-icons_222222_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_228ef1_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_ef8c08_256x240.png          |  Bin 5355 -> 0 bytes
 .../images/ui-icons_ffd27a_256x240.png          |  Bin 4369 -> 0 bytes
 .../images/ui-icons_ffffff_256x240.png          |  Bin 4369 -> 0 bytes
 .../ui-lightness/jquery-ui-1.8.14.custom.css    |  568 -------
 .../themes/ui-lightness/jquery.ui.accordion.css |   19 -
 .../themes/ui-lightness/jquery.ui.all.css       |   11 -
 .../ui-lightness/jquery.ui.autocomplete.css     |   53 -
 .../themes/ui-lightness/jquery.ui.base.css      |   11 -
 .../themes/ui-lightness/jquery.ui.button.css    |   38 -
 .../themes/ui-lightness/jquery.ui.core.css      |   41 -
 .../ui-lightness/jquery.ui.datepicker.css       |   68 -
 .../themes/ui-lightness/jquery.ui.dialog.css    |   21 -
 .../ui-lightness/jquery.ui.progressbar.css      |   11 -
 .../themes/ui-lightness/jquery.ui.resizable.css |   20 -
 .../ui-lightness/jquery.ui.selectable.css       |   10 -
 .../themes/ui-lightness/jquery.ui.slider.css    |   24 -
 .../themes/ui-lightness/jquery.ui.tabs.css      |   18 -
 .../themes/ui-lightness/jquery.ui.theme.css     |  249 ---
 .../features-dashboard/features-dashboard.xml   |  762 ----------
 .../1.0.1/modules/features-dashboard/pom.xml    |  139 --
 .../manager/feature/dashbord/ui/beans/Data.java |   43 -
 .../manager/feature/dashbord/ui/beans/Link.java |   23 -
 .../feature/dashbord/ui/beans/Service.java      |   54 -
 .../feature/dashbord/ui/beans/Story.java        |   44 -
 .../feature/dashbord/ui/utils/Utils.java        |  159 --
 .../1.0.1/modules/features/pom.xml              |   46 -
 .../features/service/etc/feature.properties     |  242 ---
 .../service/org.wso2.stratos2.feature/pom.xml   |   83 -
 .../org.wso2.stratos2.server.feature/pom.xml    |  237 ---
 .../org.wso2.stratos2.ui.feature/pom.xml        |  206 ---
 .../1.0.1/modules/features/service/pom.xml      |   49 -
 .../1.0.1/modules/integration/pom.xml           |  146 --
 .../integration/tests/LoginLogoutTestCase.java  |   48 -
 .../tests/SecurityVerificationTestCase.java     |   26 -
 .../tests/StratosManagerTestServerManager.java  |   54 -
 .../integration/tests/TenantMgtTestCase.java    |   91 --
 .../src/test/resources/instrumentation.txt      |    2 -
 .../src/test/resources/keys/wso2carbon.jks      |  Bin 33260 -> 0 bytes
 .../integration/src/test/resources/testng.xml   |   17 -
 .../1.0.1/modules/login/pom.xml                 |  140 --
 .../src/main/resources/META-INF/component.xml   |   20 -
 .../login/src/main/resources/TenantService.wsdl |  576 -------
 .../web/tenant-login/css/loginpage.css          |  268 ----
 .../resources/web/tenant-login/css/tenant.css   |   62 -
 .../docs/images/sign-in-no-domain.png           |  Bin 10682 -> 0 bytes
 .../docs/images/sign-in-with-domain.png         |  Bin 8233 -> 0 bytes
 .../web/tenant-login/docs/userguide.html        |  113 --
 .../domain_rename_checker_ajaxprocessor.jsp     |   46 -
 .../web/tenant-login/images/body-bg.gif         |  Bin 923 -> 0 bytes
 .../web/tenant-login/images/feature-01-icon.gif |  Bin 2825 -> 0 bytes
 .../web/tenant-login/images/feature-02-icon.gif |  Bin 3361 -> 0 bytes
 .../web/tenant-login/images/feature-03-icon.gif |  Bin 3285 -> 0 bytes
 .../tenant-login/images/google-apps-login.gif   |  Bin 4189 -> 0 bytes
 .../web/tenant-login/images/link-icon.gif       |  Bin 118 -> 0 bytes
 .../web/tenant-login/images/login-bg.gif        |  Bin 56670 -> 0 bytes
 .../resources/web/tenant-login/images/logo.gif  |  Bin 17603 -> 0 bytes
 .../tenant-login/images/paas-login-1pix-1.gif   |  Bin 43 -> 0 bytes
 .../web/tenant-login/images/paas-login-1pix.gif |  Bin 43 -> 0 bytes
 .../web/tenant-login/images/powered.gif         |  Bin 1280 -> 0 bytes
 .../tenant-login/images/reg-button-hover.gif    |  Bin 3824 -> 0 bytes
 .../web/tenant-login/images/reg-button.gif      |  Bin 3852 -> 0 bytes
 .../web/tenant-login/images/register.gif        |  Bin 4099 -> 0 bytes
 .../tenant-login/images/st-login-body-bg.gif    |  Bin 2215 -> 0 bytes
 .../tenant-login/images/st-login-content-bg.gif |  Bin 1060 -> 0 bytes
 .../tenant-login/images/st-login-footer-bg.gif  |  Bin 749 -> 0 bytes
 .../tenant-login/images/st-login-header-bg.gif  |  Bin 64503 -> 0 bytes
 .../web/tenant-login/images/t-right-logo.gif    |  Bin 2445 -> 0 bytes
 .../main/resources/web/tenant-login/js/login.js |   27 -
 .../web/tenant-login/login_ajaxprocessor.jsp    |  345 -----
 .../web/tenant-login/terms/policy.html          |   71 -
 .../web/tenant-login/terms/support.html         |   38 -
 .../resources/web/tenant-login/terms/terms.html |   73 -
 .../1.0.1/modules/p2-profile-gen/pom.xml        |  414 -----
 .../1.0.1/modules/styles/pom.xml                |   47 -
 .../1.0.1/modules/styles/product/pom.xml        |   88 --
 .../src/main/resources/META-INF/product.xml     |   27 -
 .../src/main/resources/web/product/about.html   |  130 --
 .../src/main/resources/web/styles/css/main.css  |  155 --
 .../main/resources/web/styles/images/1px.gif    |  Bin 43 -> 0 bytes
 .../styles/images/esb-server-menu-header.gif    |  Bin 176 -> 0 bytes
 .../web/styles/images/leftRightSlider-dark.png  |  Bin 1103 -> 0 bytes
 .../resources/web/styles/images/menu_header.png |  Bin 227 -> 0 bytes
 .../web/styles/images/right-links-bg.gif        |  Bin 1070 -> 0 bytes
 .../web/styles/images/right-logo-bg.gif         |  Bin 3445 -> 0 bytes
 .../resources/web/styles/images/sc-back.png     |  Bin 16781 -> 0 bytes
 .../web/styles/images/sc-header-repeat.png      |  Bin 178 -> 0 bytes
 .../main/resources/web/styles/images/sclogo.png |  Bin 5136 -> 0 bytes
 .../1.0.1/modules/styles/service/pom.xml        |  142 --
 .../src/main/resources/META-INF/product.xml     |   26 -
 .../service/src/main/resources/web/favicon.ico  |  Bin 17542 -> 0 bytes
 .../src/main/resources/web/styles/css/main.css  |  240 ---
 .../resources/web/styles/images/def-body-bg.gif |  Bin 419 -> 0 bytes
 .../web/styles/images/def-header-bg.gif         |  Bin 17875 -> 0 bytes
 .../web/styles/images/def-header-region-bg.gif  |  Bin 22784 -> 0 bytes
 .../main/resources/web/styles/images/logo.gif   |  Bin 1815 -> 0 bytes
 .../resources/web/styles/images/powered.gif     |  Bin 1773 -> 0 bytes
 .../resources/web/styles/images/right-logo.gif  |  Bin 6102 -> 0 bytes
 .../web/styles/images/t-right-logo.gif          |  Bin 3629 -> 0 bytes
 .../stratos2/stratos_controller/1.0.1/pom.xml   |  418 -----
 .../resources/allthemes/Dark/admin/logo.gif     |  Bin 1551 -> 0 bytes
 .../resources/allthemes/Dark/admin/main.css     |  232 ---
 .../allthemes/Dark/admin/powered-stratos.gif    |  Bin 1515 -> 0 bytes
 .../allthemes/Dark/admin/right-logo.gif         |  Bin 2325 -> 0 bytes
 .../allthemes/Dark/admin/theme-header-bg.gif    |  Bin 4245 -> 0 bytes
 .../Dark/admin/theme-header-region-bg.gif       |  Bin 793 -> 0 bytes
 .../allthemes/Dark/admin/theme-menu-header.gif  |  Bin 261 -> 0 bytes
 .../Dark/admin/theme-menu-panel-l-bg.gif        |  Bin 312 -> 0 bytes
 .../Dark/admin/theme-menu-table-bg.gif          |  Bin 5671 -> 0 bytes
 .../Dark/admin/theme-right-links-bg.gif         |  Bin 1005 -> 0 bytes
 .../1.0.1/resources/allthemes/Dark/thumb.png    |  Bin 19546 -> 0 bytes
 .../allthemes/Default/admin/def-body-bg.gif     |  Bin 419 -> 0 bytes
 .../allthemes/Default/admin/def-header-bg.gif   |  Bin 17875 -> 0 bytes
 .../Default/admin/def-header-region-bg.gif      |  Bin 22784 -> 0 bytes
 .../resources/allthemes/Default/admin/logo.gif  |  Bin 1815 -> 0 bytes
 .../resources/allthemes/Default/admin/main.css  |  229 ---
 .../allthemes/Default/admin/powered-stratos.gif |  Bin 1515 -> 0 bytes
 .../allthemes/Default/admin/right-logo.gif      |  Bin 3629 -> 0 bytes
 .../1.0.1/resources/allthemes/Default/thumb.png |  Bin 24432 -> 0 bytes
 .../resources/allthemes/Light/admin/logo.gif    |  Bin 1551 -> 0 bytes
 .../resources/allthemes/Light/admin/main.css    |  229 ---
 .../allthemes/Light/admin/menu_header.gif       |  Bin 243 -> 0 bytes
 .../allthemes/Light/admin/powered-stratos.gif   |  Bin 1515 -> 0 bytes
 .../allthemes/Light/admin/right-links-bg.gif    |  Bin 1191 -> 0 bytes
 .../allthemes/Light/admin/right-logo.gif        |  Bin 2325 -> 0 bytes
 .../allthemes/Light/admin/theme-header-bg.gif   |  Bin 3792 -> 0 bytes
 .../Light/admin/theme-header-region-b-bg.gif    |  Bin 121 -> 0 bytes
 .../Light/admin/theme-header-region-bg.gif      |  Bin 534 -> 0 bytes
 .../Light/admin/theme-menu-panel-l-bg.gif       |  Bin 772 -> 0 bytes
 .../Light/admin/theme-menu-table-bg.gif         |  Bin 5991 -> 0 bytes
 .../1.0.1/resources/allthemes/Light/thumb.png   |  Bin 18102 -> 0 bytes
 .../cloud-services-icons/appserver.gif          |  Bin 2086 -> 0 bytes
 .../resources/cloud-services-icons/bam.gif      |  Bin 1773 -> 0 bytes
 .../resources/cloud-services-icons/bps.gif      |  Bin 1531 -> 0 bytes
 .../resources/cloud-services-icons/brs-old.gif  |  Bin 1772 -> 0 bytes
 .../resources/cloud-services-icons/brs.gif      |  Bin 2170 -> 0 bytes
 .../resources/cloud-services-icons/cep.png      |  Bin 3218 -> 0 bytes
 .../1.0.1/resources/cloud-services-icons/cg.gif |  Bin 2385 -> 0 bytes
 .../cloud-services-icons/csg-inactive.gif       |  Bin 3188 -> 0 bytes
 .../resources/cloud-services-icons/csg.gif      |  Bin 3176 -> 0 bytes
 .../1.0.1/resources/cloud-services-icons/ds.gif |  Bin 2012 -> 0 bytes
 .../resources/cloud-services-icons/esb.gif      |  Bin 1787 -> 0 bytes
 .../resources/cloud-services-icons/gadget.gif   |  Bin 2242 -> 0 bytes
 .../cloud-services-icons/governance.gif         |  Bin 1977 -> 0 bytes
 .../resources/cloud-services-icons/identity.gif |  Bin 1936 -> 0 bytes
 .../cloud-services-icons/inactive-appserver.gif |  Bin 1957 -> 0 bytes
 .../cloud-services-icons/inactive-bam.gif       |  Bin 1647 -> 0 bytes
 .../cloud-services-icons/inactive-brs.gif       |  Bin 1874 -> 0 bytes
 .../cloud-services-icons/inactive-cep.png       |  Bin 2959 -> 0 bytes
 .../cloud-services-icons/inactive-esb.gif       |  Bin 1656 -> 0 bytes
 .../cloud-services-icons/inactive-gadget.gif    |  Bin 2087 -> 0 bytes
 .../inactive-governance.gif                     |  Bin 1850 -> 0 bytes
 .../cloud-services-icons/inactive-identity.gif  |  Bin 1794 -> 0 bytes
 .../cloud-services-icons/inactive-mashup.gif    |  Bin 1772 -> 0 bytes
 .../cloud-services-icons/inactive-mb.png        |  Bin 2746 -> 0 bytes
 .../resources/cloud-services-icons/mashup.gif   |  Bin 1850 -> 0 bytes
 .../1.0.1/resources/cloud-services-icons/mb.png |  Bin 3139 -> 0 bytes
 .../resources/cloud-services-icons/pom.xml      |   71 -
 .../1.0.1/resources/cloud-services-icons/ss.gif |  Bin 2432 -> 0 bytes
 .../1.0.1/resources/cloud-services-icons/ts.gif |  Bin 2475 -> 0 bytes
 .../powerded-by-logos/appserver-logo.gif        |  Bin 1473 -> 0 bytes
 .../resources/powerded-by-logos/bam-logo.gif    |  Bin 1690 -> 0 bytes
 .../resources/powerded-by-logos/bps-logo.gif    |  Bin 1606 -> 0 bytes
 .../resources/powerded-by-logos/brs-logo.gif    |  Bin 1596 -> 0 bytes
 .../resources/powerded-by-logos/csg-logo.gif    |  Bin 2030 -> 0 bytes
 .../resources/powerded-by-logos/ds-logo.gif     |  Bin 1528 -> 0 bytes
 .../resources/powerded-by-logos/esb-logo.gif    |  Bin 1598 -> 0 bytes
 .../resources/powerded-by-logos/gadget-logo.gif |  Bin 1368 -> 0 bytes
 .../powerded-by-logos/governance-logo.gif       |  Bin 1525 -> 0 bytes
 .../powerded-by-logos/identity-logo.gif         |  Bin 1398 -> 0 bytes
 .../resources/powerded-by-logos/mashup-logo.gif |  Bin 1440 -> 0 bytes
 .../billing-script/billing-h2.sql               |  109 ++
 .../billing-script/billing-mysql.sql            |  120 ++
 .../billing-script/metering_h2.sql              |  114 ++
 .../billing-script/metering_mysql.sql           |  149 ++
 .../billing-script/migration.sql                |    7 +
 .../stratos_controller/billing-script/s2_h2.sql |   96 ++
 .../billing-script/wso2_rss.sql                 |   81 +
 products/stratos_controller/conf/README-STRATOS |   90 ++
 products/stratos_controller/conf/axis2.xml      |  525 +++++++
 products/stratos_controller/conf/bam.xml        |   26 +
 .../stratos_controller/conf/billing-config.xml  |   67 +
 .../conf/cipher-text.properties                 |   23 +
 .../conf/cloud-services-desc.xml                |  176 +++
 .../conf/datasources.properties                 |   55 +
 .../conf/email-bill-generated.xml               |   38 +
 .../conf/email-billing-notifications.xml        |   49 +
 .../conf/email-new-tenant-activation.xml        |   46 +
 .../conf/email-new-tenant-registration.xml      |   46 +
 .../conf/email-password-reset.xml               |   42 +
 .../conf/email-payment-received-customer.xml    |   38 +
 .../conf/email-payment-received-wso2.xml        |   38 +
 .../conf/email-registration-complete.xml        |   37 +
 .../conf/email-registration-moderation.xml      |   46 +
 ...l-registration-payment-received-customer.xml |   38 +
 .../conf/email-registration.xml                 |   45 +
 .../stratos_controller/conf/email-update.xml    |   38 +
 .../stratos_controller/conf/embedded-ldap.xml   |  162 ++
 .../stratos_controller/conf/event-broker.xml    |   44 +
 .../conf/features-dashboard.xml                 |  807 ++++++++++
 products/stratos_controller/conf/identity.xml   |  107 ++
 products/stratos_controller/conf/jaas.conf      |   10 +
 .../stratos_controller/conf/loadbalancer.conf   |   29 +
 .../conf/metering-config-non-manager.xml        |  103 ++
 .../conf/multitenancy-billing-rules.drl         |   34 +
 .../stratos_controller/conf/nhttp.properties    |   39 +
 .../conf/passthru-http.properties               |   31 +
 .../stratos_controller/conf/rule-component.conf |    3 +
 .../stratos_controller/conf/samples-desc.xml    |   32 +
 .../stratos_controller/conf/sso-idp-config.xml  |   26 +
 .../conf/status-monitor-config.xml              |   52 +
 .../conf/stratos-datasources.xml                |   50 +
 .../conf/synapse-configs/default/registry.xml   |   25 +
 .../default/sequences/errorHandler.xml          |   30 +
 .../synapse-configs/default/sequences/fault.xml |   75 +
 .../synapse-configs/default/sequences/main.xml  |  109 ++
 .../conf/synapse-configs/default/synapse.xml    |   24 +
 .../stratos_controller/conf/synapse.properties  |   35 +
 .../conf/tenant-reg-agent.xml                   |   24 +
 .../conf/throttling-rules.drl                   |  251 +++
 products/stratos_controller/conf/user-mgt.xml   |  238 +++
 products/stratos_controller/conf/zoo.cfg        |    4 +
 .../modules/cloud-service-mgt/pom.xml           |   98 ++
 .../services/mgt/beans/CloudService.java        |   85 ++
 .../CloudServiceMgtServiceComponent.java        |   74 +
 .../mgt/services/CloudManagerService.java       |  122 ++
 .../manager/services/mgt/util/Constants.java    |   29 +
 .../stratos/manager/services/mgt/util/Util.java |  264 ++++
 .../src/main/resources/META-INF/component.xml   |   32 +
 .../src/main/resources/META-INF/services.xml    |   43 +
 .../modules/dashboard/pom.xml                   |  155 ++
 .../ui/clients/CloudManagerServiceClient.java   |  124 ++
 .../manager/dashboard/ui/utils/Util.java        |   48 +
 .../src/main/resources/CloudManagerService.wsdl |  312 ++++
 .../src/main/resources/META-INF/component.xml   |   36 +
 .../dashboard/ui/i18n/JSResources.properties    |    3 +
 .../dashboard/ui/i18n/Resources.properties      |    3 +
 .../cloud_services_configuration.jsp            |  203 +++
 .../cloud_services_save_ajaxprocessor.jsp       |   34 +
 .../web/tenant-dashboard/css/dashboard.css      |  231 +++
 .../tenant-dashboard/docs/images/dashboard.png  |  Bin 0 -> 139674 bytes
 .../tenant-dashboard/docs/userguide-old.html    |  101 ++
 .../web/tenant-dashboard/docs/userguide.html    |   37 +
 .../images/WSO2-Cloud-Gateway-logo.gif          |  Bin 0 -> 2506 bytes
 .../images/WSO2-Storage-Server-logo.gif         |  Bin 0 -> 2490 bytes
 .../WSO2-Stratos-Application-Server-logo.gif    |  Bin 0 -> 1473 bytes
 ...2-Stratos-Business-Activity-Monitor-logo.gif |  Bin 0 -> 1690 bytes
 ...SO2-Stratos-Business-Process-Server-logo.gif |  Bin 0 -> 1606 bytes
 .../WSO2-Stratos-Business-Rules-Server-logo.gif |  Bin 0 -> 1596 bytes
 ...WSO2-Stratos-Cloud-Services-Gateway-logo.gif |  Bin 0 -> 2030 bytes
 ...tos-Complex-Event-Processing-Server-logo.gif |  Bin 0 -> 1998 bytes
 .../WSO2-Stratos-Data-Services-Server-logo.gif  |  Bin 0 -> 1528 bytes
 ...WSO2-Stratos-Enterprise-Service-Bus-logo.gif |  Bin 0 -> 1598 bytes
 .../images/WSO2-Stratos-Gadget-Server-logo.gif  |  Bin 0 -> 1368 bytes
 .../images/WSO2-Stratos-Governance-logo.gif     |  Bin 0 -> 1525 bytes
 .../images/WSO2-Stratos-Identity-logo.gif       |  Bin 0 -> 1398 bytes
 .../images/WSO2-Stratos-Mashup-Server-logo.gif  |  Bin 0 -> 1440 bytes
 .../images/WSO2-Stratos-Message-Broker-logo.gif |  Bin 0 -> 1603 bytes
 .../images/WSO2-Tasks-Server-logo.gif           |  Bin 0 -> 2350 bytes
 .../web/tenant-dashboard/images/aas-top.gif     |  Bin 0 -> 4659 bytes
 .../tenant-dashboard/images/activate-button.gif |  Bin 0 -> 2601 bytes
 .../tenant-dashboard/images/appserver-logo.gif  |  Bin 0 -> 1473 bytes
 .../web/tenant-dashboard/images/bam-logo.gif    |  Bin 0 -> 1690 bytes
 .../web/tenant-dashboard/images/bps-logo.gif    |  Bin 0 -> 1606 bytes
 .../web/tenant-dashboard/images/brs-logo.gif    |  Bin 0 -> 1596 bytes
 .../web/tenant-dashboard/images/cep_logo.gif    |  Bin 0 -> 1998 bytes
 .../web/tenant-dashboard/images/csg-logo.gif    |  Bin 0 -> 2030 bytes
 .../images/deactivate-button.gif                |  Bin 0 -> 2448 bytes
 .../web/tenant-dashboard/images/ds-logo.gif     |  Bin 0 -> 1528 bytes
 .../web/tenant-dashboard/images/esb-logo.gif    |  Bin 0 -> 1598 bytes
 .../web/tenant-dashboard/images/gadget-logo.gif |  Bin 0 -> 1368 bytes
 .../web/tenant-dashboard/images/go-button.gif   |  Bin 0 -> 2165 bytes
 .../tenant-dashboard/images/governance-logo.gif |  Bin 0 -> 1525 bytes
 .../tenant-dashboard/images/identity-logo.gif   |  Bin 0 -> 1398 bytes
 .../images/inactive-go-button.gif               |  Bin 0 -> 2135 bytes
 .../web/tenant-dashboard/images/mashup-logo.gif |  Bin 0 -> 1440 bytes
 .../web/tenant-dashboard/images/mb_logo.gif     |  Bin 0 -> 1603 bytes
 .../images/service-configuration.gif            |  Bin 0 -> 389 bytes
 .../resources/web/tenant-dashboard/index.jsp    |  243 +++
 .../web/tenant-dashboard/js/configurations.js   |  381 +++++
 .../web/tenant-dashboard/js/dashboard.js        |   12 +
 .../modules/distribution/INSTALL.txt            |   61 +
 .../modules/distribution/LICENSE.txt            |  488 ++++++
 .../modules/distribution/README.txt             |   69 +
 .../modules/distribution/lib/home/faq.html      |  392 +++++
 .../distribution/lib/home/images/bottom.gif     |  Bin 0 -> 523 bytes
 .../distribution/lib/home/images/bullet-01.gif  |  Bin 0 -> 159 bytes
 .../distribution/lib/home/images/content-bg.gif |  Bin 0 -> 233 bytes
 .../distribution/lib/home/images/favicon.ico    |  Bin 0 -> 17542 bytes
 .../lib/home/images/feature-01-icon.gif         |  Bin 0 -> 2825 bytes
 .../lib/home/images/feature-02-icon.gif         |  Bin 0 -> 3361 bytes
 .../lib/home/images/feature-03-icon.gif         |  Bin 0 -> 3285 bytes
 .../lib/home/images/feature-middle-bg.gif       |  Bin 0 -> 1139 bytes
 .../distribution/lib/home/images/intro-bg.gif   |  Bin 0 -> 3964 bytes
 .../distribution/lib/home/images/intro-text.gif |  Bin 0 -> 4082 bytes
 .../distribution/lib/home/images/left-bg.gif    |  Bin 0 -> 1135 bytes
 .../distribution/lib/home/images/logo.gif       |  Bin 0 -> 11127 bytes
 .../lib/home/images/powered-logo.gif            |  Bin 0 -> 1280 bytes
 .../distribution/lib/home/images/register.gif   |  Bin 0 -> 6946 bytes
 .../distribution/lib/home/images/sign-in.gif    |  Bin 0 -> 3150 bytes
 .../lib/home/images/stratos-products-new.jpg    |  Bin 0 -> 25720 bytes
 .../distribution/lib/home/images/title-bg.gif   |  Bin 0 -> 1182 bytes
 .../distribution/lib/home/images/top.gif        |  Bin 0 -> 16149 bytes
 .../distribution/lib/home/images/webinar.png    |  Bin 0 -> 12318 bytes
 .../lib/home/images/white-paper.png             |  Bin 0 -> 15148 bytes
 .../modules/distribution/lib/home/index.html    |  119 ++
 .../lib/home/js/jquery-1.5.1.min.js             |   16 +
 .../lib/home/js/jquery.orbit-1.2.3.min.js       |   17 +
 .../distribution/lib/home/js/orbit-1.2.3.css    |  202 +++
 .../lib/home/js/orbit/left-arrow.png            |  Bin 0 -> 860 bytes
 .../distribution/lib/home/js/orbit/loading.gif  |  Bin 0 -> 2608 bytes
 .../lib/home/js/orbit/mask-black.png            |  Bin 0 -> 705 bytes
 .../lib/home/js/orbit/right-arrow.png           |  Bin 0 -> 825 bytes
 .../lib/home/js/orbit/rotator-black.png         |  Bin 0 -> 733 bytes
 .../lib/home/js/orbit/timer-black.png           |  Bin 0 -> 705 bytes
 .../modules/distribution/lib/home/style.css     |  160 ++
 .../modules/distribution/pom.xml                |  773 ++++++++++
 .../distribution/qpid-resources/etc/config.xml  |  103 ++
 .../qpid-resources/etc/jmxremote.access         |   23 +
 .../qpid-resources/etc/virtualhosts.xml         |   64 +
 .../distribution/qpid-resources/qpid.xml        |   22 +
 .../modules/distribution/release-notes.html     |  132 ++
 .../modules/distribution/src/assembly/bin.xml   |  570 +++++++
 .../modules/distribution/src/assembly/dist.xml  |   44 +
 .../distribution/src/assembly/filter.properties |    7 +
 .../distribution/src/bin/add_entry_zone_file.sh |   50 +
 .../src/bin/git-folder-structure.sh             |   47 +
 .../distribution/src/bin/manage-git-repo.sh     |  118 ++
 .../src/bin/remove_entry_zone_file.sh           |   55 +
 .../distribution/src/bin/set-mysql-password.sh  |   45 +
 .../distribution/src/bin/update-instance.sh     |   34 +
 .../modules/distribution/src/bin/wso2server.bat |  170 +++
 .../modules/distribution/src/bin/wso2server.sh  |  298 ++++
 .../site/xdoc/admin/css/carbonFormStyles.css    |  265 ++++
 .../src/site/xdoc/admin/css/documentation.css   |   74 +
 .../src/site/xdoc/admin/css/global.css          | 1436 ++++++++++++++++++
 .../images/ui-bg_flat_0_aaaaaa_40x100.png       |  Bin 0 -> 180 bytes
 .../images/ui-bg_flat_75_ffffff_40x100.png      |  Bin 0 -> 178 bytes
 .../images/ui-bg_glass_55_fbf9ee_1x400.png      |  Bin 0 -> 120 bytes
 .../images/ui-bg_glass_65_ffffff_1x400.png      |  Bin 0 -> 105 bytes
 .../images/ui-bg_glass_75_dadada_1x400.png      |  Bin 0 -> 111 bytes
 .../images/ui-bg_glass_75_e6e6e6_1x400.png      |  Bin 0 -> 110 bytes
 .../images/ui-bg_glass_95_fef1ec_1x400.png      |  Bin 0 -> 119 bytes
 .../ui-bg_highlight-soft_75_cccccc_1x100.png    |  Bin 0 -> 101 bytes
 .../images/ui-icons_222222_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_2e83ff_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_454545_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_888888_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_cd0a0a_256x240.png          |  Bin 0 -> 4369 bytes
 .../css/smoothness/jquery-ui-1.8.11.custom.css  |  573 +++++++
 .../src/site/xdoc/admin/docs/userguide.xml      |  232 +++
 .../src/site/xdoc/admin/images/1px.gif          |  Bin 0 -> 43 bytes
 .../site/xdoc/admin/images/add-collection.gif   |  Bin 0 -> 628 bytes
 .../src/site/xdoc/admin/images/add-link.gif     |  Bin 0 -> 1027 bytes
 .../src/site/xdoc/admin/images/add-resource.gif |  Bin 0 -> 616 bytes
 .../site/xdoc/admin/images/add-small-icon.gif   |  Bin 0 -> 938 bytes
 .../src/site/xdoc/admin/images/add.gif          |  Bin 0 -> 407 bytes
 .../src/site/xdoc/admin/images/addNewTab.gif    |  Bin 0 -> 219 bytes
 .../src/site/xdoc/admin/images/am_logo_h23.gif  |  Bin 0 -> 1536 bytes
 .../site/xdoc/admin/images/application_edit.gif |  Bin 0 -> 1047 bytes
 .../xdoc/admin/images/appserver_logo_h23.gif    |  Bin 0 -> 1574 bytes
 .../src/site/xdoc/admin/images/arrow-down.png   |  Bin 0 -> 284 bytes
 .../src/site/xdoc/admin/images/arrow-up.png     |  Bin 0 -> 319 bytes
 .../src/site/xdoc/admin/images/atom.gif         |  Bin 0 -> 204 bytes
 .../site/xdoc/admin/images/axis2-powered.gif    |  Bin 0 -> 1813 bytes
 .../src/site/xdoc/admin/images/bam_logo_h23.gif |  Bin 0 -> 1808 bytes
 .../src/site/xdoc/admin/images/basket_put.gif   |  Bin 0 -> 599 bytes
 .../site/xdoc/admin/images/basket_remove.gif    |  Bin 0 -> 599 bytes
 .../src/site/xdoc/admin/images/book_add.gif     |  Bin 0 -> 1086 bytes
 .../src/site/xdoc/admin/images/bps_logo_h23.gif |  Bin 0 -> 1725 bytes
 .../src/site/xdoc/admin/images/brick_edit.gif   |  Bin 0 -> 649 bytes
 .../src/site/xdoc/admin/images/brs_logo_h23.gif |  Bin 0 -> 2864 bytes
 .../site/xdoc/admin/images/button-bg-focus.gif  |  Bin 0 -> 111 bytes
 .../site/xdoc/admin/images/button-bg-hover.gif  |  Bin 0 -> 243 bytes
 .../src/site/xdoc/admin/images/button-bg.gif    |  Bin 0 -> 243 bytes
 .../src/site/xdoc/admin/images/buttonRow-bg.gif |  Bin 0 -> 130 bytes
 .../src/site/xdoc/admin/images/calculator.gif   |  Bin 0 -> 623 bytes
 .../src/site/xdoc/admin/images/calendar.gif     |  Bin 0 -> 610 bytes
 .../src/site/xdoc/admin/images/cancel.gif       |  Bin 0 -> 411 bytes
 .../src/site/xdoc/admin/images/cep_logo_h23.gif |  Bin 0 -> 1998 bytes
 .../src/site/xdoc/admin/images/cloneTab.gif     |  Bin 0 -> 170 bytes
 .../xdoc/admin/images/control_play_blue.gif     |  Bin 0 -> 632 bytes
 .../src/site/xdoc/admin/images/copy.gif         |  Bin 0 -> 1036 bytes
 .../xdoc/admin/images/create-checkpoint.gif     |  Bin 0 -> 384 bytes
 .../xdoc/admin/images/default-menu-icon.gif     |  Bin 0 -> 86 bytes
 .../src/site/xdoc/admin/images/delete.gif       |  Bin 0 -> 555 bytes
 .../src/site/xdoc/admin/images/down-arrow.gif   |  Bin 0 -> 610 bytes
 .../src/site/xdoc/admin/images/down-arrow.png   |  Bin 0 -> 791 bytes
 .../src/site/xdoc/admin/images/ds_logo_h23.gif  |  Bin 0 -> 1686 bytes
 .../src/site/xdoc/admin/images/edit.gif         |  Bin 0 -> 1041 bytes
 .../src/site/xdoc/admin/images/elb_logo_h23.gif |  Bin 0 -> 1710 bytes
 .../src/site/xdoc/admin/images/esb_logo_h23.gif |  Bin 0 -> 1714 bytes
 .../src/site/xdoc/admin/images/excelicon.gif    |  Bin 0 -> 1080 bytes
 .../src/site/xdoc/admin/images/exlink.gif       |  Bin 0 -> 292 bytes
 .../src/site/xdoc/admin/images/favicon.ico      |  Bin 0 -> 17542 bytes
 .../src/site/xdoc/admin/images/forum.gif        |  Bin 0 -> 1977 bytes
 .../xdoc/admin/images/gadgetserver_logo_h23.gif |  Bin 0 -> 1556 bytes
 .../src/site/xdoc/admin/images/header-bg.gif    |  Bin 0 -> 495 bytes
 .../src/site/xdoc/admin/images/header-logo.gif  |  Bin 0 -> 1506 bytes
 .../site/xdoc/admin/images/header-region-bg.gif |  Bin 0 -> 369 bytes
 .../src/site/xdoc/admin/images/help-bg.gif      |  Bin 0 -> 465 bytes
 .../src/site/xdoc/admin/images/help-footer.gif  |  Bin 0 -> 1708 bytes
 .../src/site/xdoc/admin/images/help-header.gif  |  Bin 0 -> 9996 bytes
 .../site/xdoc/admin/images/help-small-icon.png  |  Bin 0 -> 631 bytes
 .../src/site/xdoc/admin/images/help.gif         |  Bin 0 -> 411 bytes
 .../src/site/xdoc/admin/images/home-bg.gif      |  Bin 0 -> 145 bytes
 .../src/site/xdoc/admin/images/htmlicon.gif     |  Bin 0 -> 1017 bytes
 .../xdoc/admin/images/icon-feed-small-res.gif   |  Bin 0 -> 1022 bytes
 .../xdoc/admin/images/identity_logo_h23.gif     |  Bin 0 -> 1499 bytes
 .../src/site/xdoc/admin/images/information.gif  |  Bin 0 -> 1025 bytes
 .../src/site/xdoc/admin/images/invisible.gif    |  Bin 0 -> 51 bytes
 .../site/xdoc/admin/images/issue-tracker.gif    |  Bin 0 -> 1821 bytes
 .../xdoc/admin/images/leftRightSlider-dark.png  |  Bin 0 -> 1421 bytes
 .../site/xdoc/admin/images/leftRightSlider.png  |  Bin 0 -> 448 bytes
 .../site/xdoc/admin/images/loading-small.gif    |  Bin 0 -> 673 bytes
 .../src/site/xdoc/admin/images/loading.gif      |  Bin 0 -> 14367 bytes
 .../src/site/xdoc/admin/images/mailing-list.gif |  Bin 0 -> 2064 bytes
 .../src/site/xdoc/admin/images/mainIcons.png    |  Bin 0 -> 1891 bytes
 .../site/xdoc/admin/images/mashup_logo_h23.gif  |  Bin 0 -> 1508 bytes
 .../src/site/xdoc/admin/images/mb_logo_h23.gif  |  Bin 0 -> 1603 bytes
 .../src/site/xdoc/admin/images/menu-header.gif  |  Bin 0 -> 237 bytes
 .../src/site/xdoc/admin/images/mgt-logo.gif     |  Bin 0 -> 2095 bytes
 .../src/site/xdoc/admin/images/minus-plus.png   |  Bin 0 -> 1113 bytes
 .../src/site/xdoc/admin/images/move.gif         |  Bin 0 -> 166 bytes
 .../site/xdoc/admin/images/nseditor-icon.gif    |  Bin 0 -> 1065 bytes
 .../src/site/xdoc/admin/images/oops.gif         |  Bin 0 -> 678 bytes
 .../src/site/xdoc/admin/images/overlay.png      |  Bin 0 -> 289 bytes
 .../src/site/xdoc/admin/images/panelImage.png   |  Bin 0 -> 144 bytes
 .../src/site/xdoc/admin/images/pdficon.gif      |  Bin 0 -> 361 bytes
 .../src/site/xdoc/admin/images/plugin_add.gif   |  Bin 0 -> 1030 bytes
 .../site/xdoc/admin/images/plugin_delete.gif    |  Bin 0 -> 1031 bytes
 .../src/site/xdoc/admin/images/policies.gif     |  Bin 0 -> 387 bytes
 .../xdoc/admin/images/registry_logo_h23.gif     |  Bin 0 -> 1657 bytes
 .../site/xdoc/admin/images/registry_picker.gif  |  Bin 0 -> 1053 bytes
 .../src/site/xdoc/admin/images/rss.gif          |  Bin 0 -> 207 bytes
 .../src/site/xdoc/admin/images/spacer.gif       |  Bin 0 -> 43 bytes
 .../src/site/xdoc/admin/images/star.gif         |  Bin 0 -> 588 bytes
 .../xdoc/admin/images/static-icon-disabled.gif  |  Bin 0 -> 935 bytes
 .../src/site/xdoc/admin/images/static-icon.gif  |  Bin 0 -> 935 bytes
 .../src/site/xdoc/admin/images/table-header.gif |  Bin 0 -> 873 bytes
 .../xdoc/admin/images/trace-icon-disabled.gif   |  Bin 0 -> 950 bytes
 .../src/site/xdoc/admin/images/trace-icon.gif   |  Bin 0 -> 961 bytes
 .../src/site/xdoc/admin/images/up-arrow.gif     |  Bin 0 -> 615 bytes
 .../src/site/xdoc/admin/images/up-arrow.png     |  Bin 0 -> 822 bytes
 .../src/site/xdoc/admin/images/user-guide.gif   |  Bin 0 -> 2161 bytes
 .../src/site/xdoc/admin/images/user.gif         |  Bin 0 -> 604 bytes
 .../site/xdoc/admin/images/view-disabled.gif    |  Bin 0 -> 998 bytes
 .../src/site/xdoc/admin/images/view.gif         |  Bin 0 -> 596 bytes
 .../src/site/xdoc/admin/images/zoom_in.gif      |  Bin 0 -> 575 bytes
 .../src/site/xdoc/admin/images/zoom_out.gif     |  Bin 0 -> 563 bytes
 .../src/site/xdoc/codepress/codepress.css       |   21 +
 .../src/site/xdoc/codepress/codepress.xml       |   51 +
 .../site/xdoc/codepress/images/line-numbers.png |  Bin 0 -> 16556 bytes
 .../src/site/xdoc/codepress/languages/asp.css   |   71 +
 .../site/xdoc/codepress/languages/autoit.css    |   13 +
 .../site/xdoc/codepress/languages/csharp.css    |    9 +
 .../src/site/xdoc/codepress/languages/css.css   |   10 +
 .../site/xdoc/codepress/languages/generic.css   |    9 +
 .../src/site/xdoc/codepress/languages/html.css  |   13 +
 .../src/site/xdoc/codepress/languages/java.css  |    7 +
 .../xdoc/codepress/languages/javascript.css     |    8 +
 .../src/site/xdoc/codepress/languages/perl.css  |   11 +
 .../src/site/xdoc/codepress/languages/php.css   |   12 +
 .../src/site/xdoc/codepress/languages/ruby.css  |   10 +
 .../src/site/xdoc/codepress/languages/sql.css   |   10 +
 .../src/site/xdoc/codepress/languages/text.css  |    5 +
 .../site/xdoc/codepress/languages/vbscript.css  |   71 +
 .../src/site/xdoc/codepress/languages/xsl.css   |   15 +
 .../src/site/xdoc/codepress/license.txt         |  458 ++++++
 .../src/site/xdoc/dialog/css/dialog-ie8.css     |    4 +
 .../src/site/xdoc/dialog/css/dialog.css         |  129 ++
 .../jqueryui/images/222222_11x11_icon_close.gif |  Bin 0 -> 62 bytes
 .../images/222222_11x11_icon_resize_se.gif      |  Bin 0 -> 61 bytes
 .../jqueryui/images/222222_7x7_arrow_left.gif   |  Bin 0 -> 53 bytes
 .../jqueryui/images/222222_7x7_arrow_right.gif  |  Bin 0 -> 53 bytes
 .../jqueryui/images/454545_11x11_icon_close.gif |  Bin 0 -> 62 bytes
 .../jqueryui/images/454545_7x7_arrow_left.gif   |  Bin 0 -> 53 bytes
 .../jqueryui/images/454545_7x7_arrow_right.gif  |  Bin 0 -> 53 bytes
 .../jqueryui/images/888888_11x11_icon_close.gif |  Bin 0 -> 62 bytes
 .../jqueryui/images/888888_7x7_arrow_left.gif   |  Bin 0 -> 53 bytes
 .../jqueryui/images/888888_7x7_arrow_right.gif  |  Bin 0 -> 53 bytes
 .../dadada_40x100_textures_02_glass_75.png      |  Bin 0 -> 214 bytes
 .../e6e6e6_40x100_textures_02_glass_75.png      |  Bin 0 -> 211 bytes
 .../images/ffffff_40x100_textures_01_flat_0.png |  Bin 0 -> 178 bytes
 .../ffffff_40x100_textures_02_glass_65.png      |  Bin 0 -> 207 bytes
 .../css/jqueryui/jqueryui-themeroller.css       |  856 +++++++++++
 .../src/site/xdoc/dialog/img/confirm.gif        |  Bin 0 -> 2324 bytes
 .../src/site/xdoc/dialog/img/error.gif          |  Bin 0 -> 2258 bytes
 .../src/site/xdoc/dialog/img/info.gif           |  Bin 0 -> 2349 bytes
 .../src/site/xdoc/dialog/img/overlay.png        |  Bin 0 -> 144 bytes
 .../src/site/xdoc/dialog/img/warning.gif        |  Bin 0 -> 2345 bytes
 .../222222_11x11_icon_arrows_leftright.gif      |  Bin 0 -> 58 bytes
 .../images/222222_11x11_icon_arrows_updown.gif  |  Bin 0 -> 56 bytes
 .../tabs/images/222222_11x11_icon_doc.gif       |  Bin 0 -> 64 bytes
 .../tabs/images/222222_11x11_icon_minus.gif     |  Bin 0 -> 56 bytes
 .../tabs/images/222222_11x11_icon_plus.gif      |  Bin 0 -> 61 bytes
 .../tabs/images/222222_11x11_icon_resize_se.gif |  Bin 0 -> 61 bytes
 .../tabs/images/222222_7x7_arrow_down.gif       |  Bin 0 -> 52 bytes
 .../tabs/images/222222_7x7_arrow_left.gif       |  Bin 0 -> 53 bytes
 .../tabs/images/222222_7x7_arrow_right.gif      |  Bin 0 -> 53 bytes
 .../tabs/images/222222_7x7_arrow_up.gif         |  Bin 0 -> 52 bytes
 .../454545_11x11_icon_arrows_leftright.gif      |  Bin 0 -> 58 bytes
 .../images/454545_11x11_icon_arrows_updown.gif  |  Bin 0 -> 56 bytes
 .../tabs/images/454545_11x11_icon_close.gif     |  Bin 0 -> 62 bytes
 .../tabs/images/454545_11x11_icon_doc.gif       |  Bin 0 -> 64 bytes
 .../images/454545_11x11_icon_folder_closed.gif  |  Bin 0 -> 61 bytes
 .../images/454545_11x11_icon_folder_open.gif    |  Bin 0 -> 61 bytes
 .../tabs/images/454545_11x11_icon_minus.gif     |  Bin 0 -> 56 bytes
 .../tabs/images/454545_11x11_icon_plus.gif      |  Bin 0 -> 61 bytes
 .../tabs/images/454545_7x7_arrow_down.gif       |  Bin 0 -> 52 bytes
 .../tabs/images/454545_7x7_arrow_left.gif       |  Bin 0 -> 53 bytes
 .../tabs/images/454545_7x7_arrow_right.gif      |  Bin 0 -> 53 bytes
 .../tabs/images/454545_7x7_arrow_up.gif         |  Bin 0 -> 52 bytes
 .../888888_11x11_icon_arrows_leftright.gif      |  Bin 0 -> 58 bytes
 .../images/888888_11x11_icon_arrows_updown.gif  |  Bin 0 -> 56 bytes
 .../tabs/images/888888_11x11_icon_close.gif     |  Bin 0 -> 62 bytes
 .../tabs/images/888888_11x11_icon_doc.gif       |  Bin 0 -> 64 bytes
 .../images/888888_11x11_icon_folder_closed.gif  |  Bin 0 -> 61 bytes
 .../images/888888_11x11_icon_folder_open.gif    |  Bin 0 -> 61 bytes
 .../tabs/images/888888_11x11_icon_minus.gif     |  Bin 0 -> 56 bytes
 .../tabs/images/888888_11x11_icon_plus.gif      |  Bin 0 -> 61 bytes
 .../tabs/images/888888_7x7_arrow_down.gif       |  Bin 0 -> 52 bytes
 .../tabs/images/888888_7x7_arrow_left.gif       |  Bin 0 -> 53 bytes
 .../tabs/images/888888_7x7_arrow_right.gif      |  Bin 0 -> 53 bytes
 .../tabs/images/888888_7x7_arrow_up.gif         |  Bin 0 -> 52 bytes
 .../dadada_40x100_textures_02_glass_75.png      |  Bin 0 -> 214 bytes
 .../e6e6e6_40x100_textures_02_glass_75.png      |  Bin 0 -> 211 bytes
 .../ffffff_40x100_textures_01_flat_75.png       |  Bin 0 -> 178 bytes
 .../ffffff_40x100_textures_02_glass_65.png      |  Bin 0 -> 207 bytes
 .../xdoc/dialog/js/jqueryui/tabs/ui.all.css     |  609 ++++++++
 .../distribution/src/site/xdoc/docs/about.xml   |  125 ++
 .../src/site/xdoc/docs/images/login.png         |  Bin 0 -> 5995 bytes
 .../src/site/xdoc/docs/signin_userguide.xml     |   70 +
 .../src/site/xdoc/editarea/edit_area.css        |  530 +++++++
 .../site/xdoc/editarea/edit_area_compressor.php |  428 ++++++
 .../src/site/xdoc/editarea/edit_area_full.gz    |  Bin 0 -> 30126 bytes
 .../xdoc/editarea/images/autocompletion.gif     |  Bin 0 -> 359 bytes
 .../src/site/xdoc/editarea/images/close.gif     |  Bin 0 -> 102 bytes
 .../site/xdoc/editarea/images/fullscreen.gif    |  Bin 0 -> 198 bytes
 .../site/xdoc/editarea/images/go_to_line.gif    |  Bin 0 -> 1053 bytes
 .../src/site/xdoc/editarea/images/help.gif      |  Bin 0 -> 295 bytes
 .../src/site/xdoc/editarea/images/highlight.gif |  Bin 0 -> 256 bytes
 .../src/site/xdoc/editarea/images/load.gif      |  Bin 0 -> 1041 bytes
 .../src/site/xdoc/editarea/images/move.gif      |  Bin 0 -> 257 bytes
 .../site/xdoc/editarea/images/newdocument.gif   |  Bin 0 -> 170 bytes
 .../src/site/xdoc/editarea/images/opacity.png   |  Bin 0 -> 147 bytes
 .../site/xdoc/editarea/images/processing.gif    |  Bin 0 -> 825 bytes
 .../src/site/xdoc/editarea/images/redo.gif      |  Bin 0 -> 169 bytes
 .../xdoc/editarea/images/reset_highlight.gif    |  Bin 0 -> 168 bytes
 .../src/site/xdoc/editarea/images/save.gif      |  Bin 0 -> 285 bytes
 .../src/site/xdoc/editarea/images/search.gif    |  Bin 0 -> 191 bytes
 .../xdoc/editarea/images/smooth_selection.gif   |  Bin 0 -> 174 bytes
 .../src/site/xdoc/editarea/images/spacer.gif    |  Bin 0 -> 43 bytes
 .../xdoc/editarea/images/statusbar_resize.gif   |  Bin 0 -> 79 bytes
 .../src/site/xdoc/editarea/images/undo.gif      |  Bin 0 -> 175 bytes
 .../src/site/xdoc/editarea/images/word_wrap.gif |  Bin 0 -> 951 bytes
 .../src/site/xdoc/editarea/license_apache.txt   |    7 +
 .../src/site/xdoc/editarea/license_bsd.txt      |   10 +
 .../src/site/xdoc/editarea/license_lgpl.txt     |  458 ++++++
 .../editarea/plugins/charmap/css/charmap.css    |   64 +
 .../editarea/plugins/charmap/images/charmap.gif |  Bin 0 -> 245 bytes
 .../xdoc/editarea/plugins/charmap/popup.xml     |   24 +
 .../xdoc/editarea/plugins/test/css/test.css     |    3 +
 .../xdoc/editarea/plugins/test/images/Thumbs.db |  Bin 0 -> 3584 bytes
 .../xdoc/editarea/plugins/test/images/test.gif  |  Bin 0 -> 87 bytes
 .../src/site/xdoc/editarea/template.xml         |  100 ++
 .../222222_11x11_icon_arrows_leftright.gif      |  Bin 0 -> 58 bytes
 .../images/222222_11x11_icon_arrows_updown.gif  |  Bin 0 -> 56 bytes
 .../css/images/222222_11x11_icon_doc.gif        |  Bin 0 -> 64 bytes
 .../css/images/222222_11x11_icon_minus.gif      |  Bin 0 -> 56 bytes
 .../css/images/222222_11x11_icon_plus.gif       |  Bin 0 -> 61 bytes
 .../css/images/222222_11x11_icon_resize_se.gif  |  Bin 0 -> 61 bytes
 .../css/images/222222_7x7_arrow_down.gif        |  Bin 0 -> 52 bytes
 .../css/images/222222_7x7_arrow_left.gif        |  Bin 0 -> 53 bytes
 .../css/images/222222_7x7_arrow_right.gif       |  Bin 0 -> 53 bytes
 .../css/images/222222_7x7_arrow_up.gif          |  Bin 0 -> 52 bytes
 .../454545_11x11_icon_arrows_leftright.gif      |  Bin 0 -> 58 bytes
 .../images/454545_11x11_icon_arrows_updown.gif  |  Bin 0 -> 56 bytes
 .../css/images/454545_11x11_icon_close.gif      |  Bin 0 -> 62 bytes
 .../css/images/454545_11x11_icon_doc.gif        |  Bin 0 -> 64 bytes
 .../images/454545_11x11_icon_folder_closed.gif  |  Bin 0 -> 61 bytes
 .../images/454545_11x11_icon_folder_open.gif    |  Bin 0 -> 61 bytes
 .../css/images/454545_11x11_icon_minus.gif      |  Bin 0 -> 56 bytes
 .../css/images/454545_11x11_icon_plus.gif       |  Bin 0 -> 61 bytes
 .../css/images/454545_7x7_arrow_down.gif        |  Bin 0 -> 52 bytes
 .../css/images/454545_7x7_arrow_left.gif        |  Bin 0 -> 53 bytes
 .../css/images/454545_7x7_arrow_right.gif       |  Bin 0 -> 53 bytes
 .../css/images/454545_7x7_arrow_up.gif          |  Bin 0 -> 52 bytes
 .../888888_11x11_icon_arrows_leftright.gif      |  Bin 0 -> 58 bytes
 .../images/888888_11x11_icon_arrows_updown.gif  |  Bin 0 -> 56 bytes
 .../css/images/888888_11x11_icon_close.gif      |  Bin 0 -> 62 bytes
 .../css/images/888888_11x11_icon_doc.gif        |  Bin 0 -> 64 bytes
 .../images/888888_11x11_icon_folder_closed.gif  |  Bin 0 -> 61 bytes
 .../images/888888_11x11_icon_folder_open.gif    |  Bin 0 -> 61 bytes
 .../css/images/888888_11x11_icon_minus.gif      |  Bin 0 -> 56 bytes
 .../css/images/888888_11x11_icon_plus.gif       |  Bin 0 -> 61 bytes
 .../css/images/888888_7x7_arrow_down.gif        |  Bin 0 -> 52 bytes
 .../css/images/888888_7x7_arrow_left.gif        |  Bin 0 -> 53 bytes
 .../css/images/888888_7x7_arrow_right.gif       |  Bin 0 -> 53 bytes
 .../css/images/888888_7x7_arrow_up.gif          |  Bin 0 -> 52 bytes
 .../feature-mgt/css/images/buttonRow-bg.gif     |  Bin 0 -> 130 bytes
 .../dadada_40x100_textures_02_glass_75.png      |  Bin 0 -> 214 bytes
 .../e6e6e6_40x100_textures_02_glass_75.png      |  Bin 0 -> 211 bytes
 .../ffffff_40x100_textures_01_flat_75.png       |  Bin 0 -> 178 bytes
 .../ffffff_40x100_textures_02_glass_65.png      |  Bin 0 -> 207 bytes
 .../src/site/xdoc/feature-mgt/css/ui.all.css    |  699 +++++++++
 .../docs/images/add-repositories.jpg.png        |  Bin 0 -> 10889 bytes
 .../docs/images/add-repositories.png            |  Bin 0 -> 18886 bytes
 .../images/available-features-uncategorized.png |  Bin 0 -> 125809 bytes
 .../docs/images/available-features.png          |  Bin 0 -> 55734 bytes
 .../docs/images/back-end-front-end.png          |  Bin 0 -> 27818 bytes
 .../docs/images/configuration-details.png       |  Bin 0 -> 21515 bytes
 .../docs/images/edit-repositories.png           |  Bin 0 -> 14335 bytes
 .../feature-mgt/docs/images/find-features.png   |  Bin 0 -> 44004 bytes
 .../images/installation-complete-message.png    |  Bin 0 -> 7649 bytes
 .../docs/images/installation-history.png        |  Bin 0 -> 30799 bytes
 .../docs/images/installed-features.png          |  Bin 0 -> 31229 bytes
 .../docs/images/licence-agreement.png           |  Bin 0 -> 59591 bytes
 .../docs/images/manage-repositories.png         |  Bin 0 -> 33724 bytes
 .../docs/images/review-installation.png         |  Bin 0 -> 27514 bytes
 .../images/select-a-category-to-install.png     |  Bin 0 -> 115949 bytes
 .../site/xdoc/feature-mgt/docs/userguide.xml    |  170 +++
 .../site/xdoc/feature-mgt/images/activate.gif   |  Bin 0 -> 623 bytes
 .../src/site/xdoc/feature-mgt/images/add.gif    |  Bin 0 -> 407 bytes
 .../xdoc/feature-mgt/images/comp-manager.gif    |  Bin 0 -> 580 bytes
 .../site/xdoc/feature-mgt/images/deactivate.gif |  Bin 0 -> 606 bytes
 .../xdoc/feature-mgt/images/install-feature.png |  Bin 0 -> 783 bytes
 .../site/xdoc/feature-mgt/images/magnifier.gif  |  Bin 0 -> 578 bytes
 .../src/site/xdoc/feature-mgt/images/minus.gif  |  Bin 0 -> 896 bytes
 .../site/xdoc/feature-mgt/images/more-info.gif  |  Bin 0 -> 617 bytes
 .../src/site/xdoc/feature-mgt/images/nodata.gif |  Bin 0 -> 883 bytes
 .../src/site/xdoc/feature-mgt/images/plus.gif   |  Bin 0 -> 905 bytes
 .../src/site/xdoc/feature-mgt/images/search.gif |  Bin 0 -> 578 bytes
 .../src/site/xdoc/feature-mgt/images/spacer.png |  Bin 0 -> 144 bytes
 .../feature-mgt/images/uninstall-feature.png    |  Bin 0 -> 769 bytes
 .../xdoc/highlighter/css/SyntaxHighlighter.css  |  185 +++
 .../src/site/xdoc/highlighter/js/clipboard.swf  |  Bin 0 -> 109 bytes
 .../menugeneral/images/chart_organisation.gif   |  Bin 0 -> 558 bytes
 .../site/xdoc/menugeneral/images/magnifier.gif  |  Bin 0 -> 578 bytes
 .../src/site/xdoc/role/docs/rolepermissions.xml |  153 ++
 .../src/site/xdoc/role/docs/userguide.xml       |  111 ++
 .../src/site/xdoc/role/images/Thumbs.db         |  Bin 0 -> 12800 bytes
 .../src/site/xdoc/role/images/add-role1.png     |  Bin 0 -> 14525 bytes
 .../src/site/xdoc/role/images/add-role2.png     |  Bin 0 -> 34733 bytes
 .../src/site/xdoc/role/images/add-role3.png     |  Bin 0 -> 20692 bytes
 .../src/site/xdoc/role/images/add.gif           |  Bin 0 -> 407 bytes
 .../src/site/xdoc/role/images/check0.gif        |  Bin 0 -> 608 bytes
 .../src/site/xdoc/role/images/check1.gif        |  Bin 0 -> 609 bytes
 .../src/site/xdoc/role/images/check2.gif        |  Bin 0 -> 622 bytes
 .../src/site/xdoc/role/images/contractall.gif   |  Bin 0 -> 987 bytes
 .../src/site/xdoc/role/images/delete.gif        |  Bin 0 -> 555 bytes
 .../src/site/xdoc/role/images/edit.gif          |  Bin 0 -> 1036 bytes
 .../src/site/xdoc/role/images/expandall.gif     |  Bin 0 -> 983 bytes
 .../site/xdoc/role/images/external-roles.gif    |  Bin 0 -> 623 bytes
 .../site/xdoc/role/images/external-users.gif    |  Bin 0 -> 586 bytes
 .../site/xdoc/role/images/permission-edit.png   |  Bin 0 -> 23367 bytes
 .../src/site/xdoc/role/images/role-main.png     |  Bin 0 -> 17918 bytes
 .../src/site/xdoc/role/images/test.gif          |  Bin 0 -> 600 bytes
 .../src/site/xdoc/role/images/user-roles.gif    |  Bin 0 -> 1048 bytes
 .../src/site/xdoc/role/images/user-store.gif    |  Bin 0 -> 589 bytes
 .../src/site/xdoc/role/images/users.gif         |  Bin 0 -> 1027 bytes
 .../src/site/xdoc/role/images/view.gif          |  Bin 0 -> 596 bytes
 .../src/site/xdoc/role/js/treeview.css          |    7 +
 .../site/xdoc/roles-mgt/docs/server-roles.xml   |   62 +
 .../src/site/xdoc/roles-mgt/docs/userguide.xml  |   91 ++
 .../src/site/xdoc/roles-mgt/images/add.gif      |  Bin 0 -> 407 bytes
 .../xdoc/roles-mgt/images/add_server_role.jpg   |  Bin 0 -> 46641 bytes
 .../src/site/xdoc/roles-mgt/images/delete.gif   |  Bin 0 -> 555 bytes
 .../roles-mgt/images/delete_server_role.jpg     |  Bin 0 -> 38559 bytes
 .../xdoc/roles-mgt/images/icon-expanded.gif     |  Bin 0 -> 389 bytes
 .../xdoc/roles-mgt/images/icon-minimized.gif    |  Bin 0 -> 405 bytes
 .../site/xdoc/roles-mgt/images/landingpage.jpg  |  Bin 0 -> 95016 bytes
 .../site/xdoc/roles-mgt/images/server-role.gif  |  Bin 0 -> 1073 bytes
 .../server-admin/docs/images/server-admin.gif   |  Bin 0 -> 21871 bytes
 .../site/xdoc/server-admin/docs/userguide.xml   |   55 +
 .../server-admin/images/graceful-restart.gif    |  Bin 0 -> 630 bytes
 .../server-admin/images/graceful-shutdown.gif   |  Bin 0 -> 623 bytes
 .../site/xdoc/server-admin/images/restart.gif   |  Bin 0 -> 631 bytes
 .../site/xdoc/server-admin/images/shutdown.gif  |  Bin 0 -> 404 bytes
 .../src/site/xdoc/user/docs/userguide.xml       |  100 ++
 .../src/site/xdoc/user/images/Thumbs.db         |  Bin 0 -> 12800 bytes
 .../src/site/xdoc/user/images/add.gif           |  Bin 0 -> 407 bytes
 .../site/xdoc/user/images/bulk-import-main.png  |  Bin 0 -> 20476 bytes
 .../src/site/xdoc/user/images/bulk-import.gif   |  Bin 0 -> 1016 bytes
 .../src/site/xdoc/user/images/bulk-import1.png  |  Bin 0 -> 17641 bytes
 .../src/site/xdoc/user/images/bulk-import2.png  |  Bin 0 -> 24853 bytes
 .../src/site/xdoc/user/images/delete.gif        |  Bin 0 -> 555 bytes
 .../src/site/xdoc/user/images/edit.gif          |  Bin 0 -> 1036 bytes
 .../site/xdoc/user/images/external-roles.gif    |  Bin 0 -> 623 bytes
 .../site/xdoc/user/images/external-users.gif    |  Bin 0 -> 586 bytes
 .../src/site/xdoc/user/images/test.gif          |  Bin 0 -> 600 bytes
 .../src/site/xdoc/user/images/user-main.png     |  Bin 0 -> 21016 bytes
 .../src/site/xdoc/user/images/user-roles.gif    |  Bin 0 -> 1048 bytes
 .../src/site/xdoc/user/images/user-store.gif    |  Bin 0 -> 589 bytes
 .../src/site/xdoc/user/images/userManager.JPG   |  Bin 0 -> 36706 bytes
 .../src/site/xdoc/user/images/users.JPG         |  Bin 0 -> 24922 bytes
 .../src/site/xdoc/user/images/users.gif         |  Bin 0 -> 1027 bytes
 .../src/site/xdoc/user/images/view.gif          |  Bin 0 -> 596 bytes
 .../src/site/xdoc/userstore/docs/userguide.xml  |   58 +
 .../userstore/images/External-user store.JPG    |  Bin 0 -> 16722 bytes
 .../src/site/xdoc/userstore/images/add.gif      |  Bin 0 -> 407 bytes
 .../src/site/xdoc/userstore/images/delete.gif   |  Bin 0 -> 555 bytes
 .../src/site/xdoc/userstore/images/edit.gif     |  Bin 0 -> 1036 bytes
 .../xdoc/userstore/images/external-roles.gif    |  Bin 0 -> 623 bytes
 .../xdoc/userstore/images/external-users.gif    |  Bin 0 -> 586 bytes
 .../src/site/xdoc/userstore/images/keys.gif     |  Bin 0 -> 969 bytes
 .../src/site/xdoc/userstore/images/roles.JPG    |  Bin 0 -> 20207 bytes
 .../src/site/xdoc/userstore/images/test.gif     |  Bin 0 -> 600 bytes
 .../site/xdoc/userstore/images/user-chpass.png  |  Bin 0 -> 17664 bytes
 .../xdoc/userstore/images/user-role-main.png    |  Bin 0 -> 14744 bytes
 .../site/xdoc/userstore/images/user-roles.gif   |  Bin 0 -> 1048 bytes
 .../site/xdoc/userstore/images/user-store.gif   |  Bin 0 -> 617 bytes
 .../src/site/xdoc/userstore/images/users.gif    |  Bin 0 -> 1027 bytes
 .../src/site/xdoc/userstore/images/view.gif     |  Bin 0 -> 596 bytes
 .../WebContent/META-INF/MANIFEST.MF             |    3 +
 .../WebContent/WEB-INF/web.xml                  |    7 +
 .../WebContent/dashboards/as.html               |   69 +
 .../WebContent/dashboards/bam.html              |   88 ++
 .../WebContent/dashboards/bps.html              |   51 +
 .../WebContent/dashboards/brs.html              |   22 +
 .../WebContent/dashboards/cep.html              |   82 +
 .../WebContent/dashboards/csg.html              |   11 +
 .../dashboards/css/features-dashboard.css       |   55 +
 .../WebContent/dashboards/dss.html              |   75 +
 .../WebContent/dashboards/esb.html              |   70 +
 .../WebContent/dashboards/greg.html             |   94 ++
 .../WebContent/dashboards/gs.html               |   90 ++
 .../WebContent/dashboards/images/black.png      |  Bin 0 -> 7338 bytes
 .../dashboards/images/configure_db.png          |  Bin 0 -> 43279 bytes
 .../dashboards/images/tenant_isolation.png      |  Bin 0 -> 67219 bytes
 .../images/usage_metering_and_throttling.jpg    |  Bin 0 -> 44100 bytes
 .../WebContent/dashboards/is.html               |   98 ++
 .../WebContent/dashboards/manager.html          |   68 +
 .../WebContent/dashboards/mb.html               |   81 +
 .../WebContent/dashboards/ms.html               |   81 +
 .../WebContent/dashboards/server.jsp            |  151 ++
 .../css/features-dashboard-new.css              |  155 ++
 .../WebContent/tenant-dashboard/css/ie7.css     |    8 +
 .../tenant-dashboard/images/arrow-blue.png      |  Bin 0 -> 815 bytes
 .../tenant-dashboard/images/arrow-white.png     |  Bin 0 -> 846 bytes
 .../WebContent/tenant-dashboard/images/back.jpg |  Bin 0 -> 1496 bytes
 .../tenant-dashboard/images/boxes.png           |  Bin 0 -> 645 bytes
 .../images/dashboard-back-repeat.png            |  Bin 0 -> 696 bytes
 .../tenant-dashboard/images/workAreaBack.png    |  Bin 0 -> 760 bytes
 .../WebContent/tenant-dashboard/index.html      |  173 +++
 .../WebContent/tenant-dashboard/index.jsp       |  205 +++
 .../tenant-dashboard/js/jquery-1.7.1.min.js     |    4 +
 .../tenant-dashboard/js/jquery.masonry.min.js   |   10 +
 .../js/jquery/jquery-1.5.1.min.js               |   16 +
 .../js/jquery/jquery.ui.core.js                 |    1 +
 .../js/jquery/jquery.ui.core.min.js             |   17 +
 .../js/jquery/jquery.ui.tabs.min.js             |   35 +
 .../js/jquery/jquery.ui.widget.min.js           |   15 +
 .../js/jquery/jquery.validate.js                | 1166 ++++++++++++++
 .../ui-bg_diagonals-thick_18_b81900_40x40.png   |  Bin 0 -> 260 bytes
 .../ui-bg_diagonals-thick_20_666666_40x40.png   |  Bin 0 -> 251 bytes
 .../images/ui-bg_flat_10_000000_40x100.png      |  Bin 0 -> 178 bytes
 .../images/ui-bg_glass_100_f6f6f6_1x400.png     |  Bin 0 -> 104 bytes
 .../images/ui-bg_glass_100_fdf5ce_1x400.png     |  Bin 0 -> 125 bytes
 .../images/ui-bg_glass_65_ffffff_1x400.png      |  Bin 0 -> 105 bytes
 .../ui-bg_gloss-wave_35_f6a828_500x100.png      |  Bin 0 -> 3762 bytes
 .../ui-bg_highlight-soft_100_eeeeee_1x100.png   |  Bin 0 -> 90 bytes
 .../ui-bg_highlight-soft_75_ffe45c_1x100.png    |  Bin 0 -> 129 bytes
 .../images/ui-icons_222222_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_228ef1_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_ef8c08_256x240.png          |  Bin 0 -> 5355 bytes
 .../images/ui-icons_ffd27a_256x240.png          |  Bin 0 -> 4369 bytes
 .../images/ui-icons_ffffff_256x240.png          |  Bin 0 -> 4369 bytes
 .../ui-lightness/jquery-ui-1.8.14.custom.css    |  568 +++++++
 .../themes/ui-lightness/jquery.ui.accordion.css |   19 +
 .../themes/ui-lightness/jquery.ui.all.css       |   11 +
 .../ui-lightness/jquery.ui.autocomplete.css     |   53 +
 .../themes/ui-lightness/jquery.ui.base.css      |   11 +
 .../themes/ui-lightness/jquery.ui.button.css    |   38 +
 .../themes/ui-lightness/jquery.ui.core.css      |   41 +
 .../ui-lightness/jquery.ui.datepicker.css       |   68 +
 .../themes/ui-lightness/jquery.ui.dialog.css    |   21 +
 .../ui-lightness/jquery.ui.progressbar.css      |   11 +
 .../themes/ui-lightness/jquery.ui.resizable.css |   20 +
 .../ui-lightness/jquery.ui.selectable.css       |   10 +
 .../themes/ui-lightness/jquery.ui.slider.css    |   24 +
 .../themes/ui-lightness/jquery.ui.tabs.css      |   18 +
 .../themes/ui-lightness/jquery.ui.theme.css     |  249 +++
 .../features-dashboard/features-dashboard.xml   |  762 ++++++++++
 .../modules/features-dashboard/pom.xml          |  155 ++
 .../manager/feature/dashbord/ui/beans/Data.java |   61 +
 .../manager/feature/dashbord/ui/beans/Link.java |   41 +
 .../feature/dashbord/ui/beans/Service.java      |   72 +
 .../feature/dashbord/ui/beans/Story.java        |   62 +
 .../feature/dashbord/ui/utils/Utils.java        |  177 +++
 .../stratos_controller/modules/features/pom.xml |   46 +
 .../features/service/etc/feature.properties     |  242 +++
 .../service/org.apache.stratos.feature/pom.xml  |   82 +
 .../org.apache.stratos.server.feature/pom.xml   |  236 +++
 .../org.apache.stratos.ui.feature/pom.xml       |  209 +++
 .../modules/features/service/pom.xml            |   50 +
 .../modules/integration/pom.xml                 |  164 ++
 .../integration/tests/LoginLogoutTestCase.java  |   49 +
 .../tests/SecurityVerificationTestCase.java     |   27 +
 .../tests/StratosManagerTestServerManager.java  |   54 +
 .../integration/tests/TenantMgtTestCase.java    |   92 ++
 .../src/test/resources/instrumentation.txt      |    2 +
 .../src/test/resources/keys/wso2carbon.jks      |  Bin 0 -> 33260 bytes
 .../integration/src/test/resources/testng.xml   |   17 +
 .../stratos_controller/modules/login/pom.xml    |  142 ++
 .../src/main/resources/META-INF/component.xml   |   20 +
 .../login/src/main/resources/TenantService.wsdl |  576 +++++++
 .../web/tenant-login/css/loginpage.css          |  268 ++++
 .../resources/web/tenant-login/css/tenant.css   |   62 +
 .../docs/images/sign-in-no-domain.png           |  Bin 0 -> 10682 bytes
 .../docs/images/sign-in-with-domain.png         |  Bin 0 -> 8233 bytes
 .../web/tenant-login/docs/userguide.html        |  113 ++
 .../domain_rename_checker_ajaxprocessor.jsp     |   46 +
 .../web/tenant-login/images/body-bg.gif         |  Bin 0 -> 923 bytes
 .../web/tenant-login/images/feature-01-icon.gif |  Bin 0 -> 2825 bytes
 .../web/tenant-login/images/feature-02-icon.gif |  Bin 0 -> 3361 bytes
 .../web/tenant-login/images/feature-03-icon.gif |  Bin 0 -> 3285 bytes
 .../tenant-login/images/google-apps-login.gif   |  Bin 0 -> 4189 bytes
 .../web/tenant-login/images/link-icon.gif       |  Bin 0 -> 118 bytes
 .../web/tenant-login/images/login-bg.gif        |  Bin 0 -> 56670 bytes
 .../resources/web/tenant-login/images/logo.gif  |  Bin 0 -> 17603 bytes
 .../tenant-login/images/paas-login-1pix-1.gif   |  Bin 0 -> 43 bytes
 .../web/tenant-login/images/paas-login-1pix.gif |  Bin 0 -> 43 bytes
 .../web/tenant-login/images/powered.gif         |  Bin 0 -> 1280 bytes
 .../tenant-login/images/reg-button-hover.gif    |  Bin 0 -> 3824 bytes
 .../web/tenant-login/images/reg-button.gif      |  Bin 0 -> 3852 bytes
 .../web/tenant-login/images/register.gif        |  Bin 0 -> 4099 bytes
 .../tenant-login/images/st-login-body-bg.gif    |  Bin 0 -> 2215 bytes
 .../tenant-login/images/st-login-content-bg.gif |  Bin 0 -> 1060 bytes
 .../tenant-login/images/st-login-footer-bg.gif  |  Bin 0 -> 749 bytes
 .../tenant-login/images/st-login-header-bg.gif  |  Bin 0 -> 64503 bytes
 .../web/tenant-login/images/t-right-logo.gif    |  Bin 0 -> 2445 bytes
 .../main/resources/web/tenant-login/js/login.js |   27 +
 .../web/tenant-login/login_ajaxprocessor.jsp    |  345 +++++
 .../web/tenant-login/terms/policy.html          |   71 +
 .../web/tenant-login/terms/support.html         |   38 +
 .../resources/web/tenant-login/terms/terms.html |   73 +
 .../modules/p2-profile-gen/pom.xml              |  414 +++++
 .../stratos_controller/modules/styles/pom.xml   |   48 +
 .../modules/styles/product/pom.xml              |   85 ++
 .../src/main/resources/META-INF/product.xml     |   27 +
 .../src/main/resources/web/product/about.html   |  130 ++
 .../src/main/resources/web/styles/css/main.css  |  155 ++
 .../main/resources/web/styles/images/1px.gif    |  Bin 0 -> 43 bytes
 .../styles/images/esb-server-menu-header.gif    |  Bin 0 -> 176 bytes
 .../web/styles/images/leftRightSlider-dark.png  |  Bin 0 -> 1103 bytes
 .../resources/web/styles/images/menu_header.png |  Bin 0 -> 227 bytes
 .../web/styles/images/right-links-bg.gif        |  Bin 0 -> 1070 bytes
 .../web/styles/images/right-logo-bg.gif         |  Bin 0 -> 3445 bytes
 .../resources/web/styles/images/sc-back.png     |  Bin 0 -> 16781 bytes
 .../web/styles/images/sc-header-repeat.png      |  Bin 0 -> 178 bytes
 .../main/resources/web/styles/images/sclogo.png |  Bin 0 -> 5136 bytes
 .../modules/styles/service/pom.xml              |  143 ++
 .../src/main/resources/META-INF/product.xml     |   26 +
 .../service/src/main/resources/web/favicon.ico  |  Bin 0 -> 17542 bytes
 .../src/main/resources/web/styles/css/main.css  |  240 +++
 .../resources/web/styles/images/def-body-bg.gif |  Bin 0 -> 419 bytes
 .../web/styles/images/def-header-bg.gif         |  Bin 0 -> 17875 bytes
 .../web/styles/images/def-header-region-bg.gif  |  Bin 0 -> 22784 bytes
 .../main/resources/web/styles/images/logo.gif   |  Bin 0 -> 1815 bytes
 .../resources/web/styles/images/powered.gif     |  Bin 0 -> 1773 bytes
 .../resources/web/styles/images/right-logo.gif  |  Bin 0 -> 6102 bytes
 .../web/styles/images/t-right-logo.gif          |  Bin 0 -> 3629 bytes
 products/stratos_controller/pom.xml             |  419 +++++
 .../resources/allthemes/Dark/admin/logo.gif     |  Bin 0 -> 1551 bytes
 .../resources/allthemes/Dark/admin/main.css     |  232 +++
 .../allthemes/Dark/admin/powered-stratos.gif    |  Bin 0 -> 1515 bytes
 .../allthemes/Dark/admin/right-logo.gif         |  Bin 0 -> 2325 bytes
 .../allthemes/Dark/admin/theme-header-bg.gif    |  Bin 0 -> 4245 bytes
 .../Dark/admin/theme-header-region-bg.gif       |  Bin 0 -> 793 bytes
 .../allthemes/Dark/admin/theme-menu-header.gif  |  Bin 0 -> 261 bytes
 .../Dark/admin/theme-menu-panel-l-bg.gif        |  Bin 0 -> 312 bytes
 .../Dark/admin/theme-menu-table-bg.gif          |  Bin 0 -> 5671 bytes
 .../Dark/admin/theme-right-links-bg.gif         |  Bin 0 -> 1005 bytes
 .../resources/allthemes/Dark/thumb.png          |  Bin 0 -> 19546 bytes
 .../allthemes/Default/admin/def-body-bg.gif     |  Bin 0 -> 419 bytes
 .../allthemes/Default/admin/def-header-bg.gif   |  Bin 0 -> 17875 bytes
 .../Default/admin/def-header-region-bg.gif      |  Bin 0 -> 22784 bytes
 .../resources/allthemes/Default/admin/logo.gif  |  Bin 0 -> 1815 bytes
 .../resources/allthemes/Default/admin/main.css  |  229 +++
 .../allthemes/Default/admin/powered-stratos.gif |  Bin 0 -> 1515 bytes
 .../allthemes/Default/admin/right-logo.gif      |  Bin 0 -> 3629 bytes
 .../resources/allthemes/Default/thumb.png       |  Bin 0 -> 24432 bytes
 .../resources/allthemes/Light/admin/logo.gif    |  Bin 0 -> 1551 bytes
 .../resources/allthemes/Light/admin/main.css    |  229 +++
 .../allthemes/Light/admin/menu_header.gif       |  Bin 0 -> 243 bytes
 .../allthemes/Light/admin/powered-stratos.gif   |  Bin 0 -> 1515 bytes
 .../allthemes/Light/admin/right-links-bg.gif    |  Bin 0 -> 1191 bytes
 .../allthemes/Light/admin/right-logo.gif        |  Bin 0 -> 2325 bytes
 .../allthemes/Light/admin/theme-header-bg.gif   |  Bin 0 -> 3792 bytes
 .../Light/admin/theme-header-region-b-bg.gif    |  Bin 0 -> 121 bytes
 .../Light/admin/theme-header-region-bg.gif      |  Bin 0 -> 534 bytes
 .../Light/admin/theme-menu-panel-l-bg.gif       |  Bin 0 -> 772 bytes
 .../Light/admin/theme-menu-table-bg.gif         |  Bin 0 -> 5991 bytes
 .../resources/allthemes/Light/thumb.png         |  Bin 0 -> 18102 bytes
 .../cloud-services-icons/appserver.gif          |  Bin 0 -> 2086 bytes
 .../resources/cloud-services-icons/bam.gif      |  Bin 0 -> 1773 bytes
 .../resources/cloud-services-icons/bps.gif      |  Bin 0 -> 1531 bytes
 .../resources/cloud-services-icons/brs-old.gif  |  Bin 0 -> 1772 bytes
 .../resources/cloud-services-icons/brs.gif      |  Bin 0 -> 2170 bytes
 .../resources/cloud-services-icons/cep.png      |  Bin 0 -> 3218 bytes
 .../resources/cloud-services-icons/cg.gif       |  Bin 0 -> 2385 bytes
 .../cloud-services-icons/csg-inactive.gif       |  Bin 0 -> 3188 bytes
 .../resources/cloud-services-icons/csg.gif      |  Bin 0 -> 3176 bytes
 .../resources/cloud-services-icons/ds.gif       |  Bin 0 -> 2012 bytes
 .../resources/cloud-services-icons/esb.gif      |  Bin 0 -> 1787 bytes
 .../resources/cloud-services-icons/gadget.gif   |  Bin 0 -> 2242 bytes
 .../cloud-services-icons/governance.gif         |  Bin 0 -> 1977 bytes
 .../resources/cloud-services-icons/identity.gif |  Bin 0 -> 1936 bytes
 .../cloud-services-icons/inactive-appserver.gif |  Bin 0 -> 1957 bytes
 .../cloud-services-icons/inactive-bam.gif       |  Bin 0 -> 1647 bytes
 .../cloud-services-icons/inactive-brs.gif       |  Bin 0 -> 1874 bytes
 .../cloud-services-icons/inactive-cep.png       |  Bin 0 -> 2959 bytes
 .../cloud-services-icons/inactive-esb.gif       |  Bin 0 -> 1656 bytes
 .../cloud-services-icons/inactive-gadget.gif    |  Bin 0 -> 2087 bytes
 .../inactive-governance.gif                     |  Bin 0 -> 1850 bytes
 .../cloud-services-icons/inactive-identity.gif  |  Bin 0 -> 1794 bytes
 .../cloud-services-icons/inactive-mashup.gif    |  Bin 0 -> 1772 bytes
 .../cloud-services-icons/inactive-mb.png        |  Bin 0 -> 2746 bytes
 .../resources/cloud-services-icons/mashup.gif   |  Bin 0 -> 1850 bytes
 .../resources/cloud-services-icons/mb.png       |  Bin 0 -> 3139 bytes
 .../resources/cloud-services-icons/pom.xml      |   71 +
 .../resources/cloud-services-icons/ss.gif       |  Bin 0 -> 2432 bytes
 .../resources/cloud-services-icons/ts.gif       |  Bin 0 -> 2475 bytes
 .../powerded-by-logos/appserver-logo.gif        |  Bin 0 -> 1473 bytes
 .../resources/powerded-by-logos/bam-logo.gif    |  Bin 0 -> 1690 bytes
 .../resources/powerded-by-logos/bps-logo.gif    |  Bin 0 -> 1606 bytes
 .../resources/powerded-by-logos/brs-logo.gif    |  Bin 0 -> 1596 bytes
 .../resources/powerded-by-logos/csg-logo.gif    |  Bin 0 -> 2030 bytes
 .../resources/powerded-by-logos/ds-logo.gif     |  Bin 0 -> 1528 bytes
 .../resources/powerded-by-logos/esb-logo.gif    |  Bin 0 -> 1598 bytes
 .../resources/powerded-by-logos/gadget-logo.gif |  Bin 0 -> 1368 bytes
 .../powerded-by-logos/governance-logo.gif       |  Bin 0 -> 1525 bytes
 .../powerded-by-logos/identity-logo.gif         |  Bin 0 -> 1398 bytes
 .../resources/powerded-by-logos/mashup-logo.gif |  Bin 0 -> 1440 bytes
 service-stubs/pom.xml                           |    1 +
 1531 files changed, 30726 insertions(+), 45707 deletions(-)
----------------------------------------------------------------------



[39/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery.masonry.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery.masonry.min.js b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery.masonry.min.js
deleted file mode 100755
index 67be988..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery.masonry.min.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * jQuery Masonry v2.1.05
- * A dynamic layout plugin for jQuery
- * The flip-side of CSS Floats
- * http://masonry.desandro.com
- *
- * Licensed under the MIT license.
- * Copyright 2012 David DeSandro
- */
-(function(a,b,c){"use strict";var d=b.event,e;d.special.smartresize={setup:function(){b(this).bind("resize",d.special.smartresize.handler)},teardown:function(){b(this).unbind("resize",d.special.smartresize.handler)},handler:function(a,c){var d=this,f=arguments;a.type="smartresize",e&&clearTimeout(e),e=setTimeout(function(){b.event.handle.apply(d,f)},c==="execAsap"?0:100)}},b.fn.smartresize=function(a){return a?this.bind("smartresize",a):this.trigger("smartresize",["execAsap"])},b.Mason=function(a,c){this.element=b(c),this._create(a),this._init()},b.Mason.settings={isResizable:!0,isAnimated:!1,animationOptions:{queue:!1,duration:500},gutterWidth:0,isRTL:!1,isFitWidth:!1,containerStyle:{position:"relative"}},b.Mason.prototype={_filterFindBricks:function(a){var b=this.options.itemSelector;return b?a.filter(b).add(a.find(b)):a},_getBricks:function(a){var b=this._filterFindBricks(a).css({position:"absolute"}).addClass("masonry-brick");return b},_create:function(c){this.options=b.extend(!
 0,{},b.Mason.settings,c),this.styleQueue=[];var d=this.element[0].style;this.originalStyle={height:d.height||""};var e=this.options.containerStyle;for(var f in e)this.originalStyle[f]=d[f]||"";this.element.css(e),this.horizontalDirection=this.options.isRTL?"right":"left",this.offset={x:parseInt(this.element.css("padding-"+this.horizontalDirection),10),y:parseInt(this.element.css("padding-top"),10)},this.isFluid=this.options.columnWidth&&typeof this.options.columnWidth=="function";var g=this;setTimeout(function(){g.element.addClass("masonry")},0),this.options.isResizable&&b(a).bind("smartresize.masonry",function(){g.resize()}),this.reloadItems()},_init:function(a){this._getColumns(),this._reLayout(a)},option:function(a,c){b.isPlainObject(a)&&(this.options=b.extend(!0,this.options,a))},layout:function(a,b){for(var c=0,d=a.length;c<d;c++)this._placeBrick(a[c]);var e={};e.height=Math.max.apply(Math,this.colYs);if(this.options.isFitWidth){var f=0;c=this.cols;while(--c){if(this.colYs[c]!=
 =0)break;f++}e.width=(this.cols-f)*this.columnWidth-this.options.gutterWidth}this.styleQueue.push({$el:this.element,style:e});var g=this.isLaidOut?this.options.isAnimated?"animate":"css":"css",h=this.options.animationOptions,i;for(c=0,d=this.styleQueue.length;c<d;c++)i=this.styleQueue[c],i.$el[g](i.style,h);this.styleQueue=[],b&&b.call(a),this.isLaidOut=!0},_getColumns:function(){var a=this.options.isFitWidth?this.element.parent():this.element,b=a.width();this.columnWidth=this.isFluid?this.options.columnWidth(b):this.options.columnWidth||this.$bricks.outerWidth(!0)||b,this.columnWidth+=this.options.gutterWidth,this.cols=Math.floor((b+this.options.gutterWidth)/this.columnWidth),this.cols=Math.max(this.cols,1)},_placeBrick:function(a){var c=b(a),d,e,f,g,h;d=Math.ceil(c.outerWidth(!0)/this.columnWidth),d=Math.min(d,this.cols);if(d===1)f=this.colYs;else{e=this.cols+1-d,f=[];for(h=0;h<e;h++)g=this.colYs.slice(h,h+d),f[h]=Math.max.apply(Math,g)}var i=Math.min.apply(Math,f),j=0;for(var k=0
 ,l=f.length;k<l;k++)if(f[k]===i){j=k;break}var m={top:i+this.offset.y};m[this.horizontalDirection]=this.columnWidth*j+this.offset.x,this.styleQueue.push({$el:c,style:m});var n=i+c.outerHeight(!0),o=this.cols+1-l;for(k=0;k<o;k++)this.colYs[j+k]=n},resize:function(){var a=this.cols;this._getColumns(),(this.isFluid||this.cols!==a)&&this._reLayout()},_reLayout:function(a){var b=this.cols;this.colYs=[];while(b--)this.colYs.push(0);this.layout(this.$bricks,a)},reloadItems:function(){this.$bricks=this._getBricks(this.element.children())},reload:function(a){this.reloadItems(),this._init(a)},appended:function(a,b,c){if(b){this._filterFindBricks(a).css({top:this.element.height()});var d=this;setTimeout(function(){d._appended(a,c)},1)}else this._appended(a,c)},_appended:function(a,b){var c=this._getBricks(a);this.$bricks=this.$bricks.add(c),this.layout(c,b)},remove:function(a){this.$bricks=this.$bricks.not(a),a.remove()},destroy:function(){this.$bricks.removeClass("masonry-brick").each(functio
 n(){this.style.position="",this.style.top="",this.style.left=""});var c=this.element[0].style;for(var d in this.originalStyle)c[d]=this.originalStyle[d];this.element.unbind(".masonry").removeClass("masonry").removeData("masonry"),b(a).unbind(".masonry")}},b.fn.imagesLoaded=function(a){function h(){a.call(c,d)}function i(a){var c=a.target;c.src!==f&&b.inArray(c,g)===-1&&(g.push(c),--e<=0&&(setTimeout(h),d.unbind(".imagesLoaded",i)))}var c=this,d=c.find("img").add(c.filter("img")),e=d.length,f="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",g=[];return e||h(),d.bind("load.imagesLoaded error.imagesLoaded",i).each(function(){var a=this.src;this.src=f,this.src=a}),c};var f=function(b){a.console&&a.console.error(b)};b.fn.masonry=function(a){if(typeof a=="string"){var c=Array.prototype.slice.call(arguments,1);this.each(function(){var d=b.data(this,"masonry");if(!d){f("cannot call methods on masonry prior to initialization; attempted to call method '"+a+"'");return}
 if(!b.isFunction(d[a])||a.charAt(0)==="_"){f("no such method '"+a+"' for masonry instance");return}d[a].apply(d,c)})}else this.each(function(){var c=b.data(this,"masonry");c?(c.option(a||{}),c._init()):b.data(this,"masonry",new b.Mason(a,this))});return this}})(window,jQuery);
\ No newline at end of file


[13/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.ui.feature/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.ui.feature/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.ui.feature/pom.xml
deleted file mode 100755
index 1aafc49..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.ui.feature/pom.xml
+++ /dev/null
@@ -1,206 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.
--->
-
-<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.stratos2</groupId>
-        <artifactId>wso2stratos2-features-parent</artifactId>
-        <version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos2.ui.feature</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos - Cloud Manager UI Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the bundles required for Front-end Cloud Manager functionality</description>
-
-        <dependencies>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.account.mgt.ui</artifactId>
-	    <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.ui.menu.tools</artifactId>
-		<version>${wso2carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.stratos.common</artifactId>
-            </dependency>
-            <!--<dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt.ui</artifactId>
-		<version>${stratos.version}</version>
-            </dependency>-->
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.theme.mgt.ui</artifactId>
-		<version>${stratos.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.theme.mgt.stub</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.batik.wso2</groupId>
-                <artifactId>batik</artifactId>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.validate.domain.ui</artifactId>
-		<version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.register.ui</artifactId>
-		<version>2.1.1</version>
-            </dependency>
-            <!--<dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.activity.ui</artifactId>
-              <version>${stratos.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.activity.stub</artifactId>
-              <version>4.0.0</version>
-            </dependency>-->
-	    <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.email.verification.ui</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
-	        <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.email.verification.stub</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
- <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.register.stub</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.security.mgt</artifactId>
-	    <version>${carbon.version}</version>
-        </dependency>
-	<dependency>
-                <groupId>org.wso2.stratos2</groupId>
-                <artifactId>org.wso2.stratos.manager.dashboard.ui</artifactId>
-                <version>${stratos.controller.version}</version>
-		</dependency>
-	<dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.stratos.manager.dashboard.stub</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-         <dependency>
-                <groupId>org.wso2.stratos2</groupId>
-                <artifactId>org.wso2.stratos.manager.login.ui</artifactId>
-                <version>${stratos.controller.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.stratos2</groupId>
-                <artifactId>org.wso2.stratos.manager.styles</artifactId>
-                <version>${stratos.controller.version}</version>
-            </dependency>
-	    <!--stubs-->
-	    <dependency>
-		 <groupId>org.wso2.carbon</groupId>
-                 <artifactId>org.wso2.carbon.account.mgt.stub</artifactId>
-		<version>4.1.3</version>
-            </dependency>
-	    <dependency>
-                 <groupId>org.wso2.carbon</groupId>
-                 <artifactId>org.wso2.carbon.validate.domain.stub</artifactId>
-		<version>${carbon.version}</version>
-            </dependency>
-        </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.stratos2.ui</id>
-                            <propertiesFile>../etc/feature.properties</propertiesFile>
-                            <adviceFile>
-                                <properties>
-                                    <propertyDef>org.wso2.carbon.p2.category.type:console</propertyDef>
-                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
-                                </properties>
-                            </adviceFile>
-                            <bundles>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.account.mgt.ui:${stratos.component.version}</bundleDef>
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.ui</bundleDef>-->
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.theme.mgt.ui</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.theme.mgt.stub</bundleDef>
-                                <bundleDef>org.apache.batik.wso2:batik</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.validate.domain.ui</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.register.ui:2.1.1</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.payment.ui:${stratos.component.version}</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.email.verification.ui</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.email.verification.stub</bundleDef>
-                                <bundleDef>org.wso2.stratos2:org.wso2.stratos.manager.dashboard.ui </bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.stratos.manager.dashboard.stub</bundleDef>
-                                <bundleDef>org.wso2.stratos2:org.wso2.stratos.manager.login.ui</bundleDef>
-                                <bundleDef>org.wso2.stratos2:org.wso2.stratos.manager.styles</bundleDef>
-				<!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.activity.ui</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.activity.stub:${wso2carbon.version}</bundleDef>-->
-
-				<!--stub bundles -->
-
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.account.mgt.stub:4.1.3</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.validate.domain.stub</bundleDef>
-				<!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.stub:${wso2carbon.version}</bundleDef>-->
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.register.stub:${wso2carbon.version}</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.payment.stub:${wso2carbon.version}</bundleDef>
-                            </bundles>
-                            <importBundles>
-                                <importBundleDef>org.wso2.carbon:org.wso2.carbon.ui.menu.tools</importBundleDef>
-                            </importBundles>
-                            <importFeatures>
-                                <importFeatureDef>org.wso2.carbon.security.mgt:${carbon.version}</importFeatureDef>
-                                <importFeatureDef>org.wso2.carbon.core.ui:${carbon.version}</importFeatureDef>
-                            </importFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features/service/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features/service/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/features/service/pom.xml
deleted file mode 100755
index 5196e5e..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features/service/pom.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.
--->
-        
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-features-parent</artifactId>
-	<version>1.0.1</version>
-        <relativePath>../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>stratos2-features</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos2 - Features Aggregator Module</name>
-    <url>http://wso2.org</url>
-
-    <modules>
-        <module>org.wso2.stratos2.feature</module>
-        <module>org.wso2.stratos2.server.feature</module>
-        <module>org.wso2.stratos2.ui.feature</module>
-    </modules>
-
-    <properties>
-        <wso2carbon.version>4.1.0</wso2carbon.version>
-	    <synapse.version>${version.synapse}</synapse.version>
-        <quartz.wso2.version>2.1.1.wso2v1</quartz.wso2.version>
-	    <stratos.controller.version>1.0.0</stratos.controller.version>
-    </properties>
-
-</project>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/integration/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/integration/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/integration/pom.xml
deleted file mode 100755
index deb5ae8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/integration/pom.xml
+++ /dev/null
@@ -1,146 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>integration</artifactId>
-    <name>WSO2 Stratos Manager - Integration Tests</name>
-    <packaging>jar</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-clean-plugin</artifactId>
-                <version>2.4.1</version>
-                <executions>
-                    <execution>
-                        <id>auto-clean</id>
-                        <phase>initialize</phase>
-                        <goals>
-                            <goal>clean</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <inherited>false</inherited>
-                <configuration>
-                    <suiteXmlFiles>
-                        <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
-                    </suiteXmlFiles>
-                    <!--includes>
-                        <include>**/*TestServerManager.java</include>
-                        <include>**/LoginLogoutTestCase.java</include>
-                        <include>**/TenantMgtTestCase.java</include>
-                    </includes-->
-                    <systemProperties>
-                        <maven.test.haltafterfailure>false</maven.test.haltafterfailure>
-                        <carbon.zip>
-                            ${basedir}/../distribution/target/wso2sc-${project.version}.zip
-                        </carbon.zip>
-                        <sec.verifier.dir>${basedir}/target/security-verifier/</sec.verifier.dir>
-                        <extracted.dir>wso2stratos-manager-${project.version}</extracted.dir>
-                        <emma.home>${basedir}/target/emma</emma.home>
-                    </systemProperties>
-                    <workingDirectory>${basedir}/target</workingDirectory>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>test-jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy-emma-dependencies</id>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}/emma</outputDirectory>
-                            <includeTypes>jar</includeTypes>
-                            <includeArtifactIds>emma,org.wso2.carbon.integration.framework</includeArtifactIds>
-                        </configuration>
-                    </execution>
-                    <execution>
-                    	<id>copy-secVerifier</id>
-                        <phase>compile</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/security-verifier</outputDirectory>
-                            <includeTypes>aar</includeTypes>
-                            <includeArtifactIds>SecVerifier</includeArtifactIds>
-                            <stripVersion>true</stripVersion>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.integration.framework</artifactId>
-            <version>${carbon.kernel.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.testng</groupId>
-            <artifactId>testng</artifactId>
-            <version>6.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>emma</groupId>
-            <artifactId>emma</artifactId>
-            <version>${emma.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2-client</artifactId>
-            <version>${axis2.osgi.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.addressing</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.integration.core</artifactId>
-            <version>${carbon.kernel.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt.stub</artifactId>
-            <version>${carbon.kernel.version}</version>
-        </dependency>
-        <dependency>
-        	<groupId>org.wso2.carbon</groupId>
-        	<artifactId>SecVerifier</artifactId>
-        	<version>${carbon.kernel.version}</version>
-        	<type>aar</type>
-        </dependency>
-    </dependencies>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/LoginLogoutTestCase.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/LoginLogoutTestCase.java b/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/LoginLogoutTestCase.java
deleted file mode 100755
index 3c4416e..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/LoginLogoutTestCase.java
+++ /dev/null
@@ -1,48 +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.
-*/
-package org.wso2.stratos.manager.integration.tests;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.testng.annotations.Test;
-import org.wso2.carbon.integration.framework.ClientConnectionUtil;
-import org.wso2.carbon.integration.framework.LoginLogoutUtil;
-
-/**
- * A test case which tests logging in & logging out of a Carbon core server
- */
-public class LoginLogoutTestCase {
-
-    private LoginLogoutUtil util = new LoginLogoutUtil();
-    public static final Log log = LogFactory.getLog(LoginLogoutTestCase.class);
-
-    @Test(groups = {"stratos.manager"})
-    public void login() throws Exception {
-        log.info("****************************** LoginLogoutTestCase Start ******************************");
-        ClientConnectionUtil.waitForPort(9763);
-        util.login();
-    }
-
-    @Test(groups = {"stratos.manager"})
-    public void logout() throws Exception {
-        ClientConnectionUtil.waitForPort(9763);
-        util.logout();
-        log.info("****************************** LoginLogoutTestCase End ******************************");
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/SecurityVerificationTestCase.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/SecurityVerificationTestCase.java b/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/SecurityVerificationTestCase.java
deleted file mode 100755
index b7ea555..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/SecurityVerificationTestCase.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-*  Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-*  WSO2 Inc. licenses this file to you under the Apache License,
-*  Version 2.0 (the "License"); you may not use this file except
-*  in compliance with the License.
-*  You may obtain a copy of the License at
-*
-*    http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-package org.wso2.stratos.manager.integration.tests;
-
-import org.wso2.carbon.integration.framework.SecurityVerificationTest;
-
-/**
- * Test to ensure that the WSO2 Stratos Manager is properly secured
- */
-public class SecurityVerificationTestCase extends SecurityVerificationTest {
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/StratosManagerTestServerManager.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/StratosManagerTestServerManager.java b/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/StratosManagerTestServerManager.java
deleted file mode 100755
index 423cb6f..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/StratosManagerTestServerManager.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-*  Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-*
-*  WSO2 Inc. licenses this file to you under the Apache License,
-*  Version 2.0 (the "License"); you may not use this file except
-*  in compliance with the License.
-*  You may obtain a copy of the License at
-*
-*    http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied.  See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-package org.wso2.stratos.manager.integration.tests;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.testng.annotations.AfterSuite;
-import org.testng.annotations.BeforeSuite;
-import org.wso2.carbon.integration.framework.TestServerManager;
-import org.wso2.carbon.utils.FileManipulator;
-
-import java.io.File;
-import java.io.IOException;
-
-/**
- * Prepares the WSO2 AS for test runs, starts the server, and stops the server after
- * test runs
- */
-public class StratosManagerTestServerManager extends TestServerManager {
-    private static final Log log = LogFactory.getLog(StratosManagerTestServerManager.class);
-
-    @Override
-    @BeforeSuite(timeOut = 300000)
-    public String startServer() throws IOException {
-        String carbonHome = super.startServer();
-        System.setProperty("carbon.home", carbonHome);
-        return carbonHome;
-    }
-
-    @Override
-    @AfterSuite(timeOut = 60000)
-    public void stopServer() throws Exception {
-        super.stopServer();
-    }
-
-    protected void copyArtifacts(String carbonHome) throws IOException {
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/TenantMgtTestCase.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/TenantMgtTestCase.java b/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/TenantMgtTestCase.java
deleted file mode 100755
index 8ef4627..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/java/org/wso2/stratos/manager/integration/tests/TenantMgtTestCase.java
+++ /dev/null
@@ -1,91 +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.
-*/
-
-package org.wso2.stratos.manager.integration.tests;
-
-import org.apache.axis2.client.ServiceClient;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.testng.Assert;
-import org.testng.annotations.AfterClass;
-import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Test;
-import org.wso2.carbon.integration.framework.utils.FrameworkSettings;
-import org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub;
-import org.wso2.carbon.tenant.mgt.stub.beans.xsd.TenantInfoBean;
-import org.wso2.carbon.utils.CarbonUtils;
-
-import java.util.Calendar;
-import java.util.Date;
-import java.util.GregorianCalendar;
-
-public class TenantMgtTestCase {
-
-    private static String TenantMgtAdminServiceURL;
-    private static String TestTenantDomain;
-    public static final Log log = LogFactory.getLog(TenantMgtTestCase.class);
-
-    @BeforeClass
-    public void init() {
-        log.info("****************************** TenantMgtTestCase Start ******************************");
-        TestTenantDomain = "testcase.org";
-        TenantMgtAdminServiceURL = "https://" + FrameworkSettings.HOST_NAME + ":" +
-                                 FrameworkSettings.HTTPS_PORT + "/services/TenantMgtAdminService";
-    }
-
-    @Test(groups = {"stratos.manager"})
-    public void addTenantTest() throws Exception {
-        Calendar calender = new GregorianCalendar();
-        calender.setTime(new Date());
-
-        TenantInfoBean tenantInfoBean = new TenantInfoBean();
-        tenantInfoBean.setActive(true);
-        tenantInfoBean.setEmail("manager-test@wso2.com");
-        tenantInfoBean.setAdmin("admin");
-        tenantInfoBean.setAdminPassword("admin123");
-        tenantInfoBean.setTenantDomain(TestTenantDomain);
-        tenantInfoBean.setCreatedDate(calender);
-        tenantInfoBean.setFirstname("Fname");
-        tenantInfoBean.setLastname("Lname");
-        tenantInfoBean.setSuccessKey("true");
-        tenantInfoBean.setUsagePlan("Demo");
-
-        TenantMgtAdminServiceStub stub = new TenantMgtAdminServiceStub(TenantMgtAdminServiceURL);
-        ServiceClient client = stub._getServiceClient();
-        CarbonUtils.setBasicAccessSecurityHeaders(FrameworkSettings.USER_NAME, FrameworkSettings.PASSWORD, client);
-
-        String result = stub.addTenant(tenantInfoBean);
-        Assert.assertTrue(stub.retrieveTenants()[0].getTenantDomain().equals(TestTenantDomain));
-
-    }
-
-    @Test(groups = {"stratos.manager"})
-    public void activateTenantTest() throws Exception {
-        TenantMgtAdminServiceStub stub = new TenantMgtAdminServiceStub(TenantMgtAdminServiceURL);
-        ServiceClient client = stub._getServiceClient();
-        CarbonUtils.setBasicAccessSecurityHeaders(FrameworkSettings.USER_NAME, FrameworkSettings.PASSWORD, client);
-        stub.activateTenant(TestTenantDomain);
-        Assert.assertTrue(stub.retrieveTenants()[0].getActive());
-    }
-
-    @AfterClass
-    public void end(){
-        log.info("****************************** TenantMgtTestCase End ******************************");
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/instrumentation.txt
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/instrumentation.txt b/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/instrumentation.txt
deleted file mode 100755
index ec8ccdd..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/instrumentation.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-org.wso2.carbon.tenant.mgt_
-org.wso2.carbon.tenant.mgt.core_
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/keys/wso2carbon.jks
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/keys/wso2carbon.jks b/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/keys/wso2carbon.jks
deleted file mode 100755
index 7942c53..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/keys/wso2carbon.jks and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/testng.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/testng.xml b/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/testng.xml
deleted file mode 100755
index f7d0094..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/integration/src/test/resources/testng.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
-<suite name="WSO2 Stratos Manager Test Suite">
-    <test name="testing" preserve-order="true">
-        <classes>
-            <class name="org.wso2.stratos.manager.integration.tests.StratosManagerTestServerManager"/>
-            <class name="org.wso2.stratos.manager.integration.tests.LoginLogoutTestCase"/>
-            <class name="org.wso2.stratos.manager.integration.tests.SecurityVerificationTestCase"/>
-            <class name="org.wso2.stratos.manager.integration.tests.TenantMgtTestCase">
-                <methods>
-                    <include name="init"/>
-                    <include name="addTenantTest"/>
-                    <include name="activateTenantTest"/>
-                </methods>
-            </class>
-        </classes>
-    </test>
-</suite>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/login/pom.xml
deleted file mode 100644
index febf12f..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/pom.xml
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-# Copyright (c) 2008, 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.
-  -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos.manager.login.ui</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon Cloud Manager - Login User Interface</name>
-    <version>${stratos.controller.version}</version>
-
-    <build>
-
-        <plugins>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-	    
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>add-source</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                        </goals>
-                        <configuration>
-                            <sources>
-                                <source>target/generated-code/src</source>
-                            </sources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Import-Package>
-                            javax.servlet; version=2.4.0,
-                            javax.servlet.http; version=2.4.0,
-                            org.apache.lucene.*,
-                            *;resolution:=optional
-                        </Import-Package>
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-
-        </plugins>
-    </build>
-
-   <dependencies>
-
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.common.ui</artifactId>
-            <version>${registry-component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-    </dependencies>
-
-
-    <properties>
-        <eclipse.version>3.2.0</eclipse.version>
-        <!-- Component versions == Carbon version, if not, please change the properties below. -->
-        <registry-component.version>4.1.0</registry-component.version>
-   </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/META-INF/component.xml b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/META-INF/component.xml
deleted file mode 100644
index 746a68b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/META-INF/component.xml
+++ /dev/null
@@ -1,20 +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.
- -->
-<component xmlns="http://products.wso2.org/carbon">
-    <!-- sample menu configuration -->
-</component>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/TenantService.wsdl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/TenantService.wsdl b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/TenantService.wsdl
deleted file mode 100644
index ebc8b11..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/TenantService.wsdl
+++ /dev/null
@@ -1,576 +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.
- -->
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ax223="http://exceptions.core.registry.carbon.wso2.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ns="http://services.mgt.tenant.multitenancy.carbon.wso2.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ax226="http://util.mgt.tenant.multitenancy.carbon.wso2.com/xsd" targetNamespace="http://services.mgt.tenant.multitenancy.carbon.wso2.com">
-    <wsdl:documentation>TenantConfigService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema xmlns:ax225="http://exceptions.core.registry.carbon.wso2.org/xsd" xmlns:ax227="http://util.mgt.tenant.multitenancy.carbon.wso2.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.mgt.tenant.multitenancy.carbon.wso2.com">
-            <xs:import namespace="http://exceptions.core.registry.carbon.wso2.org/xsd" />
-            <xs:import namespace="http://util.mgt.tenant.multitenancy.carbon.wso2.com/xsd" />
-            <xs:complexType name="Exception">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType" />
-                </xs:sequence>
-            </xs:complexType>
-            <xs:element name="RegistryException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="RegistryException" nillable="true" type="ax225:RegistryException" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateOrSuggestDomain">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" />
-                        <xs:element minOccurs="0" name="successKey" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateOrSuggestDomainResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="updateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" nillable="true" type="ax226:TenantInfoBean" />
-                        <xs:element minOccurs="0" name="oldAdminPassword" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="proceedTenantAdding">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" nillable="true" type="ax226:TenantInfoBean" />
-                        <xs:element minOccurs="0" name="confirmationKey" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="proceedTenantAddingResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getTenantsResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax226:TenantInfoBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getTenantResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="ax226:TenantInfoBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="deactivateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="Exception">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="Exception" nillable="true" type="ns:Exception" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="checkDomainAvailability">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="checkDomainAvailabilityResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="addTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" nillable="true" type="ax226:TenantInfoBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="activateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-        <xs:schema xmlns:ax224="http://services.mgt.tenant.multitenancy.carbon.wso2.com" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://exceptions.core.registry.carbon.wso2.org/xsd">
-            <xs:import namespace="http://services.mgt.tenant.multitenancy.carbon.wso2.com" />
-            <xs:complexType name="RegistryException">
-                <xs:complexContent>
-                    <xs:extension base="ax224:Exception">
-                        <xs:sequence />
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://util.mgt.tenant.multitenancy.carbon.wso2.com/xsd">
-            <xs:complexType name="TenantInfoBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean" />
-                    <xs:element minOccurs="0" name="admin" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="adminPassword" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="successKey" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="tenantId" type="xs:int" />
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="deactivateTenantRequest">
-        <wsdl:part name="parameters" element="ns:deactivateTenant" />
-    </wsdl:message>
-    <wsdl:message name="deactivateTenantResponse" />
-    <wsdl:message name="RegistryException">
-        <wsdl:part name="parameters" element="ns:RegistryException" />
-    </wsdl:message>
-    <wsdl:message name="activateTenantRequest">
-        <wsdl:part name="parameters" element="ns:activateTenant" />
-    </wsdl:message>
-    <wsdl:message name="activateTenantResponse" />
-    <wsdl:message name="validateOrSuggestDomainRequest">
-        <wsdl:part name="parameters" element="ns:validateOrSuggestDomain" />
-    </wsdl:message>
-    <wsdl:message name="validateOrSuggestDomainResponse">
-        <wsdl:part name="parameters" element="ns:validateOrSuggestDomainResponse" />
-    </wsdl:message>
-    <wsdl:message name="addTenantRequest">
-        <wsdl:part name="parameters" element="ns:addTenant" />
-    </wsdl:message>
-    <wsdl:message name="addTenantResponse" />
-    <wsdl:message name="proceedTenantAddingRequest">
-        <wsdl:part name="parameters" element="ns:proceedTenantAdding" />
-    </wsdl:message>
-    <wsdl:message name="proceedTenantAddingResponse">
-        <wsdl:part name="parameters" element="ns:proceedTenantAddingResponse" />
-    </wsdl:message>
-    <wsdl:message name="getTenantsRequest" />
-    <wsdl:message name="getTenantsResponse">
-        <wsdl:part name="parameters" element="ns:getTenantsResponse" />
-    </wsdl:message>
-    <wsdl:message name="checkDomainAvailabilityRequest">
-        <wsdl:part name="parameters" element="ns:checkDomainAvailability" />
-    </wsdl:message>
-    <wsdl:message name="checkDomainAvailabilityResponse">
-        <wsdl:part name="parameters" element="ns:checkDomainAvailabilityResponse" />
-    </wsdl:message>
-    <wsdl:message name="Exception">
-        <wsdl:part name="parameters" element="ns:Exception" />
-    </wsdl:message>
-    <wsdl:message name="getTenantRequest">
-        <wsdl:part name="parameters" element="ns:getTenant" />
-    </wsdl:message>
-    <wsdl:message name="getTenantResponse">
-        <wsdl:part name="parameters" element="ns:getTenantResponse" />
-    </wsdl:message>
-    <wsdl:message name="updateTenantRequest">
-        <wsdl:part name="parameters" element="ns:updateTenant" />
-    </wsdl:message>
-    <wsdl:message name="updateTenantResponse" />
-    <wsdl:portType name="TenantConfigServicePortType">
-        <wsdl:operation name="deactivateTenant">
-            <wsdl:input message="ns:deactivateTenantRequest" wsaw:Action="urn:deactivateTenant" />
-            <wsdl:output message="ns:deactivateTenantResponse" wsaw:Action="urn:deactivateTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:deactivateTenantRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <wsdl:input message="ns:activateTenantRequest" wsaw:Action="urn:activateTenant" />
-            <wsdl:output message="ns:activateTenantResponse" wsaw:Action="urn:activateTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:activateTenantRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="validateOrSuggestDomain">
-            <wsdl:input message="ns:validateOrSuggestDomainRequest" wsaw:Action="urn:validateOrSuggestDomain" />
-            <wsdl:output message="ns:validateOrSuggestDomainResponse" wsaw:Action="urn:validateOrSuggestDomainResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:validateOrSuggestDomainRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <wsdl:input message="ns:addTenantRequest" wsaw:Action="urn:addTenant" />
-            <wsdl:output message="ns:addTenantResponse" wsaw:Action="urn:addTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:addTenantRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="proceedTenantAdding">
-            <wsdl:input message="ns:proceedTenantAddingRequest" wsaw:Action="urn:proceedTenantAdding" />
-            <wsdl:output message="ns:proceedTenantAddingResponse" wsaw:Action="urn:proceedTenantAddingResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:proceedTenantAddingRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="getTenants">
-            <wsdl:input message="ns:getTenantsRequest" wsaw:Action="urn:getTenants" />
-            <wsdl:output message="ns:getTenantsResponse" wsaw:Action="urn:getTenantsResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:getTenantsRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="checkDomainAvailability">
-            <wsdl:input message="ns:checkDomainAvailabilityRequest" wsaw:Action="urn:checkDomainAvailability" />
-            <wsdl:output message="ns:checkDomainAvailabilityResponse" wsaw:Action="urn:checkDomainAvailabilityResponse" />
-            <wsdl:fault message="ns:Exception" name="Exception" wsaw:Action="urn:checkDomainAvailabilityException" />
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <wsdl:input message="ns:getTenantRequest" wsaw:Action="urn:getTenant" />
-            <wsdl:output message="ns:getTenantResponse" wsaw:Action="urn:getTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:getTenantRegistryException" />
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <wsdl:input message="ns:updateTenantRequest" wsaw:Action="urn:updateTenant" />
-            <wsdl:output message="ns:updateTenantResponse" wsaw:Action="urn:updateTenantResponse" />
-            <wsdl:fault message="ns:RegistryException" name="RegistryException" wsaw:Action="urn:updateTenantRegistryException" />
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="TenantConfigServiceSoap11Binding" type="ns:TenantConfigServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-        <wsdl:operation name="deactivateTenant">
-            <soap:operation soapAction="urn:deactivateTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <soap:operation soapAction="urn:activateTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="validateOrSuggestDomain">
-            <soap:operation soapAction="urn:validateOrSuggestDomain" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <soap:operation soapAction="urn:addTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="proceedTenantAdding">
-            <soap:operation soapAction="urn:proceedTenantAdding" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getTenants">
-            <soap:operation soapAction="urn:getTenants" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="checkDomainAvailability">
-            <soap:operation soapAction="urn:checkDomainAvailability" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="Exception">
-                <soap:fault use="literal" name="Exception" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <soap:operation soapAction="urn:getTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <soap:operation soapAction="urn:updateTenant" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantConfigServiceSoap12Binding" type="ns:TenantConfigServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-        <wsdl:operation name="deactivateTenant">
-            <soap12:operation soapAction="urn:deactivateTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <soap12:operation soapAction="urn:activateTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="validateOrSuggestDomain">
-            <soap12:operation soapAction="urn:validateOrSuggestDomain" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <soap12:operation soapAction="urn:addTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="proceedTenantAdding">
-            <soap12:operation soapAction="urn:proceedTenantAdding" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getTenants">
-            <soap12:operation soapAction="urn:getTenants" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="checkDomainAvailability">
-            <soap12:operation soapAction="urn:checkDomainAvailability" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="Exception">
-                <soap12:fault use="literal" name="Exception" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <soap12:operation soapAction="urn:getTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <soap12:operation soapAction="urn:updateTenant" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="RegistryException">
-                <soap12:fault use="literal" name="RegistryException" />
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantConfigServiceHttpBinding" type="ns:TenantConfigServicePortType">
-        <http:binding verb="POST" />
-        <wsdl:operation name="deactivateTenant">
-            <http:operation location="deactivateTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="deactivateTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="deactivateTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <http:operation location="activateTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="activateTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="activateTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="validateOrSuggestDomain">
-            <http:operation location="validateOrSuggestDomain" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="validateOrSuggestDomain" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="validateOrSuggestDomain" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <http:operation location="addTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="addTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="addTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="proceedTenantAdding">
-            <http:operation location="proceedTenantAdding" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="proceedTenantAdding" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="proceedTenantAdding" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getTenants">
-            <http:operation location="getTenants" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="getTenants" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="getTenants" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="checkDomainAvailability">
-            <http:operation location="checkDomainAvailability" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="checkDomainAvailability" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="checkDomainAvailability" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <http:operation location="getTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="getTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="getTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <http:operation location="updateTenant" />
-            <wsdl:input>
-                <mime:content type="text/xml" part="updateTenant" />
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="updateTenant" />
-            </wsdl:output>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="TenantConfigService">
-        <wsdl:port name="TenantConfigServiceHttpsSoap11Endpoint" binding="ns:TenantConfigServiceSoap11Binding">
-            <soap:address location="https://10.100.1.125:9443/services/TenantConfigService.TenantConfigServiceHttpsSoap11Endpoint/" />
-        </wsdl:port>
-        <wsdl:port name="TenantConfigServiceHttpsSoap12Endpoint" binding="ns:TenantConfigServiceSoap12Binding">
-            <soap12:address location="https://10.100.1.125:9443/services/TenantConfigService.TenantConfigServiceHttpsSoap12Endpoint/" />
-        </wsdl:port>
-        <wsdl:port name="TenantConfigServiceHttpsEndpoint" binding="ns:TenantConfigServiceHttpBinding">
-            <http:address location="https://10.100.1.125:9443/services/TenantConfigService.TenantConfigServiceHttpsEndpoint/" />
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/css/loginpage.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/css/loginpage.css b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/css/loginpage.css
deleted file mode 100644
index c69f1c6..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/css/loginpage.css
+++ /dev/null
@@ -1,268 +0,0 @@
-body {
-	color:#111111;
-	font-family:"Calibri","Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms" !important;
-	font-size:0.75em;
-	font-size-adjust:none;
-	font-style:normal;
-	font-variant:normal;
-	font-weight:normal;
-	line-height:1.25em;
-	background-image: url(../images/body-bg.gif);
-	background-position: left top;
-	background-repeat: repeat-x;
-	margin: 0px;
-	padding: 0px;
-}
-
-div.clear {
-	clear:both;
-}
-p { }
-
-td { }
-
-a:link { }
-
-a:visited { }
-
-a:hover { }
-
-a:active { }
-
-div#login-content {
-	background-image:url(../images/login-bg.gif);
-	background-position:left top;
-	background-repeat:no-repeat;
-	height:277px;
-	left:50%;
-	margin-left:-481px;
-	position:absolute;
-	text-align:center;
-	width:962px;
-}
-div#login-content div.main-text {
-	margin-top: 113px;
-	margin-left: 50px;
-	float: left;
-	width: 750px;
-	font-size: 140%;
-	line-height: 125%;
-	height: 80px;
-	text-align: left;
-}
-div.feature {
-	float:left;
-	margin-left:79px;
-	margin-top:23px;
-	padding-bottom:20px;
-	padding-top:20px;
-	text-align:left;
-	width:221px;
-}
-div.feature img {
-	float: left;
-	margin-right: 10px;
-	width: 64px;
-}
-div.feature h2 {
-	margin-top: 0px;
-	margin-bottom: 7px;
-	color: #0499CC;
-	font-size: 155%;
-	line-height: 110%;
-	font-weight: normal;
-	
-}
-div.feature p {
-	margin-top: 0px;
-	padding-top: 0px;
-}
-div#login-content div.feature-left {
-	margin-left: 70px;
-}
-a.register-button {
-	background-image:url(../images/reg-button.gif);
-	background-position:left top;
-	background-repeat:no-repeat;
-	color:#FFFFFF;
-	cursor:pointer;
-	display:block;
-	font-size:220%;
-	font-weight:normal;
-	line-height:63px;
-	margin:auto auto 5px;
-	text-align:left;
-	text-decoration:none;
-	text-indent:25px;
-	width:444px;
-}
-a.register-button:hover {
-	background-image: url(../images/reg-button-hover.gif);
-}
-div.resources {
-	text-align: center;
-}
-div.resources a {
-	background-image:url("../images/link-icon.gif");
-	background-position:right 4px;
-	background-repeat:no-repeat;
-	color:#004990;
-	font-size:130%;
-	line-height:20px;
-	padding-right:15px;
-	text-decoration:none;
-}
-div.resources a:hover {
-	color: #000000;
-}
-table.adv {
-	width: 100%;
-	margin-top: 15px;
-}
-table.adv tr td {
-	vertical-align: top;
-	text-align: center;
-}
-td#ad {
-	height:210px;
-	width: 50%;	
-}
-div#sign-in {
-	text-align:left;
-	width: 580px;
-	margin: auto;
-}
-div#sign-in div.sign-in-form {
-	width: 580px;
-}
-div#sign-in h2 {
-	border-bottom:1px solid #78BDE8;
-	font-size:130%;
-	margin-bottom:10px;
-	margin-top:0;
-	padding-bottom:10px;
-	padding-top:0;
-}
-div#sign-in table tr td.top {
-	padding-top: 10px;
-}
-div#sign-in table tr td {
-	padding-bottom:5px;
-	padding-right:7px;
-}
-div#sign-in table {
-	border-bottom:1px solid #0499CC;
-	margin-bottom:7px;
-}
-div#sign-in table tr td.title {
-	font-size: 180%;
-	font-weight: bold;
-	padding-bottom: 10px;
-	padding-top: 0px;
-	text-align: left;
-}
-#loginForm td label{
-    font-size:12px;
-}
-div#sign-in a.help {
-	font-size: 14px;
-	text-decoration: none;
-	color: #00447C;
-}
-td#ad iframe.ad-frame {
-	border: 0px;
-	width: 420px;
-	height: 210px;
-	margin: 0px;
-	padding: 0px;
-}
-div#footer {
-	margin-top: 30px;
-	height: 50px;
-	border-top: solid 1px #009FC2;
-	padding-top: 7px;
-	text-align: left;
-}
-div#footer a {
-	text-decoration: none;
-	color: #00447C;
-}
-div#footer div.powered {
-	float: right;
-	font-size: 11px;
-	color: #333;
-}
-div#footer div.powered span {
-	float: left;
-	margin-right: 5px;
-	line-height: 23px;
-}
-div#sign-in table.sign-in {
-	border-bottom: 0px;
-}
-div#sign-in table tr td {
-	padding-top: 10px;
-	width: 290px;
-}
-div#sign-in table tbody tr td.third-party {
-	border-left: dotted 1px #cccccc;
-	padding: 20px;
-}
-div#sign-in table tbody tr td.third-party a img {
-	border: 0px;
-	margin-top: 10px;
-}
-.sign-in-box{
-    -moz-border-radius: 5px;
-    border-radius: 5px;
-    border:solid 1px #b5dff7;
-    background-color:#ebf7fd;
-    padding-left:10px;
-    width:800px;
-    margin-left:70px;
-
-        -moz-box-shadow: 0 0 3px #999;
-    -webkit-box-shadow: 0 0 3px #999;
-    box-shadow: 0 0 3px #999;
-}
-.sign-in-box h3{
-    color:#0499cc;
-    font-size:12px;
-    font-weight:bold;
-    padding-bottom:10px;
-}
-.sign-in-box table tr td{
-    text-align:left !important;
-}
-.user_pass_table a{
-    font-size:11px;
-}
-.user_pass_table td{
-    padding:4px;
-    text-align:left !important;
-}
-.sign-in-box div.help_txt{
-    color: #666666;
-    line-height:20px;
-}
-.user_pass_td{
-    border-right:solid 1px #ccc;
-}
-.google-app-td{
-    padding-left:10px;
-    width:300px;
-}
-#loginBoxGoogle{
-    margin-top:15px;
-}
-#loginBoxGoogle div.help_txt{
-    font-size:11px;
-}
-h2.stratos-Signin{
-    color:#0499cc;
-    font-size:22px;
-    line-height:30px;
-}
-.google-app-td img{
-    cursor:pointer;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/css/tenant.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/css/tenant.css b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/css/tenant.css
deleted file mode 100644
index 2f06cc5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/css/tenant.css
+++ /dev/null
@@ -1,62 +0,0 @@
-/*css editor styles */
-.csseditor-top-line{
-    background-color:black;
-    height:5px;
-}
-.csseditor-leftbox{
-    background-color:#9a9a9a;
-    padding-left:5px;
-    padding-right:5px;
-    padding-bottom:5px;
-    padding-top:15px;
-   height:380px;
-}
-.csseditor-leftbox-top{
-    color:#ffffff;
-    font-size:18px;
-    height:30px;
-}
-.csseditor-textbox{
-    background-color:#dfe7ed;
-    border:solid 1px #ffffff;
-    width:100%;
-}
-.csseditor-rightbox{
-    background-color:#c9c9c9;
-    border:solid 1px #ffffff;
-    height:400px;
-}
-.csseditor-rightbox-title{
-    background-color:#9a9a9a;
-    height:25px;
-    color:#ffffff;
-    padding-left:10px;
-    padding-top:5px;
-}
-.csseditor-searchbox{
-    padding-left:10px;
-    padding-top:10px;
-}
-#flickr_results{
-    height:300px;
-    overflow-y:auto;
-    overflow-x:hidden;
-    margin-left:5px;
-    margin-right:5px;
-    border:solid 1px #ffffff;
-}
-.imageList{
-}
-.imageList li {
-    padding-top: 3px !important;
-    padding-left: 5px !important;
-    background-color: #e1e9ec;
-    border: solid 1px #b5bdc1;
-}
-
-.imageList li a {
-    background-image: url(../images/images.gif);
-    background-repeat: no-repeat;
-    padding-left: 20px;
-    text-indent: 50px;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-no-domain.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-no-domain.png b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-no-domain.png
deleted file mode 100644
index 2d5408c..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-no-domain.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-with-domain.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-with-domain.png b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-with-domain.png
deleted file mode 100644
index 764ce0f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/images/sign-in-with-domain.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/userguide.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/userguide.html b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/userguide.html
deleted file mode 100644
index 8b175f6..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/docs/userguide.html
+++ /dev/null
@@ -1,113 +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.
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-  <title>WSO2 Stratos Services Sign In - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-<h1>WSO2 Stratos Services Sign In</h1>
-
-<p>
-You can use this form to sign in to the WSO2 Statos Admin Console. You can access this page from one of the following urls.
-</p>
-
-<p>
-<ol>
-    <li>The common login: <a href="https://stratoslive.wso2.com">https://stratoslive.wso2.com</a></li>
-    <li>The domain name specific login: <a href="https://stratoslive.wso2.com/t/yourdomoain">https://stratoslive.wso2.com/t/yourdomoain</a>  (e.g. for the wso2.org domain: <a href="https://stratoslive.wso2.com/t/wso2.org">https://stratoslive.wso2.com/t/wso2.org</a>)</li>
-</ol>
-</p>
-
-<h2>1. The common login: When accessed through <a href="https://stratoslive.wso2.com">https://stratoslive.wso2.com<a/></h2>
-
-<p>
-<img src="images/sign-in-no-domain.png" alt="When accessed through https://stratoslive.wso2.com"/>
-</p>
-<p><strong>Figure1: Sign In Form When accessed through <a href="https://stratoslive.wso2.com">https://stratoslive.wso2.com</a></strong></p>
-
-<p>
-
-<table border="1px">
-    <thead style="background:#cccccc">
-        <td>
-            The Form Field
-        </td>
-        <td>
-            Description
-        </td>
-    </thead>
-    <tbody>
-        <tr>
-            <td>Username</td>
-            <td><p>For this field you need to enter the username in the following format.</p>
-                <pre>yourname@yourdomain</pre>
-                <p>E.g. foo@wso2.com</p>
-            </td>
-        </tr>
-        <tr>
-            <td>Password</td>
-            <td>The Password of your user account
-            </td>
-        </tr>
-    </tbody>
-</table>
-</p>
-
-
-<h2>2. The domain name specific login: When accessed through <a href="https://stratoslive.wso2.com/t/yourdomoain">https://stratoslive.wso2.com/t/yourdomoain</a></h2>
-
-<p>
-<img src="images/sign-in-with-domain.png" alt="When accessed through https://stratoslive.wso2.com/t/yourdomain"/>
-</p>
-<p><strong>Figure1: Sign In Form When accessed through <a href="https://stratoslive.wso2.com/t/yourdomoain">https://stratoslive.wso2.com/t/yourdomoain</a></strong></p>
-
-<p>
-
-<table border="1px">
-    <thead style="background:#cccccc">
-        <td>
-            The Form Field
-        </td>
-        <td>
-            Description
-        </td>
-    </thead>
-    <tbody>
-        <tr>
-            <td>Username</td>
-            <td><p>For this field you only need to enter the username as the domain name is already suggested for you. Note that derives the domain
-            name from the url. So in case you want to login to an account in a different domain you have to change the url of the correct domain specific
-            login and try entering the username and password.</p>
-            </td>
-        </tr>
-        <tr>
-            <td>Password</td>
-            <td>The Password of your user account
-            </td>
-        </tr>
-    </tbody>
-</table>
-</p>
-
-
-</body>
-
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/domain_rename_checker_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/domain_rename_checker_ajaxprocessor.jsp b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/domain_rename_checker_ajaxprocessor.jsp
deleted file mode 100644
index 083c0ed..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/domain_rename_checker_ajaxprocessor.jsp
+++ /dev/null
@@ -1,46 +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.
- -->
-<%@ page import="org.wso2.stratos.gaas.login.ui.utils.TenantConfigUtil" %><%
-/* this script is used to alter the old registrants to */
-String domain = request.getParameter("domain");
-
-try {
-    if (TenantConfigUtil.isDomainRegistered(domain, config, session)) {
-%>
-----success----
-<%
-    }
-    else {
-        String trialDomain = domain + "-trial";
-        if (TenantConfigUtil.isDomainRegistered(trialDomain, config, session)) {
-%>
-----trial----
-<%
-        }
-        else {
-%>
-----failed----
-<%
-        }
-    }
-} catch (Exception e) {
-%>
-----failed----
-<%
-}
-%>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/body-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/body-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/body-bg.gif
deleted file mode 100644
index 950ebf7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/body-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-01-icon.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-01-icon.gif
deleted file mode 100644
index ff3ba26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-01-icon.gif and /dev/null differ


[29/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/pom.xml b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/pom.xml
deleted file mode 100755
index 93c9596..0000000
--- a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/pom.xml
+++ /dev/null
@@ -1,71 +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.
- -->
-<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">
-    
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.manager</groupId>
-    <artifactId>cloud-services-icons</artifactId>
-    <version>1.0.0</version>
-    <packaging>pom</packaging>
-    <name>cloud-services-icons</name>
-    <description>WSO2 Manager - Cloud Services Icons</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-war-plugin</artifactId>
-                <version>2.1.1</version>
-                <executions>
-                    <execution>
-				        <id>war</id>
-				        <phase>package</phase>
-				        <goals>
-					        <goal>war</goal>
-				        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-				    <warName>cloud-services-icons</warName>
-			        <failOnMissingWebXml>false</failOnMissingWebXml>  
-			        <webResources>
-					    <resource>
-					        <directory>.</directory>
-				        </resource>
-		            </webResources>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <organization>
-        <name>WSO2 Inc</name>
-        <url>http://wso2.com</url>
-    </organization>
-
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ss.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ss.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ss.gif
deleted file mode 100755
index f2bcc75..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ss.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ts.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ts.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ts.gif
deleted file mode 100755
index a2f3ebc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ts.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/appserver-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/appserver-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/appserver-logo.gif
deleted file mode 100755
index 55e4751..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/appserver-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/bam-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/bam-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/bam-logo.gif
deleted file mode 100755
index f8b6a74..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/bam-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/bps-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/bps-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/bps-logo.gif
deleted file mode 100755
index 5dd2171..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/bps-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/brs-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/brs-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/brs-logo.gif
deleted file mode 100755
index ccba887..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/brs-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/csg-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/csg-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/csg-logo.gif
deleted file mode 100755
index e69aaa6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/csg-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/ds-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/ds-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/ds-logo.gif
deleted file mode 100755
index f70a205..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/ds-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/esb-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/esb-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/esb-logo.gif
deleted file mode 100755
index 95cb5b3..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/esb-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/gadget-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/gadget-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/gadget-logo.gif
deleted file mode 100755
index 8e89ef5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/gadget-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/governance-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/governance-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/governance-logo.gif
deleted file mode 100755
index af1ac45..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/governance-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/identity-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/identity-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/identity-logo.gif
deleted file mode 100755
index a2447bc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/identity-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/mashup-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/mashup-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/mashup-logo.gif
deleted file mode 100755
index f8ed9be..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/powerded-by-logos/mashup-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/billing-script/billing-h2.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/billing-script/billing-h2.sql b/products/stratos2/stratos_controller/1.0.1/billing-script/billing-h2.sql
deleted file mode 100755
index e70be14..0000000
--- a/products/stratos2/stratos_controller/1.0.1/billing-script/billing-h2.sql
+++ /dev/null
@@ -1,109 +0,0 @@
-CREATE TABLE IF NOT EXISTS BC_CUSTOMER (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_NAME VARCHAR (64),
-             BC_STARTED_DATE TIMESTAMP,
-             BC_EMAIL VARCHAR (64),
-             BC_ADDRESS VARCHAR (256),
-             CONSTRAINT PK_BC_CUSTOMER PRIMARY KEY (BC_ID)
-);
-
-CREATE HASH INDEX BC_CUSTOMER_IND_BY_BC_NAME ON BC_CUSTOMER(BC_NAME);
-CREATE HASH INDEX BC_CUSTOMER_IND_BY_BC_EMAIL ON BC_CUSTOMER(BC_EMAIL);
-
-CREATE TABLE IF NOT EXISTS BC_ITEM (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_NAME VARCHAR (64),
-             BC_COST VARCHAR (64),
-             BC_DESCRIPTION VARCHAR(128),
-             BC_PARENT_ITEM_ID INTEGER,
-             CONSTRAINT PK_BC_ITEM PRIMARY KEY (BC_ID)
-);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Demo',NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('SMB',NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Professional',NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ('Enterprise',NULL,NULL,NULL);
-
-ALTER TABLE BC_ITEM ADD CONSTRAINT IF NOT EXISTS BC_ITEM_FK_BY_PARENT_ITEM_ID FOREIGN KEY (BC_PARENT_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
-
-
-CREATE TABLE IF NOT EXISTS BC_SUBSCRIPTION (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_FILTER VARCHAR (32),
-             BC_IS_ACTIVE INTEGER,
-             BC_ACTIVE_SINCE TIMESTAMP,
-             BC_ACTIVE_UNTIL TIMESTAMP,
-             BC_ITEM_ID INTEGER,
-             BC_TENANT_ID INTEGER,
-             CONSTRAINT PK_BC_SUBSCRIPTION PRIMARY KEY (BC_ID)
-);
-
-ALTER TABLE BC_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_SUBSCRIPTION_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_TENANT_ID INTEGER,
-             BC_DATE TIMESTAMP,
-             BC_START_DATE TIMESTAMP,
-             BC_END_DATE TIMESTAMP,
-             BC_BOUGHT_FORWARD VARCHAR (64),
-             BC_CARRIED_FORWARD VARCHAR (64),
-             BC_TOTAL_PAYMENTS VARCHAR (64),
-             BC_TOTAL_COST VARCHAR (64),
-             CONSTRAINT PK_BC_INVOICE PRIMARY KEY (BC_ID)
-);
-
-
-CREATE TABLE IF NOT EXISTS BC_PAYMENT (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_DATE TIMESTAMP,
-             BC_AMOUNT VARCHAR (64),
-             BC_DESCRIPTION VARCHAR (128),
-             BC_INVOICE_ID INTEGER,
-	     	 BC_TENANT_ID INTEGER,	
-             CONSTRAINT PK_BC_PAYMENT PRIMARY KEY (BC_ID)
-);
-
-ALTER TABLE BC_PAYMENT ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
-
--- this is n-n relationship
-CREATE TABLE IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION (
-             BC_PAYMENT_ID INTEGER,
-             BC_SUBSCRIPTION_ID INTEGER,
-             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_PAYMENT_ID, BC_SUBSCRIPTION_ID)
-);
-
-ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION_FK_BY_PAYMENT_ID FOREIGN KEY (BC_PAYMENT_ID) REFERENCES BC_PAYMENT (BC_ID);
-ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION (
-             BC_ID INTEGER  AUTO_INCREMENT,
-             BC_INVOICE_ID INTEGER,
-             BC_SUBSCRIPTION_ID INTEGER,
-             CONSTRAINT PK_BC_INVOICE_ITEM PRIMARY KEY (BC_ID)
-);
-
-ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
-ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
-
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM (
-             BC_INVOICE_SUBSCRIPTION_ID INTEGER,
-             BC_ITEM_ID INTEGER,
-             BC_COST VARCHAR (64),
-	     BC_DESCRIPTION VARCHAR (64),	
-             CONSTRAINT PK_BC_INVOICE_SUBSCRIPTION_ITEM PRIMARY KEY (BC_INVOICE_SUBSCRIPTION_ID, BC_ITEM_ID)
-);
-
-ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_INVOICE_SUBSCRIPTION_ID FOREIGN KEY (BC_INVOICE_SUBSCRIPTION_ID) REFERENCES BC_INVOICE_SUBSCRIPTION (BC_ID);
-ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM(BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_DISCOUNT (
-	BC_ID INTEGER AUTO_INCREMENT,
-	BC_TENANT_ID INTEGER,
-	BC_PERCENTAGE FLOAT,
-	BC_AMOUNT FLOAT,
-	BC_START_DATE TIMESTAMP,
-	BC_END_DATE TIMESTAMP,
-	BC_PERCENTAGE_TYPE INTEGER,
-	CONSTRAINT PK_BC_DISCOUNT PRIMARY KEY (BC_ID)
-);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/billing-script/billing-mysql.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/billing-script/billing-mysql.sql b/products/stratos2/stratos_controller/1.0.1/billing-script/billing-mysql.sql
deleted file mode 100755
index 55cab9a..0000000
--- a/products/stratos2/stratos_controller/1.0.1/billing-script/billing-mysql.sql
+++ /dev/null
@@ -1,120 +0,0 @@
-CREATE TABLE IF NOT EXISTS BC_CUSTOMER (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_NAME VARCHAR (64),
-             BC_STARTED_DATE TIMESTAMP,
-             BC_EMAIL VARCHAR (64),
-             BC_ADDRESS VARCHAR (256),
-             CONSTRAINT PK_BC_CUSTOMER PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-CREATE INDEX BC_CUSTOMER_IND_BY_BC_NAME USING HASH ON BC_CUSTOMER(BC_NAME);
-CREATE INDEX BC_CUSTOMER_IND_BY_BC_EMAIL USING HASH ON BC_CUSTOMER(BC_EMAIL);
-
-CREATE TABLE IF NOT EXISTS BC_ITEM (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_NAME VARCHAR (64),
-             BC_COST VARCHAR (64),
-             BC_DESCRIPTION VARCHAR(128),
-             BC_PARENT_ITEM_ID INTEGER,
-             CONSTRAINT PK_BC_ITEM PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Demo",NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("SMB",NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Professional",NULL,NULL,NULL);
-INSERT INTO BC_ITEM (BC_NAME,BC_COST,BC_DESCRIPTION,BC_PARENT_ITEM_ID) values ("Enterprise",NULL,NULL,NULL);
-
-ALTER TABLE BC_ITEM ADD CONSTRAINT BC_ITEM_FK_BY_PARENT_ITEM_ID FOREIGN KEY (BC_PARENT_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
-
-
-CREATE TABLE IF NOT EXISTS BC_SUBSCRIPTION (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_FILTER VARCHAR (32),
-             BC_IS_ACTIVE INTEGER,
-             BC_ACTIVE_SINCE TIMESTAMP,
-             BC_ACTIVE_UNTIL TIMESTAMP,
-             BC_ITEM_ID INTEGER,
-             BC_TENANT_ID INTEGER,
-             CONSTRAINT PK_BC_SUBSCRIPTION PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_SUBSCRIPTION ADD CONSTRAINT BC_SUBSCRIPTION_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_TENANT_ID INTEGER,
-             BC_DATE TIMESTAMP,
-             BC_START_DATE TIMESTAMP,
-             BC_END_DATE TIMESTAMP,
-             BC_BOUGHT_FORWARD VARCHAR (64),
-             BC_CARRIED_FORWARD VARCHAR (64),
-             BC_TOTAL_PAYMENTS VARCHAR (64),
-             BC_TOTAL_COST VARCHAR (64),
-             CONSTRAINT PK_BC_INVOICE PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-
-CREATE TABLE IF NOT EXISTS BC_PAYMENT (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_DATE TIMESTAMP,
-             BC_AMOUNT VARCHAR (64),
-             BC_DESCRIPTION VARCHAR (128),
-             BC_INVOICE_ID INTEGER,
-	     BC_TENANT_ID INTEGER,	
-             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_PAYMENT ADD CONSTRAINT BC_PAYMENT_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_REGISTRATION_PAYMENT (
-             BC_ID INTEGER AUTO_INCREMENT,
-             BC_DATE TIMESTAMP,
-             BC_AMOUNT VARCHAR (64),
-             BC_DESCRIPTION VARCHAR (128),
-			 BC_USAGE_PLAN VARCHAR (64),
-	     	 BC_TENANT_ID INTEGER,	
-             CONSTRAINT PK_BC_REGISTRATION_PAYMENT PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
--- this is n-n relationship
-CREATE TABLE IF NOT EXISTS BC_PAYMENT_SUBSCRIPTION (
-             BC_PAYMENT_ID INTEGER,
-             BC_SUBSCRIPTION_ID INTEGER,
-             CONSTRAINT PK_BC_SUBSCRIPTION_ORDER PRIMARY KEY (BC_PAYMENT_ID, BC_SUBSCRIPTION_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT BC_PAYMENT_SUBSCRIPTION_FK_BY_PAYMENT_ID FOREIGN KEY (BC_PAYMENT_ID) REFERENCES BC_PAYMENT (BC_ID);
-ALTER TABLE BC_PAYMENT_SUBSCRIPTION ADD CONSTRAINT BC_PAYMENT_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION (
-             BC_ID INTEGER  AUTO_INCREMENT,
-             BC_INVOICE_ID INTEGER,
-             BC_SUBSCRIPTION_ID INTEGER,
-             CONSTRAINT PK_BC_INVOICE_ITEM PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_FK_BY_INVOICE_ID FOREIGN KEY (BC_INVOICE_ID) REFERENCES BC_INVOICE (BC_ID);
-ALTER TABLE BC_INVOICE_SUBSCRIPTION ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_FK_BY_SUBSCRIPTION_ID FOREIGN KEY (BC_SUBSCRIPTION_ID) REFERENCES BC_SUBSCRIPTION (BC_ID);
-
-
-CREATE TABLE IF NOT EXISTS BC_INVOICE_SUBSCRIPTION_ITEM (
-             BC_INVOICE_SUBSCRIPTION_ID INTEGER,
-             BC_ITEM_ID INTEGER,
-             BC_COST VARCHAR (64),
-	     BC_DESCRIPTION varchar (64),	
-             CONSTRAINT PK_BC_INVOICE_SUBSCRIPTION_ITEM PRIMARY KEY (BC_INVOICE_SUBSCRIPTION_ID, BC_ITEM_ID)
-)ENGINE INNODB;
-
-ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_INVOICE_SUBSCRIPTION_ID FOREIGN KEY (BC_INVOICE_SUBSCRIPTION_ID) REFERENCES BC_INVOICE_SUBSCRIPTION (BC_ID);
-ALTER TABLE BC_INVOICE_SUBSCRIPTION_ITEM ADD CONSTRAINT BC_INVOICE_SUBSCRIPTION_ITEM_FK_BY_ITEM_ID FOREIGN KEY (BC_ITEM_ID) REFERENCES BC_ITEM(BC_ID);
-
-CREATE TABLE IF NOT EXISTS BC_DISCOUNT (
-        BC_ID INTEGER AUTO_INCREMENT,
-        BC_TENANT_ID INTEGER,
-        BC_PERCENTAGE FLOAT,
-        BC_AMOUNT FLOAT,
-        BC_START_DATE TIMESTAMP,
-        BC_END_DATE TIMESTAMP,
-        BC_PERCENTAGE_TYPE INTEGER,
-        CONSTRAINT PK_BC_DISCOUNT PRIMARY KEY (BC_ID)
-)ENGINE INNODB;
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/billing-script/metering_h2.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/billing-script/metering_h2.sql b/products/stratos2/stratos_controller/1.0.1/billing-script/metering_h2.sql
deleted file mode 100755
index 0491b8e..0000000
--- a/products/stratos2/stratos_controller/1.0.1/billing-script/metering_h2.sql
+++ /dev/null
@@ -1,114 +0,0 @@
---
--- TABLES
---
-
-CREATE TABLE IF NOT EXISTS USAGE_HOURLY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        HOUR_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS USAGE_DAILY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        DAY_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS USAGE_MONTHLY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        MONTH_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS USAGE_LAST_HOURLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-	
-CREATE TABLE IF NOT EXISTS USAGE_LAST_DAILY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS USAGE_LAST_MONTHLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_HOURLY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	HOUR_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_DAILY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	DAY_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_MONTHLY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	MONTH_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_HOURLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-	
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_DAILY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_MONTHLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS REGISTRY_USAGE_HOURLY_ANALYTICS ( 
-	ID VARCHAR(50),
-	TENANT_ID VARCHAR(50),	
-	HISTORY_USAGE BIGINT,
-	CURRENT_USAGE BIGINT,
-	PRIMARY KEY (ID)
-); 
-
-
-COMMIT;
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/billing-script/metering_mysql.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/billing-script/metering_mysql.sql b/products/stratos2/stratos_controller/1.0.1/billing-script/metering_mysql.sql
deleted file mode 100755
index 3ab4ee3..0000000
--- a/products/stratos2/stratos_controller/1.0.1/billing-script/metering_mysql.sql
+++ /dev/null
@@ -1,149 +0,0 @@
--- WSO2 METERING DATABASE SQL FOR MySQL
-
-SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
-
-SET AUTOCOMMIT=0;
-START TRANSACTION;
-
---
--- TABLES
---
-
-CREATE TABLE IF NOT EXISTS USAGE_HOURLY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        HOUR_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS USAGE_DAILY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        DAY_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS USAGE_MONTHLY_ANALYTICS (
-        ID VARCHAR(200) NOT NULL,
-        MONTH_FACT TIMESTAMP,
-        SERVER_NAME VARCHAR(100),
-        TENANT_ID VARCHAR(50),
-        PAYLOAD_TYPE VARCHAR(50),
-        PAYLOAD_VALUE  BIGINT,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS USAGE_LAST_HOURLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-	
-CREATE TABLE IF NOT EXISTS USAGE_LAST_DAILY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS USAGE_LAST_MONTHLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_HOURLY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	HOUR_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_DAILY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	DAY_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_MONTHLY_ANALYTICS (
-	ID VARCHAR(200) NOT NULL,
-	MONTH_FACT TIMESTAMP,
-	SERVER_NAME VARCHAR(100),
-	TENANT_ID VARCHAR(50),
-	REQUEST_COUNT BIGINT,
-	RESPONSE_COUNT BIGINT,
-	FAULT_COUNT BIGINT,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_HOURLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-	
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_DAILY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS SERVICE_STATS_LAST_MONTHLY_TS (
-	ID VARCHAR(200) NOT NULL,
-	TIMESTMP TIMESTAMP,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS REGISTRY_USAGE_HOURLY_ANALYTICS ( 
-	ID VARCHAR(50),
-	TENANT_ID VARCHAR(50),	
-	HISTORY_USAGE BIGINT,
-	CURRENT_USAGE BIGINT,
-	PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS CARTRIDGE_STATS_HOURLY_ANALYTICS (
-        HOUR_FACT TIMESTAMP,
-        TENANT_ID VARCHAR(50),
-	CARTRIDGE_TYPE VARCHAR(20),
-	IMAGE_ID VARCHAR(100),
-	NODE_ID VARCHAR(100),
-	DURATION_HOURS INT(5),
-        PRIMARY KEY (`NODE_ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS CARTRIDGE_STATS_LAST_HOURLY_TS (
-        ID VARCHAR(200) NOT NULL,
-        TIMESTMP TIMESTAMP,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS CARTRIDGE_STATS_LAST_DAILY_TS (
-        ID VARCHAR(200) NOT NULL,
-        TIMESTMP TIMESTAMP,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
-
-CREATE TABLE IF NOT EXISTS CARTRIDGE_STATS_LAST_MONTHLY_TS (
-        ID VARCHAR(200) NOT NULL,
-        TIMESTMP TIMESTAMP,
-        PRIMARY KEY (`ID`)
-) ENGINE=INNODB;
- 
-
-COMMIT;
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/billing-script/migration.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/billing-script/migration.sql b/products/stratos2/stratos_controller/1.0.1/billing-script/migration.sql
deleted file mode 100755
index 379e859..0000000
--- a/products/stratos2/stratos_controller/1.0.1/billing-script/migration.sql
+++ /dev/null
@@ -1,7 +0,0 @@
-ALTER TABLE UM_TENANT ADD UM_CREATED_DATE TIMESTAMP NOT NULL DEFAULT '2010-06-01 00:00:01';  
-ALTER TABLE UM_TENANT ADD UNIQUE INDEX INDEX_UM_TENANT_UM_DOMAIN_NAME (UM_DOMAIN_NAME);
-
-ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_SOURCEPATH (REG_SOURCEPATH, REG_TENANT_ID);
-ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_TARGETPATH (REG_TARGETPATH, REG_TENANT_ID);
-ALTER TABLE REG_ASSOCIATION ADD INDEX REG_ASSOCIATION_INDEX_ASSOCIATION_TYPE (REG_ASSOCIATION_TYPE, REG_TENANT_ID); 
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/billing-script/s2_h2.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/billing-script/s2_h2.sql b/products/stratos2/stratos_controller/1.0.1/billing-script/s2_h2.sql
deleted file mode 100644
index 170c77b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/billing-script/s2_h2.sql
+++ /dev/null
@@ -1,96 +0,0 @@
---
--- Create schema s2_db
---
-
--- CREATE SCHEMA  IF NOT EXISTS s2_db; 
--- SET SCHEMA s2_db;
-
---
--- Definition of table s2_db.CARTRIDGE_INSTANCE
---
-
-DROP TABLE IF EXISTS CARTRIDGE_INSTANCE;
-CREATE TABLE  CARTRIDGE_INSTANCE (
-  ID int(11) NOT NULL AUTO_INCREMENT,
-  INSTANCE_IP varchar(255) NOT NULL,
-  TENANT_ID int(11) DEFAULT NULL,
-  TENANT_DOMAIN varchar(255) DEFAULT NULL,
-  CARTRIDGE_TYPE varchar(255) NOT NULL,
-  STATE varchar(255) NOT NULL,
-  CLUSTER_DOMAIN varchar(255) NOT NULL,
-  CLUSTER_SUBDOMAIN varchar(255) NOT NULL,
-  PRIMARY KEY (ID)
-);
-
---
--- Definition of table CARTRIDGE_SUBSCRIPTION
---
-
-DROP TABLE IF EXISTS CARTRIDGE_SUBSCRIPTION;
-CREATE TABLE  CARTRIDGE_SUBSCRIPTION (
-  SUBSCRIPTION_ID int(11) NOT NULL AUTO_INCREMENT,
-  TENANT_ID int(11) NOT NULL,
-  CARTRIDGE varchar(30) NOT NULL,
-  PROVIDER varchar(30) NOT NULL,
-  HOSTNAME varchar(255) NOT NULL,
-  POLICY varchar(50) NULL,
-  CLUSTER_DOMAIN varchar(255) NOT NULL,
-  CLUSTER_SUBDOMAIN varchar(255) NOT NULL,
-  MGT_DOMAIN varchar(255) NOT NULL,
-  MGT_SUBDOMAIN varchar(255) NOT NULL,
-  STATE varchar(30) NOT NULL,
-  ALIAS varchar(255) NOT NULL,
-  TENANT_DOMAIN varchar(255) NOT NULL,
-  BASE_DIR varchar(255) NOT NULL,
-  REPO_ID int(11) DEFAULT NULL,
-  DATA_CARTRIDGE_ID int(11) DEFAULT NULL,
-  MAPPED_DOMAIN varchar(255),
-  PRIMARY KEY (SUBSCRIPTION_ID)
-);
-
-
-
---
--- Definition of table DATA_CARTRIDGE
---
-
-DROP TABLE IF EXISTS DATA_CARTRIDGE;
-CREATE TABLE  DATA_CARTRIDGE (
-  DATA_CART_ID int(11) NOT NULL AUTO_INCREMENT,
-  TYPE varchar(30) NOT NULL,
-  USER_NAME varchar(255) NOT NULL,
-  PASSWORD varchar(255) NOT NULL,
-  STATE varchar(255) NOT NULL,
-  PRIMARY KEY (DATA_CART_ID) 
-);
-
-
---
--- Definition of table PORT_MAPPING
---
-
-DROP TABLE IF EXISTS PORT_MAPPING;
-CREATE TABLE  PORT_MAPPING (
-  PORT_MAPPING_ID int(11) NOT NULL AUTO_INCREMENT,
-  SUBSCRIPTION_ID int(11) NOT NULL,
-  TYPE varchar(30) NOT NULL,
-  PRIMARY_PORT varchar(30) NOT NULL,
-  PROXY_PORT varchar(30) NOT NULL,
-  STATE varchar(30) NOT NULL,
-  PRIMARY KEY (PORT_MAPPING_ID)
-);
-
-
---
--- Definition of table REPOSITORY
---
-
-DROP TABLE IF EXISTS REPOSITORY;
-CREATE TABLE  REPOSITORY (
-  REPO_ID int(11) NOT NULL AUTO_INCREMENT,
-  REPO_NAME varchar(255) NOT NULL,
-  STATE varchar(30) NOT NULL,
-  REPO_USER_NAME varchar(255) NOT NULL,
-  REPO_USER_PASSWORD varchar(255) NOT NULL,
-  PRIMARY KEY (REPO_ID)
-);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/billing-script/wso2_rss.sql
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/billing-script/wso2_rss.sql b/products/stratos2/stratos_controller/1.0.1/billing-script/wso2_rss.sql
deleted file mode 100755
index 411b1ce..0000000
--- a/products/stratos2/stratos_controller/1.0.1/billing-script/wso2_rss.sql
+++ /dev/null
@@ -1,81 +0,0 @@
-
-CREATE TABLE RSS_INSTANCE (
-  rss_instance_id INTEGER AUTO_INCREMENT,
-  name VARCHAR(128) NOT NULL,
-  server_url VARCHAR(1024) NOT NULL,
-  dbms_type VARCHAR(128) NOT NULL,
-  instance_type VARCHAR(128) NOT NULL,
-  server_category VARCHAR(128) NOT NULL,
-  admin_username VARCHAR(128),
-  admin_password VARCHAR(128),
-  tenant_id INTEGER NOT NULL,
-  UNIQUE (name, tenant_id),
-  PRIMARY KEY (rss_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE DATABASE_INSTANCE (
-  database_instance_id INTEGER AUTO_INCREMENT,
-  name VARCHAR(128) NOT NULL,
-  rss_instance_id INTEGER,
-  tenant_id INTEGER,
-  UNIQUE (name, rss_instance_id),
-  PRIMARY KEY (database_instance_id),
-  FOREIGN KEY (rss_instance_id) REFERENCES RSS_INSTANCE (rss_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE DATABASE_USER (
-  user_id INTEGER AUTO_INCREMENT,
-  db_username VARCHAR(128) NOT NULL,
-  rss_instance_id INTEGER,
-  user_tenant_id INTEGER,
-  UNIQUE (db_username, rss_instance_id, user_tenant_id),
-  PRIMARY KEY (user_id),
-  FOREIGN KEY (rss_instance_id) REFERENCES RSS_INSTANCE (rss_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE DATABASE_INSTANCE_PROPERTY (
-  db_property_id INTEGER AUTO_INCREMENT,
-  prop_name VARCHAR(128) NOT NULL,
-  prop_value TEXT,
-  database_instance_id INTEGER,
-  UNIQUE (prop_name, database_instance_id),
-  PRIMARY KEY (db_property_id),
-  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE USER_DATABASE_ENTRY (
-  user_id INTEGER,
-  database_instance_id INTEGER,
-  PRIMARY KEY (user_id, database_instance_id),
-  FOREIGN KEY (user_id) REFERENCES DATABASE_USER (user_id),
-  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE USER_DATABASE_PERMISSION (
-  user_id INTEGER,
-  database_instance_id INTEGER,
-  perm_name VARCHAR(128) NOT NULL,
-  perm_value VARCHAR(128),
-  PRIMARY KEY (user_id, database_instance_id, perm_name),
-  FOREIGN KEY (user_id) REFERENCES DATABASE_USER (user_id),
-  FOREIGN KEY (database_instance_id) REFERENCES DATABASE_INSTANCE (database_instance_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE WSO2_RSS_DATABASE_INSTANCE_COUNT (
-  instance_count INTEGER NOT NULL DEFAULT 0
-) ENGINE="InnoDB";
-
-CREATE TABLE USER_PRIVILEGE_GROUP (
-  priv_group_id INTEGER AUTO_INCREMENT,
-  priv_group_name VARCHAR(128),
-  tenant_id INTEGER,
-  PRIMARY KEY (priv_group_id, priv_group_name, tenant_id)
-) ENGINE="InnoDB";
-
-CREATE TABLE USER_PRIVILEGE_GROUP_ENTRY (
-  priv_group_id INTEGER,
-  perm_name VARCHAR(128),
-  perm_value CHAR(1),
-  PRIMARY KEY (priv_group_id, perm_name),
-  FOREIGN KEY (priv_group_id) REFERENCES USER_PRIVILEGE_GROUP (priv_group_id)
-) ENGINE="InnoDB";

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/README-STRATOS
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/README-STRATOS b/products/stratos2/stratos_controller/1.0.1/conf/README-STRATOS
deleted file mode 100755
index f41daf5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/README-STRATOS
+++ /dev/null
@@ -1,90 +0,0 @@
-CARBON_HOME/repository/conf directory contains all the Stratos configuration files. 
-carbon/products/manager/conf contains all the Stratos specific configuration files,
- in the source tree structure.
-
-1. announcement.xml
-   Originally added to customize the announcement using the announcement module. Not used as of now.
-
-2. bam.xml
-   The configuration for billing and metering.
-
-3. billing-config.xml
-   Defines the database and the Task for billing. Multi-tenancy billing rules (by default, uses 
-   multitenancy-billing-rules.drl) and email for billing notifications (by default, uses 
-   email-billing-notifications.xml) are specified here.
-
-4. cloud-services-desc.xml
-   This has the configurations for the cloud services. 
-   Label, link, icon, description, and the other similar information for each of the services are
-   given here.
-
-5. email-admin-config.xml
-   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.
-
-6. email-billing-notifications.xml
-   Contains the body of the mail that to be sent as the invoice of the tenant for the period.
-
-7. email-new-tenant-activation.xml
-   Contains the body of the mail that to be sent to the super admin or a given admin email address,
-    when a new tenant activates their unactivated account.
-
-8. email-new-tenant-registration.xml
-   Contains the body of the mail that to be sent to the super admin or a given admin email address,
-    when a new tenant registers for an account.
-
-9. email-password-reset.xml
-   Contains the body of the mail that to be sent when the tenant admin's password is reset, mostly
-   by a service administrator, known as the super-tenant in Stratos-world.
-
-10. email-registration.xml
-   Contains the body of the mail to be sent for the tenant registration validation. 
-   This mail has the registration validation link to validate the email too.
-
-11. email-registration-complete.xml
-    Contains the mail that to be sent upon successful registration and the successful validation 
-    of the email.
-
-12.  email-update.xml
-    Contains the body of the mail that to be sent upon receiving an email change request from the 
-    account management. The new email address will be notified of this change.
-
-13. eula.xml
-    Contains the End User License Agreement for Stratos. Will be displayed during the self-registration
-    of the tenant.
-
-14. identity.xml
-    Security, SSO store, Personal certificate stores of the user, authentication, and the other 
-    identity related parameters can be configured from here.
-
-15. metering-config-non-manager.xml
-    This file contains configuration related to the metering.
-
-16. multitenancy-billing-rules
-    This file defines the rules for the billing for multiple tenants.
-
-17. multitenancy-packages.xml
-    This contains the subscription types and the respective limits of parameters for each of the 
-    packages.
-
-18. README-STRATOS
-    This file. This has the information about the stratos specific configurations files.
-
-19. samples-desc.xml
-    This has the description of the platform sample (currently included, shopping cart sample).
-
-20. stratos.xml
-    This is the configuration file for Stratos specific constants. 
-    Feel free to add your custom parameters and constants here.
-
-21. tenant-reg-agent.xml
-    tenantRegListenerServers configuration
-
-22. throttling-config.xml
-    Configuration file for throttling.
-
-23. throttling-rules.drl
-    Defines the throttling rules.
-
-24. user-mgt.xml
-   The User Manager configuration file used for configuring user management details.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/axis2.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/axis2.xml b/products/stratos2/stratos_controller/1.0.1/conf/axis2.xml
deleted file mode 100755
index f1dc859..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/axis2.xml
+++ /dev/null
@@ -1,525 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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">
-    
-    <!-- ================================================= -->
-    <!--                  Parameters                       -->
-    <!-- ================================================= -->
-
-    <!-- This will give out the timout of the configuration contexts, in milliseconds -->
-    <parameter name="ConfigContextTimeoutInterval" locked="false">30000</parameter>
-
-    <!-- Synapse Configuration file location relative to CARBON_HOME -->
-    <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">localhost</parameter>
-   
-
-    <!-- ================================================= -->
-    <!--                Message Formatters                 -->
-    <!-- ================================================= -->
-
-    <!-- Following content type to message formatter mapping can be used to implement support -->
-    <!-- for different message format serializations in Axis2. These message formats are -->
-    <!-- expected to be resolved based on the content type. -->
-    <messageFormatters>
-        <!--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"/>-->
-        <!--messageFormatter contentType="application/x-www-form-urlencoded"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/-->
-        <messageFormatter contentType="multipart/related"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/txt"
-                        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="text/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"/-->
-
-        <messageFormatter contentType="text/css"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <messageFormatter contentType="image/gif"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="img/gif"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/jpeg"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/png"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/ico"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="image/x-icon"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-	    <messageFormatter contentType="application/x-javascript"
-                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/x-shockwave-flash"
-                             class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/atom+xml"
-                         class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/x-www-form-urlencoded"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/xhtml+xml"
-                              class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-	    <messageFormatter contentType="application/octet-stream"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <messageFormatter contentType="multipart/form-data"
-                          class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/soap+xml"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-        <!--JSON Message Formatters-->
-        <messageFormatter contentType="application/json"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="application/json/badgerfish"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-        <messageFormatter contentType="text/javascript"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-
-        <messageFormatter contentType=".*"
-                        class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
-
-    </messageFormatters>
-
-    <!-- ================================================= -->
-    <!--                Message Builders                   -->
-    <!-- ================================================= -->
-
-    <!-- Following content type to builder mapping can be used to implement support for -->
-    <!-- different message formats in Axis2. These message formats are expected to be -->
-    <!-- resolved based on the content type. -->
-    <messageBuilders>
-        <messageBuilder contentType="application/xml"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/txt"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <!--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"/>
-        <!--messageBuilder contentType="x-application/hessian"
-                        class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-        <!--messageBuilder contentType=""
-                         class="org.apache.synapse.format.hessian.HessianMessageBuilder"/-->
-
-        <!--JSON Message Builders-->
-        <messageBuilder contentType="application/json"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/json/badgerfish"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/javascript"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-        <messageBuilder contentType="text/html"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/css"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="text/javascript"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-        <messageBuilder contentType="image/gif"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="img/gif"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/jpeg"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/png"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/ico"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="image/x-icon"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-	    <messageBuilder contentType="application/x-javascript"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/x-shockwave-flash"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/atom+xml"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/x-www-form-urlencoded"
-                            class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/xhtml+xml"
-                           class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-	    <messageBuilder contentType="application/octet-stream"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/javascript"
-                                 class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-        <messageBuilder contentType="multipart/form-data"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-        <messageBuilder contentType="application/soap+xml"
-                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-
-        <messageBuilder contentType=".*"
-                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
-
-    </messageBuilders>
-
-    <!-- ================================================= -->
-    <!--             Transport Ins (Listeners)             -->
-    <!-- ================================================= -->
-    <!--Default trasnport will be passthrough if you need to change please add it here -->
-   <transportReceiver name="http" class="org.apache.synapse.transport.passthru.PassThroughHttpListener">
-      <parameter name="port">8280</parameter>
-      <parameter name="non-blocking"> true</parameter>
-      <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
-   </transportReceiver>
-   <transportReceiver name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLListener">
-        <parameter name="port" locked="false">8243</parameter>
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor</parameter>
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</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>
-        <!--<parameter name="SSLVerifyClient">require</parameter>
-            supports optional|require or defaults to none -->
-    </transportReceiver>
-
-    <!-- uncomment for non blocking http transport based on HttpCore + NIO extensions -->
-    <!--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-->
-        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</parameter-->
-    <!--/transportReceiver-->
-
-    <!-- the non blocking https transport based on HttpCore + SSL-NIO extensions -->
-    <!--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="bind-address" locked="false">hostname or IP address</parameter-->
-        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
-        <!--parameter name="httpGetProcessor" locked="false">org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor</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-->
-        <!--<parameter name="SSLVerifyClient">require</parameter>
-            supports optional|require or defaults to none -->
-    <!--/transportReceiver-->
-
-    <!-- ================================================= -->
-    <!--             Transport Outs (Senders)              -->
-    <!-- ================================================= -->
-    <!--Default trasnport will be passthrough if you need to change please add it here -->
-    <transportSender name="http"  class="org.apache.synapse.transport.passthru.PassThroughHttpSender">
-        <parameter name="non-blocking" locked="false">true</parameter>
-        <parameter name="warnOnHTTP500" locked="false">*</parameter>
-        <!--parameter name="http.proxyHost" locked="false">localhost</parameter>
-        <parameter name="http.proxyPort" locked="false">3128</parameter>
-        <parameter name="http.nonProxyHosts" locked="false">localhost|moon|sun</parameter-->
-    </transportSender>
-    <transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender">
-        <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>
-        <parameter name="HostnameVerifier">AllowAll</parameter>
-            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
-     </transportSender>
-    <!-- Uncomment for non-blocking http transport based on HttpCore + NIO extensions -->
-    <!--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>
-        <parameter name="HostnameVerifier">AllowAll</parameter-->
-            <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
-    <!--/transportSender-->
-
-    <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
-
-    <!-- ================================================= -->
-    <!--                Clustering                         -->
-    <!-- ================================================= -->
-    <!--
-     To enable clustering for this node, set the value of "enable" attribute of the "clustering"
-     element to "true". The initialization of a node in the cluster is handled by the class
-     corresponding to the "class" attribute of the "clustering" element. It is also responsible for
-     getting this node to join the cluster.
-     -->
-    <clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="true">
-
-        <!--
-           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">wka</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.adc.domain</parameter>
-
-        <!--
-           When a Web service request is received, and processed, before the response is sent to the
-           client, should we update the states of all members in the cluster? If the value of
-           this parameter is set to "true", the response to the client will be sent only after
-           all the members have been updated. Obviously, this can be time consuming. In some cases,
-           such this overhead may not be acceptable, in which case the value of this parameter
-           should be set to "false"
-        -->
-        <parameter name="synchronizeAll">false</parameter>
-
-        <!--
-          The maximum number of times we need to retry to send a message to a particular node
-          before giving up and considering that node to be faulty
-        -->
-        <parameter name="maxRetries">10</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>
-
-        <!-- The frequency of sending membership multicast messages (in ms) -->
-        <parameter name="mcastFrequency">500</parameter>
-
-        <!-- The time interval within which if a member does not respond, the member will be
-         deemed to have left the group (in ms)
-         -->
-        <parameter name="memberDropTime">3000</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 TCP port used by this member. This is the port through which other nodes will
-        contact this member
-         -->
-        <parameter name="localMemberPort">4000</parameter>
-
-        <!--
-        Preserve message ordering. This will be done according to sender order.
-        -->
-        <parameter name="preserveMessageOrder">false</parameter>
-
-        <!--
-        Maintain atmost-once message processing semantics
-        -->
-        <parameter name="atmostOnceMessageSemantics">false</parameter>
-         
-        <!--
-           This interface is responsible for handling state replication. The property changes in
-           the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
-
-           The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
-           suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
-           "*" indicates that all properties in a particular context should not be replicated.
-
-            The "enable" attribute indicates whether context replication has been enabled
-        -->
-        <stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
-                      enable="false">
-            <replication>
-                <defaults>
-                    <exclude name="local_*"/>
-                    <exclude name="LOCAL_*"/>
-                </defaults>
-                <context class="org.apache.axis2.context.ConfigurationContext">
-                    <exclude name="local_*"/>
-                    <exclude name="UseAsyncOperations"/>
-                    <exclude name="SequencePropertyBeanMap"/>
-                </context>
-                <context class="org.apache.axis2.context.ServiceGroupContext">
-                    <exclude name="local_*"/>
-                    <exclude name="my.sandesha.*"/>
-                </context>
-                <context class="org.apache.axis2.context.ServiceContext">
-                    <exclude name="local_*"/>
-                    <exclude name="my.sandesha.*"/>
-                </context>
-            </replication>
-        </stateManager>
-    </clustering>
-
-    <!-- ================================================= -->
-    <!--                    Phases                         -->
-    <!-- ================================================= -->
-
-    <phaseOrder type="InFlow">
-        <!--  System pre defined phases       -->
-        <phase name="Transport"/>
-        <phase name="Addressing"/>
-        <phase name="Security"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
-        <!--  System pre defined phases       -->
-        <phase name="RMPhase"/>
-        <phase name="OpPhase"/>
-    </phaseOrder>
-
-    <phaseOrder type="OutFlow">
-        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
-        <phase name="UEPPhase" />
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <phase name="MUPhase"/>
-        <phase name="OpPhase"/>
-        <phase name="OperationOutPhase"/>
-        <!--system predefined phase-->
-        <!--these phase will run irrespective of the service-->
-        <phase name="PolicyDetermination"/>
-        <phase name="MessageOut"/>
-        <phase name="Security"/>
-    </phaseOrder>
-
-    <phaseOrder type="InFaultFlow">
-        <phase name="Transport"/>
-        <phase name="Addressing"/>
-        <phase name="Security"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase"/>
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <phase name="OpPhase"/>
-        <phase name="MUPhase"/>
-        <phase name="OperationInFaultPhase"/>
-    </phaseOrder>
-
-    <phaseOrder type="OutFaultFlow">
-        <!-- Handlers related to unified-endpoint component are added to the UEPPhase -->
-        <phase name="UEPPhase" />
-        <!--      user can add his own phases to this area  -->
-        <phase name="RMPhase"/>
-        <!-- Must Understand Header processing phase -->
-        <phase name="MUPhase"/>
-        <phase name="OperationOutFaultPhase"/>
-        <phase name="PolicyDetermination"/>
-        <phase name="MessageOut"/>
-        <phase name="Security"/>
-    </phaseOrder>
-
-</axisconfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/bam.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/bam.xml b/products/stratos2/stratos_controller/1.0.1/conf/bam.xml
deleted file mode 100755
index e267a90..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/bam.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<bamServer>
-
-    <!--
-        Configuration for Billing and Metering. 
-    -->
-    
-    <!--Configuration for summary generation task. 
-          1. initial-delay = Time for first summary generation after the server start. (in seconds)
-          2. interval = Periodic interval to run summary generation task. (in seconds)
-    -->
-    <summaryGeneration>
-             <initial-delay>600</initial-delay>
-             <interval>3600</interval>
-    </summaryGeneration>
-
-    <!--Configuration for data collection task for pull mode servers. 
-          1. initial-delay = Time for first data collection after the server start. (in seconds)
-          2. interval = Periodic interval to run summary generation task. (in seconds)
-    -->
-    <dataCollection>
-             <initial-delay>60</initial-delay>
-             <interval>60</interval>
-    </dataCollection>
-
-</bamServer>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/billing-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/billing-config.xml b/products/stratos2/stratos_controller/1.0.1/conf/billing-config.xml
deleted file mode 100755
index 85c1605..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/billing-config.xml
+++ /dev/null
@@ -1,67 +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.
- -->
-
-<!-- 
-     Defines the database and the Task for billing. Multi-tenancy billing rules (by default, uses 
-     multitenancy-billing-rules.drl) and email for billing notifications (by default, uses 
-     email-billing-notifications.xml) are specified here. 
-  -->
-
-<billingConfig xmlns="http://wso2.com/carbon/multitenancy/billing/config">
-    <tasks>
-        <task id="multitenancyScheduledTask">
-            <schedule scheduleHelperClass="org.wso2.carbon.billing.core.scheduler.scheduleHelpers.MonthlyScheduleHelper">
-                <parameter name="timeZone">GMT-8:00</parameter>
-		<!--cron format: second minute hour dayOfTheMonth Month DayOfWeek-->
-                <parameter name="cron">0 0 0 1 * ?</parameter>
-            </schedule>
-            <handlers>
-                <handler service="org.wso2.carbon.billing.mgt.handlers.MultitenancySubscriptionFeedingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.SubscriptionTreeBuildingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.RuleHandler">
-                    <parameter name="file">multitenancy-billing-rules.drl</parameter>
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.InvoiceCalculationHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.DefaultFinalizingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.EmailSendingHandler">
-                    <parameter name="file">email-billing-notifications.xml</parameter>
-                </handler>
-            </handlers>
-        </task>
-        <task id="multitenancyViewingTask">
-            <handlers>
-                <handler service="org.wso2.carbon.billing.mgt.handlers.MultitenancySubscriptionFeedingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.SubscriptionTreeBuildingHandler">
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.RuleHandler">
-                    <parameter name="file">multitenancy-billing-rules.drl</parameter>
-                </handler>
-                <handler class="org.wso2.carbon.billing.core.handlers.InvoiceCalculationHandler">
-                </handler>
-                <!--
-                <handler class="org.wso2.carbon.billing.core.handlers.DefaultFinalizingHandler">
-                </handler>-->
-            </handlers>
-        </task>
-    </tasks>
-</billingConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/cipher-text.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/cipher-text.properties b/products/stratos2/stratos_controller/1.0.1/conf/cipher-text.properties
deleted file mode 100644
index 9ad599b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/cipher-text.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-#aliases=esb
-#
-## configuration  per each plaintext
-#esb.secret=M6U74dMVvRm4XFMczki2qZ6CsTvnUuRTjSditlACR5vTISSMI7F/mCTVJGOGdKJjij+VWVhBtmAOkElyvR9TwlUECnZ1o5DNsTK6l8je+9amc/ziTQLP3Q1tzm/Ex1pzHsG6jPGGrv3O0B9pZTfYFqRvlcNhM7Ve3WvA3ibs4Yk=
-#esb.secret.alias=wso2carbon
-#esb.secret.keystore=identity
-#

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/cloud-services-desc.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/cloud-services-desc.xml b/products/stratos2/stratos_controller/1.0.1/conf/cloud-services-desc.xml
deleted file mode 100644
index 2b8a2da..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/cloud-services-desc.xml
+++ /dev/null
@@ -1,176 +0,0 @@
-<!-- 
-     This has the configurations for the cloud services. 
-     Label, link, icon, description, and the other similar information for each of the services are
-     given here. 
-  -->
-<cloudServices xmlns="http://wso2.com/carbon/cloud/mgt/services">
-     <cloudService name="WSO2 Stratos Controller" default="true">
-	<key>SCC</key>
-        <label>WSO2 Stratos Controller</label>
-        <link>https://scc.cloud.wso2.com</link>
-        <!--icon>
-            https://localhost:9443/cloud-services-icons/esb.gif
-        </icon-->
-        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
-        <description>WSO2 stratos controller.</description>
-    </cloudService>
-    <cloudService name="WSO2 Cloud Controller" default="true">
-	<key>CC</key>
-        <label>WSO2 Cloud Controller</label>
-        <link>https://cc.cloud.wso2.com</link>
-        <!--icon>
-            https://localhost:9443/cloud-services-icons/esb.gif
-        </icon-->
-        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
-        <description>WSO2 Cloud Controller.</description>
-    </cloudService>
-    <cloudService name="WSO2 Stratos Agent" default="true">
-	<key>Agent</key>
-        <label>WSO2 Stratos Agent</label>
-        <link>https://cc.cloud.wso2.com</link>
-        <!--icon>
-            https://localhost:9443/cloud-services-icons/esb.gif
-        </icon-->
-        <productPageURL>http://wso2.com/cloud/stratos</productPageURL>
-        <description>WSO2 Stratos Agent.</description>
-    </cloudService>
-    <cloudService name="WSO2 Enterprise Service Bus" default="true">
-	<key>ESB</key>
-        <label>Enterprise Service Bus</label>
-        <link>https://esb.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/esb.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/enterprise-service-bus/</productPageURL>
-        <description>Enterprise Service Bus in the cloud.</description>
-    </cloudService>
-    <cloudService name="Application Server" default="true">
-	<key>AS</key>
-        <label>Application Server</label>
-        <link>https://appserver.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/appserver.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/application-server/</productPageURL>
-        <description>Application Server in the cloud.</description>
-    </cloudService>
-    <cloudService name="WSO2 Data Services Server" default="true">
-	<key>DSS</key>
-        <label>WSO2 Data Services Server</label>
-        <link>https://dss.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/ds.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/data-services-server/</productPageURL>
-        <description>Data Services Server in the cloud.</description>
-    </cloudService>
-    <cloudService name="WSO2 Governance Registry" default="true">
-	<key>Greg</key>
-        <label>Governance</label>
-        <link>https://governance.cloud.wso2.com</link>
-        <description>Governance in the cloud.</description>
-        <icon>
-            https://localhost:9443/cloud-services-icons/governance.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/governance-registry/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Identity Server" default="true">
-	<key>IS</key>
-        <label>WSO2 Identity Server</label>
-        <link>https://identity.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/identity.gif
-        </icon>
-        <description>Identity in the cloud.</description>
-        <productPageURL>http://wso2.com/products/identity-server/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Business Activity Monitor" default="true">
-        <label>Business Activity Monitor</label>
-        <link>https://bam.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/bam.gif
-        </icon>
-        <description>Business Activity Monitor in the cloud.</description>
-        <productPageURL>http://wso2.com/products/business-activity-monitor/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Business Process Server" default="true">
-	<key>BPS</key>
-        <label>Business Process Server</label>
-        <link>https://bps.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/bps.gif
-        </icon>
-        <description>Business Process Server in the cloud.</description>
-        <productPageURL>http://wso2.com/products/business-process-server/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Business Rule Server" default="true">
-	<key>BRS</key>
-        <label>Business Rule Server</label>
-        <link>https://brs.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/brs.gif
-        </icon>
-        <description>Business Rules Server in the cloud.</description>
-        <productPageURL>http://wso2.com/products/business-rules-server/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Mashup Server" default="true">
-	<key>MB</key>
-        <label>Mashup Server</label>
-        <link>https://mashup.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/mashup.gif
-        </icon>
-        <description>Mashup Server in the cloud.</description>
-        <productPageURL>http://wso2.com/products/mashup-server/</productPageURL>
-    </cloudService>
-    <cloudService name="WSO2 Gadget Server" default="true">
-	<key>GS</key>
-        <label>Gadget Server</label>
-        <link>https://gadget.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/gadget.gif
-        </icon>
-        <description>Gadgets in the cloud.</description>
-        <productPageURL>http://wso2.com/products/gadget-server/</productPageURL>
-    </cloudService>
-    <cloudService name="Cloud Gateway" default="true">
-	<key>CG</key>
-        <label>Cloud Gateway</label>
-        <link>https://cg.stratoslive.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/csg.gif
-        </icon>
-        <description>Cloud Gateway in the cloud.</description>
-		<productPageURL>http://wso2.com/products/cloud-services-gateway/</productPageURL> <!-- FIXME, put the correct project home -->
-    </cloudService>
-    <cloudService name="WSO2 Complex Event Processor" default="true">
-	<key>CEP</key>
-        <label>Complex Event Processor</label>
-        <link>https://cep.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/cep.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/complex-event-processing-server/</productPageURL> <!-- FIXME, put the correct project home -->
-        <description>Complex Event Processor in the cloud.</description>
-    </cloudService>
-    <cloudService name="WSO2 Message Broker" default="true">
-	<key>MB</key>
-        <label>Message Broker</label>
-        <link>https://mb.cloud.wso2.com</link>
-        <icon>
-            https://localhost:9443/cloud-services-icons/mb.gif
-        </icon>
-        <productPageURL>http://wso2.com/products/message-broker/</productPageURL>
-        <description>Message Broker in the cloud.</description>
-    </cloudService>
-    <cloudService name="WSO2 Storage Server" default="true">
-	<key>SS</key>
-   	<label>WSO2 Storage Server</label>
-   	<link>https://ss.stratoslive.wso2.com</link>
-   	<icon>
-       		https://localhost:9443/cloud-services-icons/ss.gif
-   	</icon>
-   	<description>WSO2 Storage Server.</description>
-   	<productPageURL>http://wso2.com/products/storage-server/</productPageURL>
-    </cloudService>
-</cloudServices>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/datasources.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/datasources.properties b/products/stratos2/stratos_controller/1.0.1/conf/datasources.properties
deleted file mode 100644
index 2ef0505..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/datasources.properties
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-################################################################################
-## DataSources Configuration
-################################################################################
-#synapse.datasources=lookupds,reportds
-#synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory
-#synapse.datasources.providerPort=2199
-## If following property is present , then assumes that there is an external JNDI provider and will not start a RMI registry
-##synapse.datasources.providerUrl=rmi://localhost:2199
-#
-#synapse.datasources.lookupds.registry=Memory
-#synapse.datasources.lookupds.type=BasicDataSource
-#synapse.datasources.lookupds.driverClassName=org.apache.derby.jdbc.ClientDriver
-#synapse.datasources.lookupds.url=jdbc:derby://localhost:1527/lookupdb;create=false
-## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
-#synapse.datasources.lookupds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
-#synapse.datasources.lookupds.username=esb
-## Depending on the password provider used, you may have to use an encrypted password here!
-#synapse.datasources.lookupds.password=esb
-#synapse.datasources.lookupds.dsName=lookupdb
-#synapse.datasources.lookupds.maxActive=100
-#synapse.datasources.lookupds.maxIdle=20
-#synapse.datasources.lookupds.maxWait=10000
-#
-#synapse.datasources.reportds.registry=JNDI
-#synapse.datasources.reportds.type=PerUserPoolDataSource
-#synapse.datasources.reportds.cpdsadapter.factory=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
-#synapse.datasources.reportds.cpdsadapter.className=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
-#synapse.datasources.reportds.cpdsadapter.name=cpds
-#synapse.datasources.reportds.dsName=reportdb
-#synapse.datasources.reportds.driverClassName=org.apache.derby.jdbc.ClientDriver
-#synapse.datasources.reportds.url=jdbc:derby://localhost:1527/reportdb;create=false
-## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider
-#synapse.datasources.reportds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler
-#synapse.datasources.reportds.username=esb
-## Depending on the password provider used, you may have to use an encrypted password here!
-#synapse.datasources.reportds.password=esb
-#synapse.datasources.reportds.maxActive=100
-#synapse.datasources.reportds.maxIdle=20
-#synapse.datasources.reportds.maxWait=10000
\ No newline at end of file


[27/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/sso-idp-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/sso-idp-config.xml b/products/stratos2/stratos_controller/1.0.1/conf/sso-idp-config.xml
deleted file mode 100755
index 57ad19b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/sso-idp-config.xml
+++ /dev/null
@@ -1,26 +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.
- -->
-<SSOIdentityProviderConfig>
-     <LoginPageBannerBaseURL>http://wso2.com/product-ads/stratos/wso2cloud/</LoginPageBannerBaseURL>
-     <TenantRegistrationPage>https://stratos-local.wso2.com/carbon/tenant-register/select_domain.jsp</TenantRegistrationPage>
-     <ServiceProvider>
-            <Issuer>WSO2 Stratos Controller</Issuer>
-            <AssertionConsumerService>https://stratos-local.wso2.com/acs</AssertionConsumerService>
-	    <CustomLoginPage>stratos-sso/login_ajaxprocessor.jsp</CustomLoginPage>
-     </ServiceProvider>
-</SSOIdentityProviderConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/status-monitor-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/status-monitor-config.xml b/products/stratos2/stratos_controller/1.0.1/conf/status-monitor-config.xml
deleted file mode 100755
index 1bf6068..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/status-monitor-config.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2012, 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.
- -->
-
-<!-- 
-     Defines the database and related params that to be used for the services status
-     monitoring. Status Monitor Agent writes to the database defined here, and the 
-     Status Monitor reads it. 
-  -->
-
-<serviceStatusConfig xmlns="http://wso2.com/carbon/status/monitor/config">
-   <authConfig>
-        <jksLocation>../../repository/resources/security/wso2carbon.jks</jksLocation> <!--location to the jks file-->
-
-        <!--The tenant credentials that to be used to login to the Stratos 
-	services. Make sure the correct credentials are given to avoid 
-	false positives.-->
-        <userName>admin@wso2-heartbeat-checker.org</userName>
-        <password>password</password>
-        <tenantDomain>wso2-heartbeat-checker.org</tenantDomain>
-   </authConfig>
-
-   <platformSample>
-        <!--The tenant that has the webapps and services to monitor. 
-	This can of course be the same tenant given above as tenantDomain-->
-        <tenantDomain>wso2.org</tenantDomain>
-    </platformSample>
-
-   <dbConfig>
-        <url>jdbc:mysql://localhost:3306/stratos_status</url>
-        <userName>monitor</userName>
-        <password>monitor</password>
-        <driverName>com.mysql.jdbc.Driver</driverName>
-        <maxActive>80</maxActive>
-        <maxWait>60000</maxWait>
-        <minIdle>5</minIdle>
-    </dbConfig>
-</serviceStatusConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/stratos-datasources.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/stratos-datasources.xml b/products/stratos2/stratos_controller/1.0.1/conf/stratos-datasources.xml
deleted file mode 100755
index 9096549..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/stratos-datasources.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
-  
-    <providers>
-        <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
-    </providers>
-  
-    <datasources>
-		<datasource>
-            <name>WSO2BillingDS</name>
-            <description>The datasource used for registry and user manager</description>
-            <jndiConfig>
-                <name>jdbc/WSO2BillingDS</name>
-            </jndiConfig>
-            <definition type="RDBMS">
-                <configuration>
-                    <url>jdbc:h2:repository/database/WSO2BILLING_DB;DB_CLOSE_ON_EXIT=FALSE</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>
-
-	<datasource>
-            <name>WSO2S2DS</name>
-            <description>The datasource used for s2</description>
-            <jndiConfig>
-                <name>jdbc/WSO2S2DS</name>
-            </jndiConfig>
-            <definition type="RDBMS">
-                <configuration>
-                    <url>jdbc:h2:repository/database/WSO2S2_DB;DB_CLOSE_ON_EXIT=FALSE</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>
-      </datasources>
-</datasources-configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/registry.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/registry.xml b/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/registry.xml
deleted file mode 100644
index b19a4c8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/registry.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-
-<!-- Registry declaration of the WSO2 ESB -->
-<registry xmlns="http://ws.apache.org/ns/synapse" provider="org.wso2.carbon.mediation.registry.WSO2Registry">
-    <!--all resources loaded from the URL registry would be
-    cached for this number of milliseconds -->
-    <parameter name="cachableDuration">15000</parameter>
-</registry>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/errorHandler.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/errorHandler.xml b/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/errorHandler.xml
deleted file mode 100644
index 62c31a6..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/errorHandler.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-    <sequence name="errorHandler" xmlns="http://ws.apache.org/ns/synapse">
-	<log level="full">
-        	<property name="MESSAGE" value="Executing default 'fault' sequence"/>
-        	<property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
-        	<property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
-    	</log>
-        <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
-            <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
-        </makefault>
-        <send/>
-    </sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/fault.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/fault.xml b/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/fault.xml
deleted file mode 100644
index 1192bbd..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/fault.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-
-<!-- Default fault sequence shipped with the Apache Synapse -->
-<sequence xmlns="http://ws.apache.org/ns/synapse" name="fault">
-
-    <!-- Log the message at the full log level with the ERROR_MESSAGE and the ERROR_CODE-->
-    <!-- log level="full">
-        <property name="MESSAGE" value="Executing default 'fault' sequence"/>
-        <property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
-        <property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
-    </log -->
-
-    <!-- Drops the messages by default if there is a fault -->
-    <script language="js"><![CDATA[
-        mc.setPayloadXML(
-           <{mc.getProperty("SERVICENAME")}Response xmlns="org.wso2.gateway">
-            <Timestamp>{new Date()}</Timestamp>
-            <Ack>Failure</Ack>
-            <Errors>
-             <ShortMessage>Gateway Error</ShortMessage>
-             <LongMessage>{mc.getProperty("ERROR_MESSAGE")}</LongMessage>
-             <ErrorCode>500</ErrorCode>
-             <SeverityCode>Error</SeverityCode>
-             <ErrorClassification>RequestError</ErrorClassification>
-            </Errors>
-            <ServiceName>{mc.getProperty("SERVICENAME")}</ServiceName>
-            <ResponseCode>{mc.getProperty("HTTP_SC")}</ResponseCode>
-            <ContentType>{mc.getProperty("Content-Type")}</ContentType>
-            <Version>1.5.1</Version>
-           </{mc.getProperty("SERVICENAME")}Response>
-        );
-      ]]></script>
-    <switch source="get-property('ERROR_CODE')">
-        <case regex="101504">   <!-- TIMEOUT ERROR -->
-            <property name="HTTP_SC" value="504" scope="axis2"/>
-            <sequence key="seq_timeout"/>
-        </case>
-        <case regex="303001">
-            <property name="HTTP_SC" value="503" scope="axis2"/>
-            <sequence key="seq_endpoint_down"/>
-        </case>
-        <case regex="111503">
-            <property name="HTTP_SC" value="503" scope="axis2"/>
-            <sequence key="seq_endpoint_down"/>
-        </case>
-        <default>
-            <property name="HTTP_SC" value="500" scope="axis2"/>
-        </default>
-    </switch>
-    <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
-    <header name="To" action="remove"/>
-    <property name="RESPONSE" value="true"/>
-    <property name="messageType" value="text/xml" scope="axis2"/>
-    <property name="ContentType" value="text/xml" scope="axis2"/>
-
-    <send/>
-
-</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/main.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/main.xml b/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/main.xml
deleted file mode 100644
index e8ead4a..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/sequences/main.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-
-<!-- Default main sequence shipped with the WSO2 ESB -->
-<sequence xmlns="http://ws.apache.org/ns/synapse" name="main" onError="fault">
-    <description>The main sequence for the message mediation</description>
-
-    <in>
-        <property name="REQUEST_HOST_HEADER" expression="$trp:host" scope="axis2"/>
-        <property name="SERVICE_PREFIX" expression="$axis2:SERVICE_PREFIX"/>
-        <send>
-            <!--endpoint name="sdlbEndpoint">
-                <session type="http">-->
-                    <!-- Session timout is 15mins-->
-                    <!--sessionTimeout>900000</sessionTimeout>
-                </session>
-                <serviceDynamicLoadbalance failover="true"
-                                           algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"
-                                           configuration="$system:loadbalancer.xml"/>
-            </endpoint>
-            -->
-	          <!--endpoint name="tenantAwareLBEndpoint">
-                <class name ="org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint">
-                     <parameter name="algorithm"> org.apache.synapse.endpoints.algorithms.RoundRobin</parameter>
-                     <parameter name="configuration">$system:loadbalancer.conf</parameter>
-                     <parameter name="failover">true</parameter>          
-                     <parameter name="sessionTimeout">900000</parameter>
-  	            </class>
- 	          </endpoint-->
-        </send>
-        <drop/>
-    </in>
-
-    <out>
-        <!-- Handling status codes: 301, 302 Redirection -->
-        <filter source="$trp:Location" regex=".+">
-            <property name="LB_SP_Host" expression="$ctx:SERVICE_PREFIX"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
-
-            <property name="LB_Location_Protocol" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="1"/>
-            <property name="LB_Location_Host" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
-            <property name="LB_Location_Path" expression="$trp:Location"
-                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="4"/>
-
-            <!--<log level="custom">
-               <property name="ameera-ocation" expression="$trp:Location"/>
-               <property name="ameera-sprefix" expression="$ctx:SERVICE_PREFIX"/>
-           </log>-->
-
-            <filter xpath="fn:lower-case($ctx:LB_SP_Host)=fn:lower-case($ctx:LB_Location_Host)">
-                <then>
-                    <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
-                        <case regex="https://">
-                            <property name="Location"
-                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                      scope="transport"/>
-                        </case>
-                        <case regex="http://">
-                            <property name="Location"
-                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                      scope="transport"/>
-                        </case>
-                    </switch>
-                </then>
-
-                <else>
-                    <filter xpath="$ctx:LB_REQUEST_HOST=fn:lower-case($ctx:LB_Location_Host)">
-                        <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
-                            <case regex="https://">
-                                <property name="Location"
-                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                          scope="transport"/>
-                            </case>
-                            <case regex="http://">
-                                <property name="Location"
-                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
-                                          scope="transport"/>
-                            </case>
-                        </switch>
-                    </filter>
-                </else>
-            </filter>
-        </filter>
-
-        <!-- Send the messages where they have been sent (i.e. implicit To EPR) -->
-        <property name="messageType" value="text/html" scope="axis2"/>
-        <send/>
-        <drop/>
-    </out>
-
-</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/synapse.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/synapse.xml b/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/synapse.xml
deleted file mode 100755
index f3da986..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/synapse-configs/default/synapse.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-
-<!-- The default synapse configuration shipped with the WSO2 Elastic  Load Balancer
- -->
-
-<definitions xmlns="http://ws.apache.org/ns/synapse">
-</definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/synapse.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/synapse.properties b/products/stratos2/stratos_controller/1.0.1/conf/synapse.properties
deleted file mode 100755
index 36e21c2..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/synapse.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-#synapse.threads.core = 20
-#synapse.threads.max = 100
-#synapse.threads.keepalive = 5
-#synapse.threads.qlen = 10
-#synapse.threads.group = synapse-thread-group
-#synapse.threads.idprefix = SynapseWorker
-
-synapse.sal.endpoints.sesssion.timeout.default=600000
-
-#In memory statistics cleaning state 
-statistics.clean.enable=false
-
-# Dependency tracking Synapse observer
-# Comment out to disable dependency management
-synapse.observers=org.wso2.carbon.mediation.dependency.mgt.DependencyTracker
-
-# User defined wsdlLocator/Schema Resolver Implementations.
-# synapse.wsdl.resolver=org.wso2.carbon.mediation.initializer.RegistryWSDLLocator
-# synapse.schema.resolver=org.wso2.carbon.mediation.initializer.RegistryXmlSchemaURIResolver
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/tenant-reg-agent.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/tenant-reg-agent.xml b/products/stratos2/stratos_controller/1.0.1/conf/tenant-reg-agent.xml
deleted file mode 100755
index ba5c7ad..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/tenant-reg-agent.xml
+++ /dev/null
@@ -1,24 +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.
- -->
-<tenantRegListenerServers>
-    <!--<server>
-        <serverUrl>https://10.100.1.206:9443/services/</serverUrl>
-        <userName>admin</userName>
-        <password>admin</password>
-    </server>-->
-</tenantRegListenerServers>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/throttling-rules.drl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/throttling-rules.drl b/products/stratos2/stratos_controller/1.0.1/conf/throttling-rules.drl
deleted file mode 100755
index 2225fa6..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/throttling-rules.drl
+++ /dev/null
@@ -1,251 +0,0 @@
-import org.wso2.carbon.throttling.manager.dataobjects.*;
-import org.wso2.carbon.billing.mgt.dataobjects.*;
-import org.wso2.carbon.stratos.common.constants.*;
-
-// free users restrictions
-
-rule unsetRestrictFreeUsers
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
-
-end
-
-
-rule restrictFreeDataVolume
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (20 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed disk storage of 20Mb. Please upgrade the subscription.");
-end
-
-
-rule unsetRestrictFreeDataVolume
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (20 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
-end
-
-
-rule restrictFreeBandwidth
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
- eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
- 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) > (50 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");
- validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");
- validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");                      
-end
-
-
-rule unsetRestrictFreeBandwidth
-when
- $package: MultitenancyPackage(name == "Demo")
- $dataContext : ThrottlingDataContext()
- eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
- 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) < (50 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION,false,null);
- validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION,false,null);
- validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION,false,null);
-end
-
-
-//---------------------------------------------------------------------------------
-// small users restrictions
-
-
-
-rule restrictSmallDataVolume
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (50 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed disk storage of 50Mb. Please upgrade the subscription.");
-end
-
-
-rule unsetRestrictSmallDataVolume
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (50 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
-end
-
-
-rule restrictSmallBandwidth
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
- eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
- 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) > (150 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription.");
- validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription.");
- validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription."); 
-end
-
-
-rule unsetRestrictSmallBandwidth
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
- eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
- 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) < (150 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION,false,null);
- validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION,false,null);
- validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION,false,null);
-end
-
-
-rule unsetRestrictSmallUsers
-when
- $package: MultitenancyPackage(name == "SMB")
- $dataContext : ThrottlingDataContext()
-then
-
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
-
-end
-
-
-
-
-//-------------------------------------------------------------------------------
-// medium users restrictions
-
-
-
-rule restrictMediumDataVolume
-when
- $package: MultitenancyPackage(name == "Professional")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (500 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed disk storage of 500Mb. Please upgrade the subscription.");
-end
-
-
-rule unsetRestrictMediumDataVolume
-when
- $package: MultitenancyPackage(name == "Professional")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (500 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
-end
-
-
-rule unsetRestrictMediumUsers
-when
- $package: MultitenancyPackage(name == "Professional")
- $dataContext : ThrottlingDataContext()
-then
-
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
-
-end
-
-
-
-//-----------------------------------------------------------------------------------------------
-// large users restrictions
-
-
-rule restrictLargeDataVolume
-when
- $package: MultitenancyPackage(name == "Enterprise")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (1500 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
-            "You have exceeded the maximum allowed disk storage of 1500Mb.");
-end
-
-
-rule unsetRestrictLargeDataVolume
-when
- $package: MultitenancyPackage(name == "Enterprise")
- $dataContext : ThrottlingDataContext()
- eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (1500 * 1024 * 1024) && 
-            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
-
-then
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
-end
-
-
-rule unsetRestrictLargeUsers
-when
- $package: MultitenancyPackage(name == "Enterprise")
- $dataContext : ThrottlingDataContext()
-then
-
- ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
- validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
-
-end
-
-
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/user-mgt.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/user-mgt.xml b/products/stratos2/stratos_controller/1.0.1/conf/user-mgt.xml
deleted file mode 100644
index c902307..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/user-mgt.xml
+++ /dev/null
@@ -1,238 +0,0 @@
-<!--
-  ~ Copyright 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.
-  -->
-        
-<UserManager>
-    <Realm>
-        <Configuration>
-                <AdminRole>admin</AdminRole>
-                <AdminUser>
-                     <UserName>admin</UserName>
-                     <Password>admin</Password>
-                </AdminUser>
-            <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
-            <Property name="dataSource">jdbc/WSO2CarbonDB</Property>
-            <Property name="MultiTenantRealmConfigBuilder">org.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder</Property>
-        </Configuration>
-	<!-- Following is the default user store manager. This user store manager is based on embedded-apacheds LDAP. It reads/writes users and roles into the 		     default apacheds LDAP user store. Descriptions about each of the following properties can be found in user management documentation of the 	 respective product. In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-	    <Property name="UserEntryObjectClass">wso2Person</Property>
-            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-	    <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
-        </UserStoreManager-->
-
-	<!-- Following is the configuration for internal JDBC user store. This user store manager is based on JDBC. In case if application needs to manage 		     passwords externally set property <Property name="PasswordsExternallyManaged">true</Property>. In case if user core cache domain is needed to 			identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>. Furthermore properties, IsEmailUserName and 	     			DomainCalculation are readonly properties. 
-	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->	
-        <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager">
-	    <Property name="ReadOnly">false</Property>
-            <Property name="MaxUserNameListLength">100</Property>
-            <Property name="IsEmailUserName">false</Property>
-            <Property name="DomainCalculation">default</Property>
-            <Property name="PasswordDigest">SHA-256</Property>
-            <Property name="StoreSaltedPassword">true</Property>
-            <Property name="UserNameUniqueAcrossTenants">false</Property>
-            <Property name="PasswordJavaRegEx">^[\S]{5,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-        </UserStoreManager>
-	
-	<!-- If product is using an external LDAP as the user store in READ ONLY mode, use following user manager.
-		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
- 	-->
-        <!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager">
-            <Property name="ReadOnly">true</Property>
-	    <Property name="MaxUserNameListLength">100</Property>
-            <Property name="ConnectionURL">ldap://localhost:10389</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="UserSearchBase">ou=system</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="ReadLDAPGroups">false</Property>
-            <Property name="GroupSearchBase">ou=system</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
-        </UserStoreManager-->
-	
-	<!-- Active directory configuration is as follows.
-	    In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	    There are few special properties for "Active Directory". 
-	    They are : 
-	    1.Referral - (comment out this property if this feature is not reuired) This enables LDAP referral support.
-	    2.BackLinksEnabled - (Do not comment, set to true or false) In some cases LDAP works with BackLinksEnabled. In which role is stored
-	     at user level. Depending on this value we need to change the Search Base within code.
-	    3.isADLDSRole - (Do not comment) Set to true if connecting to an AD LDS instance else set to false.  
-	-->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager">
-            <Property name="defaultRealmName">WSO2.ORG</Property>
-            <Property name="kdcEnabled">false</Property>
-            <Property name="ConnectionURL">ldaps://10.100.1.100:636</Property> 
-            <Property name="ConnectionName">CN=admin,CN=Users,DC=WSO2,DC=Com</Property>
-            <Property name="ConnectionPassword">A1b2c3d4</Property>
-	    <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
-            <Property name="UserEntryObjectClass">user</Property>
-            <Property name="UserNameAttribute">cn</Property>
-            <Property name="isADLDSRole">false</Property>
-	    <Property name="userAccountControl">512</Property>
-            <Property name="UserNameListFilter">(objectClass=user)</Property>
-	    <Property name="UserNameSearchFilter">(&amp;(objectClass=user)(cn=?))</Property>
-            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
-	    <Property name="GroupEntryObjectClass">group</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="GroupNameListFilter">(objectcategory=group)</Property>
-	    <Property name="GroupNameSearchFilter">(&amp;(objectClass=group)(cn=?))</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-            <Property name="Referral">follow</Property>
-	    <Property name="BackLinksEnabled">true</Property>
-        </UserStoreManager-->
-	
-	<!-- If product is using an external LDAP as the user store in read/write mode, use following user manager 
-		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	-->
-	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="ConnectionURL">ldap://localhost:10389</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">secret</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-	    <Property name="UserEntryObjectClass">inetOrgPerson</Property>
-            <Property name="UserSearchBase">ou=system</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">false</Property>
-            <Property name="GroupSearchBase">ou=system</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-            <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
-        </UserStoreManager-->
-
-	<!-- Following user manager is used by Identity Server (IS) as its default user manager. 
-	     IS will do token replacement when building the product. Therefore do not change the syntax. 
-	     If "kdcEnabled" parameter is true, IS will allow service principle management. Thus "ServicePasswordJavaRegEx", "ServiceNameJavaRegEx"
-	     properties control the service name format and service password formats.
-	     In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
-	-->
-	<!--ISUserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
-            <Property name="defaultRealmName">WSO2.ORG</Property>
-            <Property name="kdcEnabled">false</Property>
-            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-            <Property name="ConnectionName">uid=admin,ou=system</Property>
-            <Property name="ConnectionPassword">admin</Property>
-            <Property name="passwordHashMethod">SHA</Property>
-            <Property name="UserNameListFilter">(objectClass=person)</Property>
-            <Property name="UserEntryObjectClass">scimPerson</Property>
-            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
-            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
-            <Property name="UserNameAttribute">uid</Property>
-            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ServicePasswordJavaRegEx">^[\\S]{5,30}$</Property>
-	    <Property name="ServiceNameJavaRegEx">^[\\S]{2,30}/[\\S]{2,30}$</Property>
-            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
-            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
-	    <Property name="ReadLDAPGroups">true</Property>
-	    <Property name="WriteLDAPGroups">true</Property>
-	    <Property name="EmptyRolesAllowed">true</Property>
-            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
-            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
-	    <Property name="GroupEntryObjectClass">groupOfNames</Property>
-            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
-            <Property name="GroupNameAttribute">cn</Property>
-            <Property name="MembershipAttribute">member</Property>
-            <Property name="UserRolesCacheEnabled">true</Property>
-	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
-	    <Property name="SCIMEnabled">true</Property>
-        </ISUserStoreManager-->
-
-        <AuthorizationManager
-            class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager">
-            <Property name="AdminRoleManagementPermissions">/permission</Property>
-	    <Property name="AuthorizationCacheEnabled">true</Property>
-        </AuthorizationManager>
-    </Realm>
-</UserManager>
-
-<!--*******Description of some of the configuration properties used in user-mgt.xml*********************************
-UserRolesCacheEnabled - This is to indicate whether to cache role list of a user. By default it is set to true.
-                        You may need to disable it if user-roles are changed by external means and need to reflect
-                        those changes in the carbon product immediately.
-
-ReplaceEscapeCharactersAtUserLogin - This is to configure whether escape characters in user name needs to be replaced at user login.
-				     Currently the identified escape characters that needs to be replaced are '\' & '\\'
-
-UserDNPattern - This property will be used when authenticating users. During authentication we do a bind. But if the user is login with
-                email address or some other property we need to first lookup LDAP and retreive DN for the user. This involves an additional step. 
-                If UserDNPattern is specified the DN will be contructed using the pattern specified in this property. Performance of this is much better than looking
-                up DN and binding user.
-
-passwordHashMethod - This says how the password should be stored. Allowed values are as follows,
-                     SHA - Uses SHA digest method
-                     MD5 - Uses MD 5 digest method
-                     PLAIN_TEXT - Plain text passwords
-                     In addition to above this supports all digest methods supported by http://docs.oracle.com/javase/6/docs/api/java/security/MessageDigest.html.
-
--->

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/conf/zoo.cfg
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/conf/zoo.cfg b/products/stratos2/stratos_controller/1.0.1/conf/zoo.cfg
deleted file mode 100644
index ca3cc26..0000000
--- a/products/stratos2/stratos_controller/1.0.1/conf/zoo.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-tickTime=2000
-dataDir=repository/data/zookeeper
-clientPort=2181
-start_zk_server=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/pom.xml
deleted file mode 100644
index 2ee4ec5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/pom.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-<!--
-# Copyright (c) 2008, 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.
-  -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos.manager.services.mgt</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon Cloud Manager- Cloud Services Management</name>
-    <version>${stratos.controller.version}</version>
-
-    <build>
-
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Private-Package>
-                            org.wso2.stratos.manager.services.mgt.*,
-                        </Private-Package>
-                        <Import-Package>
-                            org.wso2.carbon.registry.core.*;version=1.0.1,
-                            !javax.xml.namespace,
-                            javax.xml.namespace; version=0.0.0,
-                            javax.servlet; version=2.4.0,
-                            javax.servlet.http; version=2.4.0,
-                            org.apache.axiom.*; version="${axiom.osgi.version.range}",
-                            *;resolution:=optional
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-
-    </build>
- <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.core</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <!--<dependency>-->
-            <!--<groupId>org.wso2.carbon</groupId>-->
-            <!--<artifactId>org.wso2.carbon.registry.extensions</artifactId>-->
-            <!--<version>${registry-component.version}</version>-->
-        <!--</dependency>-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.registry.resource</artifactId>
-            <version>${wso2carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.common</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-    </dependencies>
-   
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/beans/CloudService.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/beans/CloudService.java b/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/beans/CloudService.java
deleted file mode 100644
index d6ccd1a..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/beans/CloudService.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2008, 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.
- */
-package org.wso2.stratos.manager.services.mgt.beans;
-
-public class CloudService {
-    private String name;
-    private String label;
-    private String link;
-    private String icon;
-    private String description;
-    private boolean active;
-    private String productPageURL;
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getLabel() {
-        return label;
-    }
-
-    public void setLabel(String label) {
-        this.label = label;
-    }
-
-    public String getLink() {
-        return link;
-    }
-
-    public void setLink(String link) {
-        this.link = link;
-    }
-
-    public String getIcon() {
-        return icon;
-    }
-
-    public void setIcon(String icon) {
-        this.icon = icon;
-    }
-
-    public String getDescription() {
-        return description;
-    }
-
-    public void setDescription(String description) {
-        this.description = description;
-    }
-
-    public boolean isActive() {
-        return active;
-    }
-
-    public void setActive(boolean active) {
-        this.active = active;
-    }
-
-    public String getProductPageURL() {
-        return productPageURL;
-    }
-
-    public void setProductPageURL(String productPageURL) {
-        this.productPageURL = productPageURL;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java b/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
deleted file mode 100644
index e56b030..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
+++ /dev/null
@@ -1,73 +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.
-*/
-package org.wso2.stratos.manager.services.mgt.internal;
-
-import org.wso2.carbon.registry.core.service.RegistryService;
-import org.wso2.carbon.user.core.service.RealmService;
-import org.wso2.stratos.manager.services.mgt.util.Util;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import org.osgi.service.component.ComponentContext;
-
-/**
- * @scr.component name="org.wso2.stratos.manager.services.mgt"
- * immediate="true"
- * @scr.reference name="registry.service"
- * interface="org.wso2.carbon.registry.core.service.RegistryService" cardinality="1..1"
- * policy="dynamic" bind="setRegistryService" unbind="unsetRegistryService"
- * @scr.reference name="user.realmservice.default"
- * interface="org.wso2.carbon.user.core.service.RealmService"
- * cardinality="1..1" policy="dynamic" bind="setRealmService"
- * unbind="unsetRealmService"
- */
-public class CloudServiceMgtServiceComponent {
-    private static Log log = LogFactory.getLog(CloudServiceMgtServiceComponent.class);
-
-    protected void activate(ComponentContext context) {
-        try {
-            Util.loadCloudServicesConfiguration();
-            Util.loadServiceIcons();
-            log.debug("******* Cloud Manager Service Manager bundle is activated ******* ");
-        } catch (Throwable e) {
-            String msg = "******* Cloud Manager Service Manager bundle activation failed. ******* ";
-            log.error(msg, e);
-        }
-    }
-
-    protected void deactivate(ComponentContext context) {
-        log.debug("******* Cloud Manager Service Manager bundle is deactivated ******* ");
-    }
-    protected void setRegistryService(RegistryService registryService) {
-        Util.setRegistryService(registryService);
-    }
-
-    protected void unsetRegistryService(RegistryService registryService) {
-        Util.setRegistryService(null);
-    }
-
-    protected void setRealmService(RealmService realmService) {
-        Util.setRealmService(realmService);
-    }
-
-    protected void unsetRealmService(RealmService realmService) {
-        Util.setRealmService(null);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/services/CloudManagerService.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/services/CloudManagerService.java b/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/services/CloudManagerService.java
deleted file mode 100644
index 7cebc43..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/services/CloudManagerService.java
+++ /dev/null
@@ -1,121 +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.
-*/
-package org.wso2.stratos.manager.services.mgt.services;
-
-import org.wso2.carbon.core.AbstractAdmin;
-import org.wso2.carbon.registry.core.session.UserRegistry;
-import org.wso2.carbon.stratos.common.config.CloudServiceConfig;
-import org.wso2.carbon.stratos.common.config.CloudServicesDescConfig;
-import org.wso2.carbon.stratos.common.constants.StratosConstants;
-import org.wso2.stratos.manager.services.mgt.beans.CloudService;
-import org.wso2.stratos.manager.services.mgt.util.Util;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-public class CloudManagerService extends AbstractAdmin {
-    
-    public CloudService[] retrieveCloudServiceInfo() throws Exception {
-        UserRegistry registry = (UserRegistry)getConfigUserRegistry();
-        int tenantId = registry.getTenantId();
-
-        CloudServicesDescConfig cloudServicesDesc = Util.getCloudServicesDescConfig();
-        Map<String, CloudServiceConfig> cloudServiceConfigs =
-                cloudServicesDesc.getCloudServiceConfigs();
-        List<CloudService> cloudServices = new ArrayList<CloudService>();
-        if (cloudServiceConfigs != null) {
-            Set<String> configKeys = cloudServiceConfigs.keySet();
-            for (String configKey : configKeys) {
-                CloudServiceConfig cloudServiceConfig = cloudServiceConfigs.get(configKey);
-                String label = cloudServiceConfig.getLabel();
-                if (label == null) {
-                    // we are only returning display-able services
-                    continue;
-                }
-                CloudService cloudService = new CloudService();
-                String name = cloudServiceConfig.getName();
-                cloudService.setName(name);
-                cloudService.setLabel(label);
-                cloudService.setLink(cloudServiceConfig.getLink());
-                cloudService.setIcon(cloudServiceConfig.getIcon());
-                cloudService.setDescription(cloudServiceConfig.getDescription());
-                cloudService.setProductPageURL(cloudServiceConfig.getProductPageURL());
-                boolean active = Util.isCloudServiceActive(name, tenantId);
-                cloudService.setActive(tenantId == 0 || active);
-
-                cloudServices.add(cloudService);
-            }
-        }
-        return cloudServices.toArray(new CloudService[cloudServices.size()]);
-    }
-
-    public void saveCloudServicesActivity(String[] activeServiceNames) throws Exception {
-        UserRegistry registry = (UserRegistry)getConfigUserRegistry();
-        int tenantId = registry.getTenantId();
-
-        CloudServicesDescConfig cloudServicesDesc = Util.getCloudServicesDescConfig();
-        Map<String, CloudServiceConfig> cloudServiceConfigMap =
-                cloudServicesDesc.getCloudServiceConfigs();
-
-        List<String> activeServiceNamesList = Arrays.asList(activeServiceNames);
-        if (cloudServiceConfigMap != null) {
-            for (String cloudServiceName : cloudServiceConfigMap.keySet()) {
-                if (activeServiceNamesList.contains(cloudServiceName)) {
-                    // this should be made active
-                    if (!Util.isCloudServiceActive(cloudServiceName, tenantId)) {
-                        Util.setCloudServiceActive(true, cloudServiceName, tenantId);
-                    }
-                } else {
-                    // this should be made inactive
-                    if (Util.isCloudServiceActive(cloudServiceName, tenantId)) {
-                        Util.setCloudServiceActive(false, cloudServiceName, tenantId);
-                    }
-
-                }
-            }
-        }
-        Util.setCloudServiceActive(true, StratosConstants.CLOUD_IDENTITY_SERVICE, tenantId);
-        Util.setCloudServiceActive(true, StratosConstants.CLOUD_GOVERNANCE_SERVICE, tenantId);
-    }
-
-    public void activate(String cloudServiceName) throws Exception {
-        UserRegistry registry = (UserRegistry) getConfigUserRegistry();
-        int tenantId = registry.getTenantId();
-        if (!Util.isCloudServiceActive(cloudServiceName, tenantId)) {
-            Util.setCloudServiceActive(true, cloudServiceName, tenantId);
-        }
-    }
-
-    public void deactivate(String cloudServiceName) throws Exception {
-        if (StratosConstants.CLOUD_IDENTITY_SERVICE.equals(cloudServiceName) ||
-            StratosConstants.CLOUD_GOVERNANCE_SERVICE.equals(cloudServiceName)) {
-            // cloud identity and governance services cannot be deactivated..
-            return;
-        }
-        UserRegistry registry = (UserRegistry) getConfigUserRegistry();
-        int tenantId = registry.getTenantId();
-        if (Util.isCloudServiceActive(cloudServiceName, tenantId)) {
-            Util.setCloudServiceActive(false, cloudServiceName, tenantId);
-        }
-    }
-}
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Constants.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Constants.java b/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Constants.java
deleted file mode 100644
index 3de0498..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Constants.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2008, 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.
- */
-package org.wso2.stratos.manager.services.mgt.util;
-
-public class Constants {
-    public static final String CLOUD_SERVICE_INFO_STORE_PATH =
-            "/repository/components/org.wso2.stratos/cloud-manager/cloud-services";
-    public static final String CLOUD_SERVICE_ICONS_STORE_PATH =
-            "/repository/components/org.wso2.stratos/cloud-manager/" +
-                    "cloud-services-icons";
-
-    public static final String CLOUD_SERVICE_IS_ACTIVE_PROP_KEY = "active";
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Util.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Util.java b/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Util.java
deleted file mode 100644
index 93b63ca..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/java/org/wso2/stratos/manager/services/mgt/util/Util.java
+++ /dev/null
@@ -1,261 +0,0 @@
-/*
- * Copyright (c) 2008, 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.
- */
-package org.wso2.stratos.manager.services.mgt.util;
-
-import org.wso2.carbon.registry.core.Collection;
-import org.wso2.carbon.registry.core.RegistryConstants;
-import org.wso2.carbon.registry.core.Resource;
-import org.wso2.carbon.registry.core.exceptions.RegistryException;
-import org.wso2.carbon.registry.core.service.RegistryService;
-import org.wso2.carbon.registry.core.session.UserRegistry;
-import org.wso2.carbon.stratos.common.config.CloudServiceConfig;
-import org.wso2.carbon.stratos.common.config.CloudServicesDescConfig;
-import org.wso2.carbon.stratos.common.config.PermissionConfig;
-import org.wso2.carbon.stratos.common.constants.StratosConstants;
-import org.wso2.carbon.stratos.common.util.CommonUtil;
-import org.wso2.carbon.user.api.RealmConfiguration;
-import org.wso2.carbon.user.core.service.RealmService;
-import org.wso2.carbon.user.core.tenant.TenantManager;
-import org.wso2.carbon.user.mgt.UserMgtConstants;
-import org.wso2.carbon.utils.CarbonUtils;
-
-import org.apache.axiom.om.OMElement;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.activation.MimetypesFileTypeMap;
-
-public class Util {
-
-    private static final Log log = LogFactory.getLog(Util.class);
-
-    private static final String CONFIG_FILENAME = "cloud-services-desc.xml";
-
-    private static RegistryService registryService;
-    private static RealmService realmService;
-    private static CloudServicesDescConfig cloudServicesDescConfig = null;
-
-    public static synchronized void setRegistryService(RegistryService service) {
-        if ((registryService == null) || (service == null)) {
-            registryService = service;
-        }
-    }
-
-    public static RegistryService getRegistryService() {
-        return registryService;
-    }
-
-    public static synchronized void setRealmService(RealmService service) {
-        if ((realmService == null) || (service == null)) {
-            realmService = service;
-        }
-    }
-
-    public static RealmService getRealmService() {
-        return realmService;
-    }
-
-    public static TenantManager getTenantManager() {
-        return realmService.getTenantManager();
-    }
-
-    public static RealmConfiguration getBootstrapRealmConfiguration() {
-        return realmService.getBootstrapRealmConfiguration();
-    }
-
-    public static UserRegistry getTenantZeroSystemGovernanceRegistry() throws RegistryException {
-        return registryService.getGovernanceSystemRegistry();
-    }
-
-    public static UserRegistry getSystemGovernanceRegistry(int tenantId) throws RegistryException {
-        return registryService.getGovernanceSystemRegistry(tenantId);
-    }
-
-    public static UserRegistry getSystemConfigRegistry(int tenantId) throws RegistryException {
-        return registryService.getConfigSystemRegistry(tenantId);
-    }
-
-    public static void loadCloudServicesConfiguration() throws Exception {
-        // now load the cloud services configuration
-        String configFileName =
-                CarbonUtils.getCarbonConfigDirPath() + File.separator + StratosConstants.MULTITENANCY_CONFIG_FOLDER +
-                        File.separator+ CONFIG_FILENAME;
-        OMElement configElement;
-        try {
-            configElement = CommonUtil.buildOMElement(new FileInputStream(configFileName));
-        } catch (Exception e) {
-            String msg = "Error in building the cloud service configuration. config filename: " +
-                            configFileName + ".";
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-        cloudServicesDescConfig = new CloudServicesDescConfig(configElement);
-    }
-
-    public static CloudServicesDescConfig getCloudServicesDescConfig() {
-        return cloudServicesDescConfig;
-    }
-
-    public static CloudServiceConfig getCloudServiceConfig(String cloudServiceName) {
-        Map<String, CloudServiceConfig> cloudServiceConfigs =
-                cloudServicesDescConfig.getCloudServiceConfigs();
-        return cloudServiceConfigs.get(cloudServiceName);
-    }
-
-    public static void setCloudServiceActive(boolean active, String cloudServiceName, 
-                                             int tenantId)throws Exception {
-        CloudServiceConfig cloudServiceConfig = getCloudServiceConfig(cloudServiceName);
-        if (cloudServiceConfig.getLabel() == null) {
-            // for the non-labeled services, we are not setting/unsetting the service active
-            return;
-        }
-
-        UserRegistry tenantZeroSystemGovernanceRegistry;
-        UserRegistry systemConfigRegistry;
-        try {
-            tenantZeroSystemGovernanceRegistry = Util.getTenantZeroSystemGovernanceRegistry();
-            systemConfigRegistry = Util.getSystemConfigRegistry(tenantId);
-        } catch (RegistryException e) {
-            String msg = "Error in getting the tenant 0 system config registry";
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-
-        String cloudServiceInfoPath =
-                Constants.CLOUD_SERVICE_INFO_STORE_PATH + RegistryConstants.PATH_SEPARATOR +
-                        tenantId + RegistryConstants.PATH_SEPARATOR + cloudServiceName;
-        Resource cloudServiceInfoResource;
-        if (tenantZeroSystemGovernanceRegistry.resourceExists(cloudServiceInfoPath)) {
-            cloudServiceInfoResource = tenantZeroSystemGovernanceRegistry.get(cloudServiceInfoPath);
-        } else {
-            cloudServiceInfoResource = tenantZeroSystemGovernanceRegistry.newCollection();
-        }
-        cloudServiceInfoResource.setProperty(Constants.CLOUD_SERVICE_IS_ACTIVE_PROP_KEY,
-                active ? "true" : "false");
-        tenantZeroSystemGovernanceRegistry.put(cloudServiceInfoPath, cloudServiceInfoResource);
-
-        // then we will copy the permissions
-        List<PermissionConfig> permissionConfigs = cloudServiceConfig.getPermissionConfigs();
-        for (PermissionConfig permissionConfig : permissionConfigs) {
-            String path = permissionConfig.getPath();
-            String name = permissionConfig.getName();
-            if (active) {
-                if (!systemConfigRegistry.resourceExists(path)) {
-                    Collection collection = systemConfigRegistry.newCollection();
-                    collection.setProperty(UserMgtConstants.DISPLAY_NAME, name);
-                    systemConfigRegistry.put(path, collection);
-                }
-            } else {
-                if (systemConfigRegistry.resourceExists(path)) {
-                    systemConfigRegistry.delete(path);
-                }
-            }
-        }
-    }
-
-    public static boolean isCloudServiceActive(String cloudServiceName, 
-                                               int tenantId)throws Exception {
-        UserRegistry systemGovernanceRegistry;
-        try {
-            systemGovernanceRegistry = Util.getTenantZeroSystemGovernanceRegistry();
-        } catch (RegistryException e) {
-            String msg = "Error in getting the tenant 0 system config registry";
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-
-        String cloudServiceInfoPath =
-                Constants.CLOUD_SERVICE_INFO_STORE_PATH + RegistryConstants.PATH_SEPARATOR +
-                        tenantId + RegistryConstants.PATH_SEPARATOR + cloudServiceName;
-        
-        if (systemGovernanceRegistry.resourceExists(cloudServiceInfoPath)) {
-            Resource cloudServiceInfoResource = systemGovernanceRegistry.get(cloudServiceInfoPath);
-            String isActiveStr = cloudServiceInfoResource.getProperty(
-                    Constants.CLOUD_SERVICE_IS_ACTIVE_PROP_KEY);
-            return "true".equals(isActiveStr);
-        }
-        
-        return false;
-    }
-
-    /**
-     * Currently this is not used, as the icons are loaded from the webapps
-     * 
-     * @throws Exception
-     */
-    public static void loadServiceIcons() throws Exception {
-        String serviceIconDirLocation =
-                CarbonUtils.getCarbonHome() + "/resources/cloud-service-icons";
-        File serviceIconDirDir = new File(serviceIconDirLocation);
-        UserRegistry registry = getTenantZeroSystemGovernanceRegistry();
-        try {
-            // adding the common media types
-            Map<String, String> extensionToMediaTypeMap = new HashMap<String, String>();
-            extensionToMediaTypeMap.put("gif", "img/gif");
-            extensionToMediaTypeMap.put("jpg", "img/gif");
-            extensionToMediaTypeMap.put("png", "img/png");
-
-            File[] filesAndDirs = serviceIconDirDir.listFiles();
-            if (filesAndDirs == null) {
-                return;
-            }
-            List<File> filesDirs = Arrays.asList(filesAndDirs);
-
-            for (File file : filesDirs) {
-                String filename = file.getName();
-                String fileRegistryPath = Constants.CLOUD_SERVICE_ICONS_STORE_PATH +
-                                RegistryConstants.PATH_SEPARATOR + filename;
-
-                // Add the file to registry
-                Resource newResource = registry.newResource();
-                String mediaType = null;
-                if (filename.contains(".")) {
-                    String fileExt = filename.substring(filename.lastIndexOf(".") + 1);
-                    mediaType = extensionToMediaTypeMap.get(fileExt.toLowerCase());
-                }
-                if (mediaType == null) {
-                    mediaType = new MimetypesFileTypeMap().getContentType(file);
-                }
-                newResource.setMediaType(mediaType);
-                newResource.setContentStream(new FileInputStream(file));
-                registry.put(fileRegistryPath, newResource);
-            }
-        } catch (Exception e) {
-            String msg = "Error loading icons to the system registry for registry path: " +
-                            Constants.CLOUD_SERVICE_ICONS_STORE_PATH;
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-
-        try {
-            CommonUtil.setAnonAuthorization(RegistryConstants.GOVERNANCE_REGISTRY_BASE_PATH + 
-                    Constants.CLOUD_SERVICE_ICONS_STORE_PATH, registry.getUserRealm());
-        } catch (RegistryException e) {
-            String msg = "Setting the annon access enabled for the services icons paths.";
-            log.error(msg, e);
-            throw new Exception(msg, e);
-        }
-
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml b/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
deleted file mode 100644
index 1af9ec6..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ~  Copyright (c) 2009, 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.
-  -->
-
-<component xmlns="http://products.wso2.org/carbon">
-    <ManagementPermissions>
-        <ManagementPermission>
-            <DisplayName>Configure</DisplayName>
-            <ResourceId>/permission/admin/configure</ResourceId>
-        </ManagementPermission>
-        <ManagementPermission>
-            <DisplayName>Cloud-Services</DisplayName>
-            <ResourceId>/permission/admin/configure/cloud-services</ResourceId>
-        </ManagementPermission>
-   </ManagementPermissions>
-</component>
\ No newline at end of file


[23/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/jquery-1.5.1.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/jquery-1.5.1.min.js b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/jquery-1.5.1.min.js
deleted file mode 100755
index 14fd647..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/jquery-1.5.1.min.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.5.1
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Wed Feb 23 13:55:29 2011 -0500
- */
-(function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No con
 version from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bP(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bO(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bq.test(a)?e(a,f):bO(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bO(a+"["+f+"]",b[f],c,e)}function bN(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bH,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bN(a,c,d,e,l,g)));(k||!l)&&!g["*"
 ]&&(l=bN(a,c,d,e,"*",g));return l}function bM(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bB),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bo(a,b,c){var e=b==="width"?bi:bj,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function ba(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function _(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function $(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a
 .outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(J.t
 est(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(r,"`").replace(s,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(p,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,handleObj:g,
 level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function w(){return!0}function v(){return!1}function g(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a
 ,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a)
 :this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selecto
 r+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h
 ,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return
  a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.documentElement,e=c.cre
 ateElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.
 length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="a
 rray"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}catch(g){throw g}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}var c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments.length,c=b<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),e=c.promise();if(b>1){var f=E.call(arguments,0),g=b,h=function(a){return function(b){f[a]=arguments.length>1?E.call(
 arguments,0):b,--g||c.resolveWith(e,f)}};while(b--)a=f[b],a&&d.isFunction(a.promise)?a.promise().then(h(b),c.reject):--g;g||c.resolveWith(e,f)}else c!==a&&c.resolve(a);return e},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b,a)}),i.test(" ")&&(
 j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected
 ,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e),b=e=f=null}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClone=m.cloneNode(!0).cl
 oneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d
 };d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!g(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,h=b.nodeType,i=h?d.cache:b,j=h?b[d.expando]:d.expando;if(!i[j])return;i
 f(c){var k=e?i[j][f]:i[j];if(k){delete k[c];if(!g(k))return}}if(e){delete i[j][f];if(!g(i[j]))return}var l=i[j][f];d.support.deleteExpando||i!=a?delete i[j]:i[j]=null,l?(i[j]={},h||(i[j].toJSON=d.noop),i[j][f]=l):h&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=f(
 this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";retur
 n this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var h=/[\n\t\r]/g,i=/\s+/,j=/\r/g,k=/^(?:href|src|style)$/,l=/^(?:button|input)$/i,m=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,o=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(i);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",h=
 f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(h+=" "+b[j]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(i);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var j=(" "+g.className+" ").replace(h," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");g.className=d.trim(j)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),j=b,k=a.split(i);while(f=k[g++])j=e?j:!h.hasClass(f),h[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.cla
 ssName),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(h," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var k=i?f:0,l=i?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(o.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(j,"")}return b}var n=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this
 .nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&o.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=k.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&l.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.rem
 oveAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:m.test(a.nodeName)||n.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var p=/\.(.*)$/,q=/^(?:textarea|input|select)$/i,r=/\./g,s=/ /g,t=/[^\w\s.|`]/g,u=function(a){return a.replace(t,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=v;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=fu
 nction(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split
 ("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var w=s.handle;w&&(w.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.e
 vent.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(p,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new R
 egExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.related
 Target&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeE
 vent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{if(b!==c&&!b.parentNode)return;while(b&&b!==th
 is)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&C("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&C("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.type,c=a.value;b==="ra
 dio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(q.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in 
 z)d.event.add(this,c+".specialChange",z[c]);return q.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return q.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.
 remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="ob
 ject"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=p.exec(h),k="",j&&(k=j[0],h=h.replace(p,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.s
 izset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[
 x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=fun
 ction(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");i
 f(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),e=c&&
 !d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute(
 "name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not"
 )if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type
 },reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!
 0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};f
 or(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i
 ;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),fu
 nction(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3
 ]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(d||!l.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return k(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test
  e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.text=k.getText,d.isXM
 LDoc=k.isXML,d.contains=k.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.i
 ndex(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling
 ")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.
 push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(fun
 ction(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1
 &&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"
 ));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).be
 fore(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,ba)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!
 V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){$(a,e),f=_(a),g=_(e);for(h=0;f[h];++h)$(f[h],g[h])}if(b){Z(a,e);if(c){f=_(a),g=_(e);for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElem
 ent==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElement
 sByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bb=/alpha\([^)]*\)/i,bc=/opacity=([^)]*)/,bd=/-([a-z])/ig,be=/([A-Z])/g,bf=/^-?\d+(?:px)?$/i,bg=/^-?\d/,bh={position:"absolute",visibility:"hidden",display:"block"},bi=["Left","Right"],bj=["Top","Bottom"],bk,bl,bm,bn=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:
 function(a,b){if(b){var c=bk(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bk)return bk(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bd,bn)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a
 ,c,e){var f;if(c){a.offsetWidth!==0?f=bo(a,b,e):d.swap(a,bh,function(){f=bo(a,b,e)});if(f<=0){f=bk(a,b,b),f==="0px"&&bm&&(f=bm(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bf.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bb.test(f)?f.replace(bb,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bl=function(a,c,e){var f,g,h;e=e.replace(be,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.
 documentElement.currentStyle&&(bm=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bf.test(d)&&bg.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bk=bl||bm,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bp=/%20/g,bq=/\[\]$/,br=/\r?\n/g,bs=/#.*$/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bu=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bv=/(?:^file|^widget|\-extension):$/,bw=/^(?:GET|HEAD)$/,bx=/^\/\//,by=/\?/,bz=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bA=/^(?:select|textarea)/i,bB=/\s+/,bC=/([?&])_=[^&]*/,bD=/(^|\-)([a-z]
 )/g,bE=function(a,b,c){return b+c.toUpperCase()},bF=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,bG=d.fn.load,bH={},bI={},bJ,bK;try{bJ=c.location.href}catch(bL){bJ=c.createElement("a"),bJ.href="",bJ=bJ.href}bK=bF.exec(bJ.toLowerCase()),d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bG)return bG.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bz,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(t
 his.checked||bA.test(this.nodeName)||bu.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(br,"\r\n")}}):{name:b.name,value:c.replace(br,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bJ,isLocal:bv.test(bK[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,asyn
 c:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bM(bH),ajaxTransport:bM(bI),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bP(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bQ(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigger("ajaxComplete",[u,e
 ]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bD,bE)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bt.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bs,"").replace(bx,bK[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bB),e.crossDomain||(q=bF.e
 xec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bK[1]||q[2]!=bK[2]||(q[3]||(q[1]==="http:"?80:443))!=(bK[3]||(bK[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bN(bH,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!bw.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(by.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bC,"$1_="+w);e.url=x+(x===e.url?(by.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);if(e.beforeSend&&(e.be
 foreSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bN(bI,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bO(g,a[g],c,f);return e.join("&").replace(bp,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bR=d.now(),bS=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bR++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==
 !1&&(bS.test(b.url)||f&&bS.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bS,l),b.url===j&&(f&&(k=k.replace(bS,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:fu
 nction(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bT=d.now(),bU,bV;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bX()||bY()}:bX,bV=d.ajaxSettings.xhr(),d.support.ajax=!!bV,d.support.cors=bV&&"withCredentials"in bV,bV=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),(!a.crossDomain||a.hasContent)&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttp
 Request");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bU[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bU||(bU={},bW()),h=bT++,g.onreadystatechange=bU[h]=c):c()},abort:function(){c&&c(0,1)}}}});var bZ={},b$=/^(?:toggle|show|hide)$/,b_=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ca,cb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(cc("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.displa
 y,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cd(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cc("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(cc("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))
 return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cd(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(b$.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=b_.exec(e),j=f.cur();if(i){var k=parseFloat(i[2]),l=i[3]||(d.cssNumber
 [c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:cc("show",1),slideUp:cc("hide",1),slideToggle:cc("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e}
 ,easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!ca&&(ca=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||t
 his.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easin
 g[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(ca),ca=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var ce=/^t(?:able|d|h)$/i,cf=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=
 b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=cg(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.of
 fsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!ce.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.exte
 nd(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative"
 );var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=cf.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!cf.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var
  f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=cg(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=cg(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset
 "+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);
\ No newline at end of file


[31/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/src/main/resources/AuthenticationAdmin.wsdl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/src/main/resources/AuthenticationAdmin.wsdl b/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/src/main/resources/AuthenticationAdmin.wsdl
deleted file mode 100644
index d670ac3..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/src/main/resources/AuthenticationAdmin.wsdl
+++ /dev/null
@@ -1,1370 +0,0 @@
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://authentication.services.core.carbon.wso2.org" xmlns:ax2103="http://transport.axis2.apache.org/xsd" xmlns:ax287="http://constants.schema.commons.ws.apache.org/xsd" xmlns:ax239="http://util.java/xsd" xmlns:ax285="http://dom.w3c.org/xsd" xmlns:ax283="http://schema.commons.ws.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax2101="http://client.axis2.apache.org/xsd" xmlns:ax280="http://neethi.apache.org/xsd" xmlns:ax262="http://util.deployment.axis2.apache.org/xsd" xmlns:ax246="http://clustering.axis2.apache.org/xsd" xmlns:ax245="http://engine.axis2.apache.org/xsd" xmlns:ax265="http://net.java/xsd" xmlns:ax267="http://securevault.wso2.org/xsd" xmlns:ax241="http://lifecycle.attachments.axiom.apache.org/xsd" xmlns:ax244="http://description.axis2.apache.org/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ax269="http://util.axis2.apache.org/xsd" xmlns:ax249="http://threadpool
 .util.axis2.apache.org/xsd" xmlns:ax298="http://addressing.axis2.apache.org/xsd" xmlns:ax292="http://soap.axiom.apache.org/xsd" xmlns:ax293="http://om.axiom.apache.org/xsd" xmlns:ax233="http://authentication.services.core.carbon.wso2.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax231="http://common.core.carbon.wso2.org/xsd" xmlns:ax236="http://attachments.axiom.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax237="http://io.java/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax271="http://transaction.axis2.apache.org/xsd" xmlns:ax235="http://context.axis2.apache.org/xsd" xmlns:ax277="http://java2wsdl.description.axis2.apache.org/xsd" xmlns:ax256="http://state.clustering.axis2.apache.org/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ax253="http://management.clustering.axis2.apache.org/xsd" targetNamespace="http://authentication.services.core.carbon.wso2.org">
-    <wsdl:documentation>AuthenticationAdmin</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://transaction.axis2.apache.org/xsd">
-            <xs:complexType name="TransactionConfiguration">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="transactionManager" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="transactionTimeout" type="xs:int"/>
-                    <xs:element minOccurs="0" name="userTransaction" nillable="true" type="xs:anyType"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax281="http://util.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://neethi.apache.org/xsd">
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:complexType abstract="true" name="AbstractPolicyOperator">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="empty" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="firstPolicyComponent" nillable="true" type="ax280:PolicyComponent"/>
-                    <xs:element minOccurs="0" name="policyComponents" nillable="true" type="xs:anyType"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="PolicyComponent">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="type" type="xs:short"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="All">
-                <xs:complexContent>
-                    <xs:extension base="ax280:AbstractPolicyOperator">
-                        <xs:sequence>
-                            <xs:element minOccurs="0" name="assertions" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="type" type="xs:short"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-            <xs:complexType name="Policy">
-                <xs:complexContent>
-                    <xs:extension base="ax280:All">
-                        <xs:sequence>
-                            <xs:element minOccurs="0" name="alternatives" nillable="true" type="ax239:Iterator"/>
-                            <xs:element minOccurs="0" name="attributes" nillable="true" type="ax239:Map"/>
-                            <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
-                            <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                            <xs:element minOccurs="0" name="type" type="xs:short"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://constants.schema.commons.ws.apache.org/xsd">
-            <xs:complexType abstract="true" name="Enum">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://threadpool.util.axis2.apache.org/xsd">
-            <xs:complexType abstract="true" name="ThreadFactory">
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax284="http://util.java/xsd" xmlns:ax288="http://constants.schema.commons.ws.apache.org/xsd" xmlns:ax286="http://dom.w3c.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schema.commons.ws.apache.org/xsd">
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:import namespace="http://dom.w3c.org/xsd"/>
-            <xs:import namespace="http://constants.schema.commons.ws.apache.org/xsd"/>
-            <xs:complexType abstract="true" name="XmlSchemaObject">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="lineNumber" type="xs:int"/>
-                    <xs:element minOccurs="0" name="linePosition" type="xs:int"/>
-                    <xs:element minOccurs="0" name="metaInfoMap" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="sourceURI" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="XmlSchemaAnnotated">
-                <xs:complexContent>
-                    <xs:extension base="ax283:XmlSchemaObject">
-                        <xs:sequence>
-                            <xs:element minOccurs="0" name="annotation" nillable="true" type="ax283:XmlSchemaAnnotation"/>
-                            <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
-                            <xs:element maxOccurs="unbounded" minOccurs="0" name="unhandledAttributes" nillable="true" type="ax285:Attr"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-            <xs:complexType name="XmlSchemaAnnotation">
-                <xs:complexContent>
-                    <xs:extension base="ax283:XmlSchemaObject">
-                        <xs:sequence>
-                            <xs:element minOccurs="0" name="items" nillable="true" type="ax283:XmlSchemaObjectCollection"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-            <xs:complexType name="XmlSchemaObjectCollection">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="count" type="xs:int"/>
-                    <xs:element minOccurs="0" name="iterator" nillable="true" type="ax239:Iterator"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="XmlSchemaParticle">
-                <xs:complexContent>
-                    <xs:extension base="ax283:XmlSchemaAnnotated">
-                        <xs:sequence>
-                            <xs:element minOccurs="0" name="maxOccurs" type="xs:long"/>
-                            <xs:element minOccurs="0" name="minOccurs" type="xs:long"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-            <xs:complexType name="XmlSchemaElement">
-                <xs:complexContent>
-                    <xs:extension base="ax283:XmlSchemaParticle">
-                        <xs:sequence>
-                            <xs:element minOccurs="0" name="QName" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="abstract" type="xs:boolean"/>
-                            <xs:element minOccurs="0" name="block" nillable="true" type="ax283:XmlSchemaDerivationMethod"/>
-                            <xs:element minOccurs="0" name="blockResolved" nillable="true" type="ax283:XmlSchemaDerivationMethod"/>
-                            <xs:element minOccurs="0" name="constraints" nillable="true" type="ax283:XmlSchemaObjectCollection"/>
-                            <xs:element minOccurs="0" name="defaultValue" nillable="true" type="xs:string"/>
-                            <xs:element minOccurs="0" name="elementType" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="final" nillable="true" type="ax283:XmlSchemaDerivationMethod"/>
-                            <xs:element minOccurs="0" name="fixedValue" nillable="true" type="xs:string"/>
-                            <xs:element minOccurs="0" name="form" nillable="true" type="ax283:XmlSchemaForm"/>
-                            <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                            <xs:element minOccurs="0" name="nillable" type="xs:boolean"/>
-                            <xs:element minOccurs="0" name="refName" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="schemaType" nillable="true" type="ax283:XmlSchemaType"/>
-                            <xs:element minOccurs="0" name="schemaTypeName" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="substitutionGroup" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="type" nillable="true" type="ax283:XmlSchemaType"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-            <xs:complexType name="XmlSchemaDerivationMethod">
-                <xs:complexContent>
-                    <xs:extension base="ax287:Enum">
-                        <xs:sequence>
-                            <xs:element maxOccurs="unbounded" minOccurs="0" name="values" nillable="true" type="xs:string"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-            <xs:complexType name="XmlSchemaForm">
-                <xs:complexContent>
-                    <xs:extension base="ax287:Enum">
-                        <xs:sequence>
-                            <xs:element maxOccurs="unbounded" minOccurs="0" name="values" nillable="true" type="xs:string"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-            <xs:complexType name="XmlSchemaType">
-                <xs:complexContent>
-                    <xs:extension base="ax283:XmlSchemaAnnotated">
-                        <xs:sequence>
-                            <xs:element minOccurs="0" name="QName" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="baseSchemaType" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="baseSchemaTypeName" nillable="true" type="xs:anyType"/>
-                            <xs:element minOccurs="0" name="dataType" nillable="true" type="ax283:XmlSchemaDatatype"/>
-                            <xs:element minOccurs="0" name="deriveBy" nillable="true" type="ax283:XmlSchemaDerivationMethod"/>
-                            <xs:element minOccurs="0" name="final" nillable="true" type="ax283:XmlSchemaDerivationMethod"/>
-                            <xs:element minOccurs="0" name="finalResolved" nillable="true" type="ax283:XmlSchemaDerivationMethod"/>
-                            <xs:element minOccurs="0" name="mixed" type="xs:boolean"/>
-                            <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="XmlSchemaDatatype">
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://util.axis2.apache.org/xsd">
-            <xs:complexType abstract="true" name="TargetResolver">
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://lifecycle.attachments.axiom.apache.org/xsd">
-            <xs:complexType abstract="true" name="LifecycleManager">
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax294="http://om.axiom.apache.org/xsd" xmlns:ax295="http://util.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://soap.axiom.apache.org/xsd">
-            <xs:import namespace="http://om.axiom.apache.org/xsd"/>
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:complexType abstract="true" name="SOAPEnvelope">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="SOAPBodyFirstElementLocalName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="SOAPBodyFirstElementNS" nillable="true" type="ax293:OMNamespace"/>
-                    <xs:element minOccurs="0" name="body" nillable="true" type="ax292:SOAPBody"/>
-                    <xs:element minOccurs="0" name="header" nillable="true" type="ax292:SOAPHeader"/>
-                    <xs:element minOccurs="0" name="version" nillable="true" type="ax292:SOAPVersion"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPBody">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="fault" nillable="true" type="ax292:SOAPFault"/>
-                    <xs:element minOccurs="0" name="firstElementLocalName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="firstElementNS" nillable="true" type="ax293:OMNamespace"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPFault">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="code" nillable="true" type="ax292:SOAPFaultCode"/>
-                    <xs:element minOccurs="0" name="detail" nillable="true" type="ax292:SOAPFaultDetail"/>
-                    <xs:element minOccurs="0" name="exception" nillable="true"/>
-                    <xs:element minOccurs="0" name="node" nillable="true" type="ax292:SOAPFaultNode"/>
-                    <xs:element minOccurs="0" name="reason" nillable="true" type="ax292:SOAPFaultReason"/>
-                    <xs:element minOccurs="0" name="role" nillable="true" type="ax292:SOAPFaultRole"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPFaultCode">
-                <xs:sequence/>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPFaultDetail">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="allDetailEntries" nillable="true" type="ax239:Iterator"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPFaultNode">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="nodeValue" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPFaultReason">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="allSoapTexts" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="firstSOAPText" nillable="true" type="ax292:SOAPFaultText"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPFaultText">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="lang" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPFaultRole">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="roleValue" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPHeader">
-                <xs:sequence/>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="SOAPVersion">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="encodingURI" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="envelopeURI" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="faultCodeQName" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="faultDetailQName" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="faultReasonQName" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="faultRoleQName" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="mustUnderstandFaultCode" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="nextRoleURI" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="receiverFaultCode" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="roleAttributeQName" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="senderFaultCode" nillable="true" type="xs:anyType"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax240="http://util.java/xsd" xmlns:ax242="http://lifecycle.attachments.axiom.apache.org/xsd" xmlns:ax238="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://attachments.axiom.apache.org/xsd">
-            <xs:import namespace="http://io.java/xsd"/>
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:import namespace="http://lifecycle.attachments.axiom.apache.org/xsd"/>
-            <xs:complexType name="Attachments">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="SOAPPartContentID" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="SOAPPartContentType" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="SOAPPartInputStream" nillable="true" type="ax238:InputStream"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="allContentIDs" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="attachmentSpecType" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="contentIDList" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="contentIDSet" nillable="true" type="ax239:Set"/>
-                    <xs:element minOccurs="0" name="contentLength" type="xs:long"/>
-                    <xs:element minOccurs="0" name="incomingAttachmentStreams" nillable="true" type="ax236:IncomingAttachmentStreams"/>
-                    <xs:element minOccurs="0" name="incomingAttachmentsAsSingleStream" nillable="true" type="ax238:InputStream"/>
-                    <xs:element minOccurs="0" name="lifecycleManager" nillable="true" type="ax242:LifecycleManager"/>
-                    <xs:element minOccurs="0" name="map" nillable="true" type="ax239:Map"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="IncomingAttachmentStreams">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="nextStream" nillable="true" type="ax236:IncomingAttachmentInputStream"/>
-                    <xs:element minOccurs="0" name="readyToGetNextStream" type="xs:boolean"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="IncomingAttachmentInputStream">
-                <xs:complexContent>
-                    <xs:extension base="ax238:InputStream">
-                        <xs:sequence>
-                            <xs:element minOccurs="0" name="contentId" nillable="true" type="xs:string"/>
-                            <xs:element minOccurs="0" name="contentLocation" nillable="true" type="xs:string"/>
-                            <xs:element minOccurs="0" name="contentType" nillable="true" type="xs:string"/>
-                            <xs:element minOccurs="0" name="headers" nillable="true" type="ax239:Map"/>
-                        </xs:sequence>
-                    </xs:extension>
-                </xs:complexContent>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://common.core.carbon.wso2.org/xsd">
-            <xs:complexType name="AuthenticationException">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="uiErrorCode" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://transport.axis2.apache.org/xsd">
-            <xs:complexType abstract="true" name="TransportListener">
-                <xs:sequence/>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="TransportSender">
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://dom.w3c.org/xsd">
-            <xs:complexType abstract="true" name="Attr">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="id" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="ownerElement" nillable="true" type="ax285:Element"/>
-                    <xs:element minOccurs="0" name="schemaTypeInfo" nillable="true" type="ax285:TypeInfo"/>
-                    <xs:element minOccurs="0" name="specified" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="Element">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="schemaTypeInfo" nillable="true" type="ax285:TypeInfo"/>
-                    <xs:element minOccurs="0" name="tagName" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="TypeInfo">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="typeName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="typeNamespace" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax2107="http://description.axis2.apache.org/xsd" xmlns:ax2102="http://addressing.axis2.apache.org/xsd" xmlns:ax2104="http://transport.axis2.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://client.axis2.apache.org/xsd">
-            <xs:import namespace="http://addressing.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://transport.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://description.axis2.apache.org/xsd"/>
-            <xs:complexType name="Options">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="action" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="callTransportCleanup" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="exceptionToBeThrownOnSOAPFault" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="faultTo" nillable="true" type="ax2102:EndpointReference"/>
-                    <xs:element minOccurs="0" name="from" nillable="true" type="ax2102:EndpointReference"/>
-                    <xs:element minOccurs="0" name="listener" nillable="true" type="ax2103:TransportListener"/>
-                    <xs:element minOccurs="0" name="logCorrelationIDString" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="manageSession" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="messageId" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="parent" nillable="true" type="ax2101:Options"/>
-                    <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="relatesTo" nillable="true" type="ax2102:RelatesTo"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="relationships" nillable="true" type="ax2102:RelatesTo"/>
-                    <xs:element minOccurs="0" name="replyTo" nillable="true" type="ax2102:EndpointReference"/>
-                    <xs:element minOccurs="0" name="soapVersionURI" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="timeOutInMilliSeconds" type="xs:long"/>
-                    <xs:element minOccurs="0" name="to" nillable="true" type="ax2102:EndpointReference"/>
-                    <xs:element minOccurs="0" name="transportIn" nillable="true" type="ax2107:TransportInDescription"/>
-                    <xs:element minOccurs="0" name="transportInProtocol" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="transportOut" nillable="true" type="ax2107:TransportOutDescription"/>
-                    <xs:element minOccurs="0" name="useSeparateListener" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://util.java/xsd">
-            <xs:complexType abstract="true" name="Set">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="empty" type="xs:boolean"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="Map">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="empty" type="xs:boolean"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="Iterator">
-                <xs:sequence/>
-            </xs:complexType>
-            <xs:complexType name="LinkedList">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="first" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="last" nillable="true" type="xs:anyType"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="LinkedHashMap">
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://io.java/xsd">
-            <xs:complexType abstract="true" name="InputStream">
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax254="http://context.axis2.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://management.clustering.axis2.apache.org/xsd">
-            <xs:import namespace="http://context.axis2.apache.org/xsd"/>
-            <xs:complexType abstract="true" name="NodeManager">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="configurationContext" nillable="true" type="ax235:ConfigurationContext"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax2106="http://transport.axis2.apache.org/xsd" xmlns:ax289="http://schema.commons.ws.apache.org/xsd" xmlns:ax273="http://engine.axis2.apache.org/xsd" xmlns:ax276="http://net.java/xsd" xmlns:ax275="http://util.deployment.axis2.apache.org/xsd" xmlns:ax282="http://neethi.apache.org/xsd" xmlns:ax274="http://util.java/xsd" xmlns:ax279="http://java2wsdl.description.axis2.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://description.axis2.apache.org/xsd">
-            <xs:import namespace="http://engine.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:import namespace="http://util.deployment.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://net.java/xsd"/>
-            <xs:import namespace="http://java2wsdl.description.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://neethi.apache.org/xsd"/>
-            <xs:import namespace="http://schema.commons.ws.apache.org/xsd"/>
-            <xs:import namespace="http://transport.axis2.apache.org/xsd"/>
-            <xs:complexType name="AxisMessage">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="axisOperation" nillable="true" type="ax244:AxisOperation"/>
-                    <xs:element minOccurs="0" name="direction" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="effectivePolicy" nillable="true" type="ax282:Policy"/>
-                    <xs:element minOccurs="0" name="elementQName" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="extensibilityAttributes" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="messageFlow" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="messagePartName" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="modulerefs" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="partName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="policyUpdated" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="schemaElement" nillable="true" type="ax289:XmlSchemaElement"/>
-                    <xs:element minOccurs="0" name="soapHeaders" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="wrapped" type="xs:boolean"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="AxisOperation">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="WSAMappingList" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="axisService" nillable="true" type="ax244:AxisService"/>
-                    <xs:element minOccurs="0" name="axisSpecificMEPConstant" type="xs:int"/>
-                    <xs:element minOccurs="0" name="controlOperation" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="faultAction" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="faultActionNames" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="faultMessages" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="inputAction" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="messageExchangePattern" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="messageReceiver" nillable="true" type="ax245:MessageReceiver"/>
-                    <xs:element minOccurs="0" name="messages" nillable="true" type="ax239:Iterator"/>
-                    <xs:element minOccurs="0" name="moduleRefs" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="outputAction" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="phasesInFaultFlow" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="phasesOutFaultFlow" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="phasesOutFlow" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="remainingPhasesInFlow" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="soapAction" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="style" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="wsamappingList" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="AxisService">
-                <xs:sequence>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="EPRs" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="WSAddressingFlag" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="axisServiceGroup" nillable="true" type="ax244:AxisServiceGroup"/>
-                    <xs:element minOccurs="0" name="bindingName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="classLoader" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="clientSide" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="controlOperations" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="customSchemaNamePrefix" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="customSchemaNameSuffix" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="customWsdl" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="elementFormDefault" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="enableAllTransports" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="endpointName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="endpointURL" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="endpoints" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="excludeInfo" nillable="true" type="ax262:ExcludeInfo"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="exposedTransports" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="fileName" nillable="true" type="ax265:URL"/>
-                    <xs:element minOccurs="0" name="importedNamespaces" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="lastUpdate" type="xs:long"/>
-                    <xs:element minOccurs="0" name="lastupdate" type="xs:long"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="messageElementQNameToOperationMap" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="modifyUserWSDLPortAddress" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="modules" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="nameSpacesMap" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="namespaceMap" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="objectSupplier" nillable="true" type="ax245:ObjectSupplier"/>
-                    <xs:element minOccurs="0" name="operations" nillable="true" type="ax239:Iterator"/>
-                    <xs:element minOccurs="0" name="operationsNameList" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="p2nMap" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="parent" nillable="true" type="ax244:AxisServiceGroup"/>
-                    <xs:element minOccurs="0" name="portTypeName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="publishedOperations" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="schemaLocationsAdjusted" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="schemaMappingTable" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="schemaTargetNamespace" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="schemaTargetNamespacePrefix" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="schematargetNamespace" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="schematargetNamespacePrefix" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="scope" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="serviceDescription" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="serviceLifeCycle" nillable="true" type="ax245:ServiceLifeCycle"/>
-                    <xs:element minOccurs="0" name="setEndpointsToAllUsedBindings" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="soapNsUri" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="targetNamespace" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="targetNamespacePrefix" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="typeTable" nillable="true" type="ax277:TypeTable"/>
-                    <xs:element minOccurs="0" name="useDefaultChains" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="useUserWSDL" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="wsdlFound" type="xs:boolean"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="AxisServiceGroup">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="axisDescription" nillable="true" type="ax245:AxisConfiguration"/>
-                    <xs:element minOccurs="0" name="foundWebResources" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="moduleRefs" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="serviceGroupClassLoader" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="serviceGroupName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="services" nillable="true" type="ax239:Iterator"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="TransportInDescription">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="faultFlow" nillable="true" type="ax244:Flow"/>
-                    <xs:element minOccurs="0" name="faultPhase" nillable="true" type="ax245:Phase"/>
-                    <xs:element minOccurs="0" name="inFlow" nillable="true" type="ax244:Flow"/>
-                    <xs:element minOccurs="0" name="inPhase" nillable="true" type="ax245:Phase"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="parameters" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="receiver" nillable="true" type="ax2106:TransportListener"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="Flow">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="handlerCount" type="xs:int"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="HandlerDescription">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="className" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="handler" nillable="true" type="ax245:Handler"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="parameters" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="parent" nillable="true" type="ax244:ParameterInclude"/>
-                    <xs:element minOccurs="0" name="rules" nillable="true" type="ax244:PhaseRule"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="ParameterInclude">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="parameters" nillable="true" type="xs:anyType"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="PhaseRule">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="after" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="before" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="phaseFirst" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="phaseLast" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="phaseName" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="TransportOutDescription">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="faultFlow" nillable="true" type="ax244:Flow"/>
-                    <xs:element minOccurs="0" name="faultPhase" nillable="true" type="ax245:Phase"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="outFlow" nillable="true" type="ax244:Flow"/>
-                    <xs:element minOccurs="0" name="outPhase" nillable="true" type="ax245:Phase"/>
-                    <xs:element minOccurs="0" name="parameters" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="sender" nillable="true" type="ax2106:TransportSender"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://om.axiom.apache.org/xsd">
-            <xs:complexType abstract="true" name="OMNamespace">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="namespaceURI" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="prefix" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax232="http://common.core.carbon.wso2.org/xsd" xmlns:ax2109="http://context.axis2.apache.org/xsd" xmlns:ax234="http://authentication.services.core.carbon.wso2.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://authentication.services.core.carbon.wso2.org">
-            <xs:import namespace="http://common.core.carbon.wso2.org/xsd"/>
-            <xs:import namespace="http://authentication.services.core.carbon.wso2.org/xsd"/>
-            <xs:import namespace="http://context.axis2.apache.org/xsd"/>
-            <xs:element name="AuthenticationAdminAuthenticationException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="AuthenticationException" nillable="true" type="ax232:AuthenticationException"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="logout">
-                <xs:complexType>
-                    <xs:sequence/>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="loginWithRememberMeOption">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="remoteAddress" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="loginWithRememberMeOptionResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="ax233:RememberMeData"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="loginWithRememberMeCookie">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="cookie" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="loginWithRememberMeCookieResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="login">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="remoteAddress" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="loginResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="isDisabled">
-                <xs:complexType>
-                    <xs:sequence/>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="isDisabledResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getPriority">
-                <xs:complexType>
-                    <xs:sequence/>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getPriorityResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:int"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getAuthenticatorName">
-                <xs:complexType>
-                    <xs:sequence/>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getAuthenticatorNameResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="authenticateWithRememberMe">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="messageContext" nillable="true" type="ax2109:MessageContext"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="authenticateWithRememberMeResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-        <xs:schema xmlns:ax250="http://threadpool.util.axis2.apache.org/xsd" xmlns:ax2108="http://client.axis2.apache.org/xsd" xmlns:ax296="http://soap.axiom.apache.org/xsd" xmlns:ax297="http://util.java/xsd" xmlns:ax2100="http://addressing.axis2.apache.org/xsd" xmlns:ax247="http://engine.axis2.apache.org/xsd" xmlns:ax290="http://description.axis2.apache.org/xsd" xmlns:ax291="http://neethi.apache.org/xsd" xmlns:ax243="http://attachments.axiom.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://context.axis2.apache.org/xsd">
-            <xs:import namespace="http://attachments.axiom.apache.org/xsd"/>
-            <xs:import namespace="http://engine.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://threadpool.util.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://description.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://neethi.apache.org/xsd"/>
-            <xs:import namespace="http://soap.axiom.apache.org/xsd"/>
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:import namespace="http://addressing.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://client.axis2.apache.org/xsd"/>
-            <xs:complexType name="MessageContext">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="FLOW" type="xs:int"/>
-                    <xs:element minOccurs="0" name="SOAP11" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="WSAAction" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="WSAMessageId" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="attachmentMap" nillable="true" type="ax243:Attachments"/>
-                    <xs:element minOccurs="0" name="axisMessage" nillable="true" type="ax244:AxisMessage"/>
-                    <xs:element minOccurs="0" name="axisOperation" nillable="true" type="ax244:AxisOperation"/>
-                    <xs:element minOccurs="0" name="axisService" nillable="true" type="ax244:AxisService"/>
-                    <xs:element minOccurs="0" name="axisServiceGroup" nillable="true" type="ax244:AxisServiceGroup"/>
-                    <xs:element minOccurs="0" name="configurationContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="currentHandlerIndex" type="xs:int"/>
-                    <xs:element minOccurs="0" name="currentPhaseIndex" type="xs:int"/>
-                    <xs:element minOccurs="0" name="doingMTOM" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="doingREST" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="doingSwA" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="effectivePolicy" nillable="true" type="ax280:Policy"/>
-                    <xs:element minOccurs="0" name="envelope" nillable="true" type="ax296:SOAPEnvelope"/>
-                    <xs:element minOccurs="0" name="executedPhases" nillable="true" type="ax239:Iterator"/>
-                    <xs:element minOccurs="0" name="executedPhasesExplicit" nillable="true" type="ax239:LinkedList"/>
-                    <xs:element minOccurs="0" name="executionChain" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="failureReason" nillable="true"/>
-                    <xs:element minOccurs="0" name="fault" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="faultTo" nillable="true" type="ax2100:EndpointReference"/>
-                    <xs:element minOccurs="0" name="from" nillable="true" type="ax2100:EndpointReference"/>
-                    <xs:element minOccurs="0" name="headerPresent" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="inboundContentLength" type="xs:long"/>
-                    <xs:element minOccurs="0" name="incomingTransportName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="isSOAP11Explicit" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="logCorrelationID" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="logIDString" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="messageID" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="newThreadRequired" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="operationContext" nillable="true" type="ax235:OperationContext"/>
-                    <xs:element minOccurs="0" name="options" nillable="true" type="ax2108:Options"/>
-                    <xs:element minOccurs="0" name="optionsExplicit" nillable="true" type="ax2108:Options"/>
-                    <xs:element minOccurs="0" name="outputWritten" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="paused" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="processingFault" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="properties" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="relatesTo" nillable="true" type="ax2100:RelatesTo"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="relationships" nillable="true" type="ax2100:RelatesTo"/>
-                    <xs:element minOccurs="0" name="replyTo" nillable="true" type="ax2100:EndpointReference"/>
-                    <xs:element minOccurs="0" name="responseWritten" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="rootContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="selfManagedDataMapExplicit" nillable="true" type="ax239:LinkedHashMap"/>
-                    <xs:element minOccurs="0" name="serverSide" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="serviceContext" nillable="true" type="ax235:ServiceContext"/>
-                    <xs:element minOccurs="0" name="serviceContextID" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="serviceGroupContext" nillable="true" type="ax235:ServiceGroupContext"/>
-                    <xs:element minOccurs="0" name="serviceGroupContextId" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="sessionContext" nillable="true" type="ax235:SessionContext"/>
-                    <xs:element minOccurs="0" name="soapAction" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="to" nillable="true" type="ax2100:EndpointReference"/>
-                    <xs:element minOccurs="0" name="transportIn" nillable="true" type="ax244:TransportInDescription"/>
-                    <xs:element minOccurs="0" name="transportOut" nillable="true" type="ax244:TransportOutDescription"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="ConfigurationContext">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="anyOperationContextRegistered" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="axisConfiguration" nillable="true" type="ax245:AxisConfiguration"/>
-                    <xs:element minOccurs="0" name="contextRoot" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="listenerManager" nillable="true" type="ax245:ListenerManager"/>
-                    <xs:element minOccurs="0" name="rootContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="serviceContextPath" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="serviceGroupContextIDs" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="serviceGroupContextTimeoutInterval" type="xs:long"/>
-                    <xs:element minOccurs="0" name="serviceGroupContextTimoutInterval" type="xs:long"/>
-                    <xs:element minOccurs="0" name="serviceGroupContexts" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="servicePath" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="threadPool" nillable="true" type="ax249:ThreadFactory"/>
-                    <xs:element minOccurs="0" name="transportManager" nillable="true" type="ax245:ListenerManager"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="OperationContext">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="axisOperation" nillable="true" type="ax244:AxisOperation"/>
-                    <xs:element minOccurs="0" name="complete" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="configurationContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="logCorrelationIDString" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="messageContexts" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="operationName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="rootContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="serviceContext" nillable="true" type="ax235:ServiceContext"/>
-                    <xs:element minOccurs="0" name="serviceGroupName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="ServiceContext">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="axisService" nillable="true" type="ax244:AxisService"/>
-                    <xs:element minOccurs="0" name="cachingOperationContext" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="configurationContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="groupName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="lastOperationContext" nillable="true" type="ax235:OperationContext"/>
-                    <xs:element minOccurs="0" name="logCorrelationIDString" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="myEPR" nillable="true" type="ax2100:EndpointReference"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="rootContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="serviceGroupContext" nillable="true" type="ax235:ServiceGroupContext"/>
-                    <xs:element minOccurs="0" name="targetEPR" nillable="true" type="ax2100:EndpointReference"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="ServiceGroupContext">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="description" nillable="true" type="ax244:AxisServiceGroup"/>
-                    <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="rootContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="serviceContexts" nillable="true" type="ax239:Iterator"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="SessionContext">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="cookieID" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="lastTouchedTime" type="xs:long"/>
-                    <xs:element minOccurs="0" name="rootContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="serviceGroupContext" nillable="true" type="ax239:Iterator"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax263="http://description.axis2.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://util.deployment.axis2.apache.org/xsd">
-            <xs:import namespace="http://description.axis2.apache.org/xsd"/>
-            <xs:complexType name="PhasesInfo">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="INPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="IN_FaultPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="OUTPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="OUT_FaultPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="globalInFaultPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="globalInflow" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="globalOutPhaseList" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="operationInFaultPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="operationInPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="operationOutFaultPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="operationOutPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="operationPhases" nillable="true" type="ax263:AxisOperation"/>
-                    <xs:element minOccurs="0" name="outFaultPhaseList" nillable="true" type="xs:anyType"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="ExcludeInfo">
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://net.java/xsd">
-            <xs:complexType name="URL">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="authority" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="content" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="defaultPort" type="xs:int"/>
-                    <xs:element minOccurs="0" name="file" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="host" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="path" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="port" type="xs:int"/>
-                    <xs:element minOccurs="0" name="protocol" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="query" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="ref" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="userInfo" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax299="http://util.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://addressing.axis2.apache.org/xsd">
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:complexType name="EndpointReference">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="WSAddressingAnonymous" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="address" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="addressAttributes" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="allReferenceParameters" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="attributes" nillable="true" type="xs:anyType"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="extensibleElements" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="logCorrelationIDString" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="metaData" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="metadataAttributes" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="referenceParameters" nillable="true" type="xs:anyType"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="RelatesTo">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="extensibilityAttributes" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="relationshipType" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://securevault.wso2.org/xsd">
-            <xs:complexType name="SecretResolver">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="initialized" type="xs:boolean"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax260="http://clustering.axis2.apache.org/xsd" xmlns:ax272="http://transaction.axis2.apache.org/xsd" xmlns:ax2105="http://description.axis2.apache.org/xsd" xmlns:ax270="http://util.axis2.apache.org/xsd" xmlns:ax261="http://util.java/xsd" xmlns:ax264="http://util.deployment.axis2.apache.org/xsd" xmlns:ax248="http://context.axis2.apache.org/xsd" xmlns:ax266="http://net.java/xsd" xmlns:ax268="http://securevault.wso2.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://engine.axis2.apache.org/xsd">
-            <xs:import namespace="http://context.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://clustering.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:import namespace="http://util.deployment.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://net.java/xsd"/>
-            <xs:import namespace="http://securevault.wso2.org/xsd"/>
-            <xs:import namespace="http://util.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://transaction.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://description.axis2.apache.org/xsd"/>
-            <xs:complexType name="AxisConfiguration">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="childFirstClassLoading" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="clusteringAgent" nillable="true" type="ax260:ClusteringAgent"/>
-                    <xs:element minOccurs="0" name="configurator" nillable="true" type="ax245:AxisConfigurator"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="faultyModules" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="faultyServices" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="faultyServicesDuetoModules" nillable="true" type="ax239:Map"/>
-                    <xs:element minOccurs="0" name="globalModules" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="globalOutPhase" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="inFaultFlowPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="inFaultPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="inFlowPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="inPhasesUptoAndIncludingPostDispatch" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" type="xs:anyType"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="localPolicyAssertions" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="moduleClassLoader" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="modules" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="observersList" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="outFaultFlowPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="outFaultPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="outFlowPhases" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="phasesInfo" nillable="true" type="ax262:PhasesInfo"/>
-                    <xs:element minOccurs="0" name="repository" nillable="true" type="ax266:URL"/>
-                    <xs:element minOccurs="0" name="secretResolver" nillable="true" type="ax268:SecretResolver"/>
-                    <xs:element minOccurs="0" name="serviceClassLoader" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="serviceGroups" nillable="true" type="ax239:Iterator"/>
-                    <xs:element minOccurs="0" name="services" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="start" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="systemClassLoader" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="targetResolverChain" nillable="true" type="ax269:TargetResolver"/>
-                    <xs:element minOccurs="0" name="transactionConfig" nillable="true" type="ax272:TransactionConfiguration"/>
-                    <xs:element minOccurs="0" name="transactionConfiguration" nillable="true" type="ax272:TransactionConfiguration"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="transportsIn" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="transportsOut" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="ListenerManager">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="configctx" nillable="true" type="ax248:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="shutdownHookRequired" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="stopped" type="xs:boolean"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="AxisConfigurator">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="axisConfiguration" nillable="true" type="ax245:AxisConfiguration"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="ObjectSupplier">
-                <xs:sequence/>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="ServiceLifeCycle">
-                <xs:sequence/>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="MessageReceiver">
-                <xs:sequence/>
-            </xs:complexType>
-            <xs:complexType name="Phase">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="handlerCount" type="xs:int"/>
-                    <xs:element minOccurs="0" name="handlerDesc" nillable="true" type="ax2105:HandlerDescription"/>
-                    <xs:element minOccurs="0" name="handlers" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="phaseFirst" nillable="true" type="ax245:Handler"/>
-                    <xs:element minOccurs="0" name="phaseLast" nillable="true" type="ax245:Handler"/>
-                    <xs:element minOccurs="0" name="phaseName" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType abstract="true" name="Handler">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="handlerDesc" nillable="true" type="ax2105:HandlerDescription"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax258="http://util.java/xsd" xmlns:ax257="http://context.axis2.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://state.clustering.axis2.apache.org/xsd">
-            <xs:import namespace="http://context.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:complexType abstract="true" name="StateManager">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="configurationContext" nillable="true" type="ax235:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="replicationExcludePatterns" nillable="true" type="ax239:Map"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://authentication.services.core.carbon.wso2.org/xsd">
-            <xs:complexType name="RememberMeData">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="authenticated" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="maxAge" type="xs:int"/>
-                    <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax259="http://state.clustering.axis2.apache.org/xsd" xmlns:ax251="http://context.axis2.apache.org/xsd" xmlns:ax255="http://management.clustering.axis2.apache.org/xsd" xmlns:ax252="http://util.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://clustering.axis2.apache.org/xsd">
-            <xs:import namespace="http://context.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:import namespace="http://management.clustering.axis2.apache.org/xsd"/>
-            <xs:import namespace="http://state.clustering.axis2.apache.org/xsd"/>
-            <xs:complexType abstract="true" name="ClusteringAgent">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="aliveMemberCount" type="xs:int"/>
-                    <xs:element minOccurs="0" name="configurationContext" nillable="true" type="ax251:ConfigurationContext"/>
-                    <xs:element minOccurs="0" name="coordinator" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="domains" nillable="true" type="ax239:Set"/>
-                    <xs:element minOccurs="0" name="members" nillable="true" type="xs:anyType"/>
-                    <xs:element minOccurs="0" name="nodeManager" nillable="true" type="ax255:NodeManager"/>
-                    <xs:element minOccurs="0" name="stateManager" nillable="true" type="ax259:StateManager"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax278="http://util.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://java2wsdl.description.axis2.apache.org/xsd">
-            <xs:import namespace="http://util.java/xsd"/>
-            <xs:complexType name="TypeTable">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="complexSchemaMap" nillable="true" type="ax239:Map"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="logoutRequest">
-        <wsdl:part name="parameters" element="ns:logout"/>
-    </wsdl:message>
-    <wsdl:message name="AuthenticationAdminAuthenticationException">
-        <wsdl:part name="parameters" element="ns:AuthenticationAdminAuthenticationException"/>
-    </wsdl:message>
-    <wsdl:message name="loginWithRememberMeCookieRequest">
-        <wsdl:part name="parameters" element="ns:loginWithRememberMeCookie"/>
-    </wsdl:message>
-    <wsdl:message name="loginWithRememberMeCookieResponse">
-        <wsdl:part name="parameters" element="ns:loginWithRememberMeCookieResponse"/>
-    </wsdl:message>
-    <wsdl:message name="authenticateWithRememberMeRequest">
-        <wsdl:part name="parameters" element="ns:authenticateWithRememberMe"/>
-    </wsdl:message>
-    <wsdl:message name="authenticateWithRememberMeResponse">
-        <wsdl:part name="parameters" element="ns:authenticateWithRememberMeResponse"/>
-    </wsdl:message>
-    <wsdl:message name="getAuthenticatorNameRequest">
-        <wsdl:part name="parameters" element="ns:getAuthenticatorName"/>
-    </wsdl:message>
-    <wsdl:message name="getAuthenticatorNameResponse">
-        <wsdl:part name="parameters" element="ns:getAuthenticatorNameResponse"/>
-    </wsdl:message>
-    <wsdl:message name="loginWithRememberMeOptionRequest">
-        <wsdl:part name="parameters" element="ns:loginWithRememberMeOption"/>
-    </wsdl:message>
-    <wsdl:message name="loginWithRememberMeOptionResponse">
-        <wsdl:part name="parameters" element="ns:loginWithRememberMeOptionResponse"/>
-    </wsdl:message>
-    <wsdl:message name="loginRequest">
-        <wsdl:part name="parameters" element="ns:login"/>
-    </wsdl:message>
-    <wsdl:message name="loginResponse">
-        <wsdl:part name="parameters" element="ns:loginResponse"/>
-    </wsdl:message>
-    <wsdl:message name="isDisabledRequest">
-        <wsdl:part name="parameters" element="ns:isDisabled"/>
-    </wsdl:message>
-    <wsdl:message name="isDisabledResponse">
-        <wsdl:part name="parameters" element="ns:isDisabledResponse"/>
-    </wsdl:message>
-    <wsdl:message name="getPriorityRequest">
-        <wsdl:part name="parameters" element="ns:getPriority"/>
-    </wsdl:message>
-    <wsdl:message name="getPriorityResponse">
-        <wsdl:part name="parameters" element="ns:getPriorityResponse"/>
-    </wsdl:message>
-    <wsdl:portType name="AuthenticationAdminPortType">
-        <wsdl:operation name="logout">
-            <wsdl:input message="ns:logoutRequest" wsaw:Action="urn:logout"/>
-            <wsdl:fault message="ns:AuthenticationAdminAuthenticationException" name="AuthenticationAdminAuthenticationException" wsaw:Action="urn:logoutAuthenticationAdminAuthenticationException"/>
-        </wsdl:operation>
-        <wsdl:operation name="loginWithRememberMeCookie">
-            <wsdl:input message="ns:loginWithRememberMeCookieRequest" wsaw:Action="urn:loginWithRememberMeCookie"/>
-            <wsdl:output message="ns:loginWithRememberMeCookieResponse" wsaw:Action="urn:loginWithRememberMeCookieResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="authenticateWithRememberMe">
-            <wsdl:input message="ns:authenticateWithRememberMeRequest" wsaw:Action="urn:authenticateWithRememberMe"/>
-            <wsdl:output message="ns:authenticateWithRememberMeResponse" wsaw:Action="urn:authenticateWithRememberMeResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="getAuthenticatorName">
-            <wsdl:input message="ns:getAuthenticatorNameRequest" wsaw:Action="urn:getAuthenticatorName"/>
-            <wsdl:output message="ns:getAuthenticatorNameResponse" wsaw:Action="urn:getAuthenticatorNameResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="loginWithRememberMeOption">
-            <wsdl:input message="ns:loginWithRememberMeOptionRequest" wsaw:Action="urn:loginWithRememberMeOption"/>
-            <wsdl:output message="ns:loginWithRememberMeOptionResponse" wsaw:Action="urn:loginWithRememberMeOptionResponse"/>
-            <wsdl:fault message="ns:AuthenticationAdminAuthenticationException" name="AuthenticationAdminAuthenticationException" wsaw:Action="urn:loginWithRememberMeOptionAuthenticationAdminAuthenticationException"/>
-        </wsdl:operation>
-        <wsdl:operation name="login">
-            <wsdl:input message="ns:loginRequest" wsaw:Action="urn:login"/>
-            <wsdl:output message="ns:loginResponse" wsaw:Action="urn:loginResponse"/>
-            <wsdl:fault message="ns:AuthenticationAdminAuthenticationException" name="AuthenticationAdminAuthenticationException" wsaw:Action="urn:loginAuthenticationAdminAuthenticationException"/>
-        </wsdl:operation>
-        <wsdl:operation name="isDisabled">
-            <wsdl:input message="ns:isDisabledRequest" wsaw:Action="urn:isDisabled"/>
-            <wsdl:output message="ns:isDisabledResponse" wsaw:Action="urn:isDisabledResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="getPriority">
-            <wsdl:input message="ns:getPriorityRequest" wsaw:Action="urn:getPriority"/>
-            <wsdl:output message="ns:getPriorityResponse" wsaw:Action="urn:getPriorityResponse"/>
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="AuthenticationAdminSoap11Binding" type="ns:AuthenticationAdminPortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="logout">
-            <soap:operation soapAction="urn:logout" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:fault name="AuthenticationAdminAuthenticationException">
-                <soap:fault use="literal" name="AuthenticationAdminAuthenticationException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="loginWithRememberMeCookie">
-            <soap:operation soapAction="urn:loginWithRememberMeCookie" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="authenticateWithRememberMe">
-            <soap:operation soapAction="urn:authenticateWithRememberMe" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getAuthenticatorName">
-            <soap:operation soapAction="urn:getAuthenticatorName" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="login">
-            <soap:operation soapAction="urn:login" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="AuthenticationAdminAuthenticationException">
-                <soap:fault use="literal" name="AuthenticationAdminAuthenticationException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="loginWithRememberMeOption">
-            <soap:operation soapAction="urn:loginWithRememberMeOption" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="Authent

<TRUNCATED>

[11/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sc-back.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sc-back.png b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sc-back.png
deleted file mode 100644
index 680369a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sc-back.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sc-header-repeat.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sc-header-repeat.png b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sc-header-repeat.png
deleted file mode 100644
index 65adf34..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sc-header-repeat.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sclogo.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sclogo.png b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sclogo.png
deleted file mode 100644
index 0c26fa1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/sclogo.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/pom.xml
deleted file mode 100644
index 0fab5f8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/pom.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-# Copyright (c) 2008, 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.
-  -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.1</version>
-        <relativePath>../../../pom.xml</relativePath>
-    </parent>
-
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos.manager.styles</artifactId>
-    <packaging>bundle</packaging>
-	<name>WSO2 Carbon Stratos Cloud Manager - UI styles</name>
-    <version>${stratos.controller.version}</version>
-    <url>http://wso2.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-            <plugin>
-                <artifactId>maven-eclipse-plugin</artifactId>
-                <version>2.6</version>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Import-Package>
-                            org.osgi.framework,
-                            org.osgi.service.http,
-                            org.wso2.carbon.ui,
-                            javax.servlet.*;version="2.4.0",
-                            *;resolution:=optional
-                        </Import-Package>
-                        <!--<Fragment-Host>org.wso2.carbon.ui</Fragment-Host>-->
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <includes>
-                    <include>META-INF/product.xml</include>
-                </includes>
-                <filtering>true</filtering>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-                <excludes>
-                    <exclude>META-INF/product.xml</exclude>
-                </excludes>
-            </resource>
-        </resources>
-    </build>
-
-     <dependencies>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui</artifactId>
-            <version>4.1.0</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.framework</artifactId>
-            <version>1.0.3</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.main</artifactId>
-             <version>1.0.3</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-             <version>1.0.0</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.eclipse.equinox</groupId>
-            <artifactId>org.eclipse.equinox.http.servlet</artifactId>
-            <version>2.2.2</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.eclipse.equinox</groupId>
-            <artifactId>org.eclipse.equinox.http.helper</artifactId>
-            <version>1.0.0</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.eclipse.equinox</groupId>
-            <artifactId>org.eclipse.equinox.jsp.jasper</artifactId>
-            <version>1.0.1.R33x_v20070816</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.eclipse.equinox</groupId>
-            <artifactId>javax.servlet.jsp</artifactId>
-            <version>2.0.0.v200706191603</version>
-        </dependency>
-    </dependencies>
-    <properties>
-         <wso2carbon.version>4.1.0</wso2carbon.version>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/META-INF/product.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/META-INF/product.xml b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/META-INF/product.xml
deleted file mode 100644
index 2a507a2..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/META-INF/product.xml
+++ /dev/null
@@ -1,26 +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.
- -->
-<product xmlns="http://products.wso2.org/carbon">
-    <properties>
-       <property name="userforum">http://stackoverflow.com/questions/tagged/wso2</property>
-       <property name="userguide">http://docs.wso2.org/stratos</property>
-       <property name="mailinglist">http://wso2.org/mail</property>
-       <property name="issuetracker">https://wso2.org/jira/browse/SPI</property>
-       <property name="webAdminConsoleTitle">WSO2 Stratos Controller (WSO2 SC)</property>
-    </properties>
-</product>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/favicon.ico
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/favicon.ico b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/favicon.ico
deleted file mode 100644
index f7b2bbf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/favicon.ico and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/css/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/css/main.css b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/css/main.css
deleted file mode 100755
index 78803ea..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/css/main.css
+++ /dev/null
@@ -1,240 +0,0 @@
-/* ---------------- template styles ------------------------- */
-body {
-	background-image: url( ../images/def-body-bg.gif);
-	background-position: left top;
-	background-repeat: repeat-x;
-}
-
-table#main-table td#header {
-	background-image: url( ../images/def-header-region-bg.gif);
-	background-position: right top;
-	background-repeat: no-repeat;
-}
-
-table#main-table td#menu-panel {
-	border-right: solid 0px #78BDE8;
-	padding-right: 10px;
-}
-
-table#main-table td#menu-panel table#menu-table {
-	background-image:url("../images/theme-menu-table-bg.gif");
-	background-position:left bottom;
-	background-repeat:no-repeat;
-}
-table#main-table td#menu-panel table#menu-table {
-	background-image: none;
-	background-position:left bottom;
-	background-repeat:no-repeat;
-	border-right:1px solid #B6D8F2;
-	border-bottom:1px solid #B6D8F2;
-}
-table#main-table td#menu-panel table#menu-table tbody tr td img {
-	height: 17px;
-}
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( ../images/def-header-bg.gif);
-    height: 121px;
-}
-
-div#header-div div.left-logo {
-	background-image:url("../images/logo.gif");
-	background-position:left center;
-	height:50px;
-	margin-left:50px;
-	margin-top:37px;
-}
-
-div#header-div div.middle-ad {
-	float: left;
-	margin-top: 18px;
-	height: 55px;
-	width: 35%;
-}
-
-div#header-div div.right-logo {
-	background-image:url("../images/right-logo.gif");
-	background-position:right top;
-	background-repeat:no-repeat;
-	color:#B6D8F2;
-	font-size:0;
-	height:31px;
-	line-height:0;
-	margin-right:20px;
-	margin-top:36px;
-	padding-right:0;
-	padding-top:5px;
-	width:239px;
-}
-div#header-div div.header-links {
-	margin-top: 8px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 20px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-image: none;
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 6px;
-	padding-bottom: 7px;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-	display: block !important;
-}
-
-div#menu ul.main li.menu-header {
-	background-image:none;
-	background-position:center top;
-	border-top: 1px solid #CFE3F6;
-	border-bottom:1px solid #78BDE8;
-	height:25px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #DAF0FC;
-	border-bottom: solid 1px #72CDF4;
-	border-top: solid 1px #72CDF4;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-} 
-
-/* -------------- child no-01 styles -------------- */
-
-div#menu ul.sub li.normal {
-
-}
-
-div#menu ul.sub li a.menu-default {
-} 
-
-/* ----------- child no-01 (disabled) styles ------------------- */
-	
-div#menu ul.sub li a.menu-disabled-link {
-	}
-	
-	div#menu ul.sub li a.menu-disabled-link:hover {
-	} 
-
-/* -------------- child no-02 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li a.menu-default {
-
-}
-
-/* -------------- child no-03 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
-}
-
-/* ------------- footer styles -------------------- */
-
-div#footer-div div.footer-content div.poweredby {
-	background-image: url(../images/powered-synapse.gif);
-	background-position: right top;
-}
-div#middle {
-	background-color: #fff;
-}
-
-/* ---- login styles ----- */
-
-
-/* --------------- table styles -------------------- */
-
-.tableOddRow{background-color: white;}
-.tableEvenRow{background-color: #EFECF5;}
-
-.button:hover{
-	background-image:url(../images/esb-button-bg-hover.gif);
-	border:solid 1px #8268A8;
-}
-
-/* =============================================================================================================== */
-
-
-
-.cornerExpand {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-.cornerCollapse {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-/* chanaka */
-
-.form-table td{
-   padding-bottom:5px !important;
-   padding-left:5px !important;
-   padding-top:5px !important;
-   padding-right:10px !important;
-}
-.form-table td div.indented{
-    padding-left:7px !important;
-    color:#595959 !important;
-}
-.form-table-left{
-width:100px;
-}
-
-.longTextField{
-width:270px;
-}
-.rowAlone{
-padding-top:10px;
-padding-bottom:10px;
-}
-.tabedBox{
-border:solid 1px #cccccc;
-margin-left:10px;
-padding:10px;
-margin-bottom:10px;
-}
-/* chanaka end */
-
-a.fact-selector-icon-link {
-    background-image: url( ../images/facts-selector.gif );
-    background-repeat: no-repeat;
-    background-position: left top;
-    padding-left: 20px;
-    line-height: 17px;
-    height: 17px;
-    float: left;
-    position: relative;
-    margin-left: 10px;
-    margin-top: 5px;
-    margin-bottom: 3px;
-    white-space: nowrap;
-}
-table#main-table td#middle-content {
-	background-color: #fff;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-body-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-body-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-body-bg.gif
deleted file mode 100755
index 5db1464..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-body-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-header-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-header-bg.gif
deleted file mode 100755
index 758363d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-header-region-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-header-region-bg.gif
deleted file mode 100755
index 935ee9e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/def-header-region-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/logo.gif
deleted file mode 100755
index 813e625..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/powered.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/powered.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/powered.gif
deleted file mode 100644
index b8bc163..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/powered.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/right-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/right-logo.gif
deleted file mode 100755
index 533d85a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/t-right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/t-right-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/t-right-logo.gif
deleted file mode 100644
index f118904..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/service/src/main/resources/web/styles/images/t-right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/pom.xml b/products/stratos2/stratos_controller/1.0.1/pom.xml
deleted file mode 100755
index d1f97cd..0000000
--- a/products/stratos2/stratos_controller/1.0.1/pom.xml
+++ /dev/null
@@ -1,418 +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.
- -->
-<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.carbon</groupId>
-        <artifactId>carbon-products</artifactId>
-        <version>4.1.0</version>
-        <relativePath>../../../pom.xml</relativePath>
-    </parent>
-    
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.stratos2</groupId>
-    <artifactId>wso2stratos2-parent</artifactId>
-    <version>1.0.1</version>
-    <packaging>pom</packaging>
-    <name>WSO2 Manager - Parent</name>
-    <url>http://wso2.com/cloud/stratos/</url>
-    <description>WSO2 Manager</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>modules/styles</module>
-        <module>modules/cloud-service-mgt</module>
-        <module>modules/dashboard</module>
-        <module>modules/login</module>
-        <module>modules/features</module>
-        <module>modules/p2-profile-gen</module>
-        <module>modules/features-dashboard</module>
-        <module>resources/cloud-services-icons</module>
-        <module>modules/distribution</module>
-        <module>modules/integration</module>
-    </modules>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>log4j</groupId>
-                <artifactId>log4j</artifactId>
-                <version>1.2.13</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-logging</groupId>
-                <artifactId>commons-logging</artifactId>
-                <version>1.1.1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.axis2.wso2</groupId>
-                <artifactId>axis2</artifactId>
-                <version>1.6.1.wso2v1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-                <artifactId>axiom</artifactId>
-                <version>1.2.11.wso2v2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.derby.wso2</groupId>
-                <artifactId>derby</artifactId>
-                <version>10.3.2.1wso2v1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.core</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.ui</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.core</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.mgt.ui.search</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.ui.search</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.mgt.ui.resources</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.ui.resources</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.ui.common</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.apache.felix.framework</artifactId>
-                <version>1.0.3</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.osgi.core</artifactId>
-                <version>1.0.0</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.apache.felix.main</artifactId>
-                <version>1.0.3</version>
-            </dependency>
-
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.osgi.compendium</artifactId>
-                <version>1.0.0</version>
-            </dependency>
-
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>org.eclipse.equinox.http.servlet</artifactId>
-                <version>2.2.2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>org.eclipse.equinox.http.helper</artifactId>
-                <version>1.0.0</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>org.eclipse.equinox.jsp.jasper</artifactId>
-                <version>1.0.1.R33x_v20070816</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>javax.servlet.jsp</artifactId>
-                <version>2.0.0.v200706191603</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>org.apache.jasper</artifactId>
-                <version>5.5.17.v200706111724</version>
-            </dependency>
-            <dependency>
-                <groupId>javax.servlet</groupId>
-                <artifactId>servlet-api</artifactId>
-                <version>${servlet-api.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.swt</groupId>
-                <artifactId>org.eclipse.swt</artifactId>
-                <version>${eclipse.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.swt</groupId>
-                <artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
-                <version>${eclipse.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.jface</groupId>
-                <artifactId>org.eclipse.jface</artifactId>
-                <version>${eclipse.version}</version>
-            </dependency>
-
-            <!-- Dependencies required for Cloud Manager -->
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.captcha.mgt</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.admin.mgt</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.admin.mgt.ui</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.account.mgt</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt.email.sender</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt.core</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt.axis2</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.common</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.theme.mgt</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.redirector.servlet</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.batik.wso2</groupId>
-                <artifactId>batik</artifactId>
-                <version>1.7.0.wso2v1</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-    <build>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.felix</groupId>
-                    <artifactId>maven-scr-plugin</artifactId>
-                    <version>1.0.10</version>
-                    <executions>
-                        <execution>
-                            <id>generate-scr-scrdescriptor</id>
-                            <goals>
-                                <goal>scr</goal>
-                            </goals>
-                        </execution>
-                    </executions>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>             
-        </plugins>
-    </build>
-    <scm>
-        <connection>scm:svn:https://wso2.org/repos/wso2/trunk/wsas/java</connection>
-        <developerConnection>scm:svn:https://wso2.org/repos/wso2/trunk/wsas/java
-        </developerConnection>
-    </scm>
-
-    <repositories>
-        <repository>
-            <id>wso2-nexus</id>
-            <name>WSO2 internal Repository</name>
-            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
-            <releases>
-                <enabled>true</enabled>
-                <updatePolicy>daily</updatePolicy>
-                <checksumPolicy>ignore</checksumPolicy>
-            </releases>
-        </repository>
-        <!--moved to nexus
-
-        <repository>
-            <id>wso2-maven2-repository-snapshot</id>
-            <url>http://dist.wso2.org/snapshots/maven2</url>
-        </repository>
-        <repository>
-            <id>m2-snapshot-repository</id>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </repository>
-        <repository>
-            <id>tomcat-repository</id>
-            <url>http://tomcat.apache.org/dev/dist/m2-repository</url>
-        </repository>
-        <repository>
-            <id>ws-zones-repository</id>
-            <url>http://ws.zones.apache.org/repository2</url>
-        </repository>
-        <!&ndash;&ndash; Others are available from http://repo1.maven.org/maven2 &ndash;&ndash;>
-
-        -->
-    </repositories>
-
-    <distributionManagement>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <name>WSO2 Maven2 Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
-        </repository>
-        <snapshotRepository>
-            <id>wso2-maven2-snapshot-repository</id>
-            <name>WSO2 Maven2 Snapshot Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
-        </snapshotRepository>
-    </distributionManagement>
-
-    <profiles>
-        <profile>
-            <activation>
-                <property>
-                    <name>sign</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-gpg-plugin</artifactId>
-                        <version>1.0-alpha-3</version>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-compiler-plugin</artifactId>
-                        <configuration>
-                            <source>1.6</source>
-                            <target>1.6</target>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
-    <organization>
-        <name>WSO2 Inc</name>
-        <url>http://wso2.com</url>
-    </organization>
-
-    <properties>
-        <rampart.mar.version>1.6.1-wso2v8</rampart.mar.version>
-        <features-dashboard.war.version>1.0.0</features-dashboard.war.version>
-        <carbon.version>4.1.0</carbon.version>
-	<synapse.version>2.1.1.wso2v4</synapse.version>
-        <stratos.controller.version>1.0.1</stratos.controller.version>
-        <stratos.component.version>2.1.0</stratos.component.version>
-        <stratos.component.patch.version>2.1.3</stratos.component.patch.version>
-        <eclipse.version>3.2.0</eclipse.version>
-        <servlet-api.version>2.4</servlet-api.version>
-        <shoppingcart.version>2.1.0</shoppingcart.version>
-	<shoppingcart.global.version>2.1.0</shoppingcart.global.version>
-	<carbon.kernel.version>4.1.0</carbon.kernel.version>
-	<version.synapse>2.1.1-wso2v3</version.synapse>
-	<carbon.p2.plugin.version>1.5.2</carbon.p2.plugin.version>
-	<carbon.platform.version>4.1.0</carbon.platform.version>
-	<passthru.transport.version>1.0.2</passthru.transport.version>
-	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <opencsv.version>1.8</opencsv.version>
-        <poi.version>3.0-FINAL</poi.version>
-        <axis2.transport.version>1.1.0-wso2v8</axis2.transport.version>
-        <axis2.wso2.version>1.6.1.wso2v8</axis2.wso2.version>
-        <axiom.wso2.version>1.2.11.wso2v2</axiom.wso2.version>
-	<servlet-api.version>2.4</servlet-api.version>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-	<quartz.wso2.version>2.1.1.wso2v1</quartz.wso2.version>
-    </properties>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/logo.gif
deleted file mode 100755
index 196b81f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/main.css b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/main.css
deleted file mode 100755
index cea80c4..0000000
--- a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/main.css
+++ /dev/null
@@ -1,232 +0,0 @@
-/* ---------------- template styles ------------------------- */
-
-table#main-table td#header {
-	background-image: url( theme-header-region-bg.gif);
-}
-
-table#main-table td#menu-panel {
-	border-right: solid 0px #73559D;
-	background-image: url(theme-menu-panel-l-bg.gif);
-	background-position: left top;
-	background-repeat: no-repeat;
-	padding-left: 0;
-	background-color: #F4F4F4;
-}
-
-table#main-table td#menu-panel table#menu-table {
-	background-image:url("theme-menu-table-bg.gif");
-	background-position:left bottom;
-	background-repeat:no-repeat;
-}
-table#main-table td#menu-panel table#menu-table td {
-	padding-left: 6px;
-	padding-right:16px;
-}	
-table#main-table td#menu-panel table#menu-table tbody tr td img {
-	height: 17px;
-}
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( theme-header-bg.gif);
-    height: 115px;
-}
-
-div#header-div div.left-logo {
-	background-image: url( logo.gif );
-	background-position: left center;
-	height: 80px;
-	margin-left:65px;
-	margin-top:0px;
-}
-
-div#header-div div.middle-ad {
-	float: left;
-	margin-top: 18px;
-	height: 55px;
-	width: 35%;
-	display: none;
-}
-
-div#header-div div.right-logo {
-	background-image:url("../../../../../../../../../carbon/admin/images/t-right-logo.gif");
-	background-position:right top;
-	background-repeat:no-repeat;
-	height:45px;
-	margin-right:20px;
-	line-height: 0px;
-	margin-top:10px;
-	padding-right:0px;
-	padding-top:5px;
-	color: #fff;
-	font-size: 0px;
-	width: 500px;
-}
-div#header-div div.header-links {
-	margin-top:0px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 35px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-image:url("theme-right-links-bg.gif");
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 6px;
-	padding-bottom: 7px;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-	display:block !important;
-}
-
-div#menu ul.main li.menu-header {
-	background-image:url("theme-menu-header.gif");
-	background-position: top;
-	height: 28px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #EFECF5;
-	border-bottom: solid 1px #C2B7D8;
-	border-top: solid 1px #C2B7D8;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-} 
-
-/* -------------- child no-01 styles -------------- */
-
-div#menu ul.sub li.normal {
-
-}
-
-div#menu ul.sub li a.menu-default {
-} 
-
-/* ----------- child no-01 (disabled) styles ------------------- */
-	
-div#menu ul.sub li a.menu-disabled-link {
-	}
-	
-	div#menu ul.sub li a.menu-disabled-link:hover {
-	} 
-
-/* -------------- child no-02 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li a.menu-default {
-
-}
-
-/* -------------- child no-03 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
-}
-
-/* ------------- footer styles -------------------- */
-
-
-div#footer-div div.footer-content {
-    background-image: url(../../../../../../../../../carbon/admin/images/powered.gif);
-	background-position: right center;
-	background-repeat: no-repeat;
-	margin-right: 10px;
-	
-}
-
-/* ---- login styles ----- */
-
-
-/* --------------- table styles -------------------- */
-
-.tableOddRow{background-color: white;}
-.tableEvenRow{background-color: #EFECF5;}
-
-.button:hover{
-	border:solid 1px #8268A8;
-}
-
-/* =============================================================================================================== */
-
-
-
-.cornerExpand {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-.cornerCollapse {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-/* chanaka */
-
-.form-table td{
-   padding-bottom:5px !important;
-   padding-left:5px !important;
-   padding-top:5px !important;
-   padding-right:10px !important;
-}
-.form-table td div.indented{
-    padding-left:7px !important;
-    color:#595959 !important;
-}
-.form-table-left{
-width:100px;
-}
-
-.longTextField{
-width:270px;
-}
-.rowAlone{
-padding-top:10px;
-padding-bottom:10px;
-}
-.tabedBox{
-border:solid 1px #cccccc;
-margin-left:10px;
-padding:10px;
-margin-bottom:10px;
-}
-/* chanaka end */
-
-a.fact-selector-icon-link {
-    background-repeat: no-repeat;
-    background-position: left top;
-    padding-left: 20px;
-    line-height: 17px;
-    height: 17px;
-    float: left;
-    position: relative;
-    margin-left: 10px;
-    margin-top: 5px;
-    margin-bottom: 3px;
-    white-space: nowrap;
-}
-table#main-table td#middle-content {
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/powered-stratos.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/powered-stratos.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/powered-stratos.gif
deleted file mode 100755
index 6597d26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/powered-stratos.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/right-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/right-logo.gif
deleted file mode 100755
index e6c3d13..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-header-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-header-bg.gif
deleted file mode 100755
index 99add93..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-header-region-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-header-region-bg.gif
deleted file mode 100755
index 7cc3f52..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-header-region-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-header.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-header.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-header.gif
deleted file mode 100755
index 84bb42e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-header.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-panel-l-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-panel-l-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-panel-l-bg.gif
deleted file mode 100755
index a6c268f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-panel-l-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-table-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-table-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-table-bg.gif
deleted file mode 100755
index 213819a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-menu-table-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-right-links-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-right-links-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-right-links-bg.gif
deleted file mode 100755
index 0a2e51a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/admin/theme-right-links-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/thumb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/thumb.png b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/thumb.png
deleted file mode 100755
index 7db90a6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Dark/thumb.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-body-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-body-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-body-bg.gif
deleted file mode 100755
index 5db1464..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-body-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-header-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-header-bg.gif
deleted file mode 100755
index 758363d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-header-region-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-header-region-bg.gif
deleted file mode 100755
index 935ee9e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/def-header-region-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/logo.gif
deleted file mode 100755
index 813e625..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/main.css b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/main.css
deleted file mode 100755
index 252266e..0000000
--- a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/main.css
+++ /dev/null
@@ -1,229 +0,0 @@
-/* ---------------- template styles ------------------------- */
-body {
-	background-image: url( def-body-bg.gif);
-	background-position: left top;
-	background-repeat: repeat-x;
-}
-
-table#main-table td#header {
-	background-image: url( def-header-region-bg.gif);
-	background-position: right top;
-	background-repeat: no-repeat;
-}
-
-table#main-table td#menu-panel {
-	border-right: solid 0px #78BDE8;
-	padding-right: 10px;
-}
-
-table#main-table td#menu-panel table#menu-table {
-	background-image: none;
-	background-position:left bottom;
-	background-repeat:no-repeat;
-}
-table#main-table td#menu-panel table#menu-table {
-	background-image: none;
-	background-position:left bottom;
-	background-repeat:no-repeat;
-	border-right:1px solid #B6D8F2;
-	border-bottom:1px solid #B6D8F2;
-}
-table#main-table td#menu-panel table#menu-table tbody tr td img {
-	height: 17px;
-}
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( def-header-bg.gif);
-    height: 121px;
-}
-
-div#header-div div.left-logo {
-	background-image:url("logo.gif");
-	background-position:left center;
-	height:50px;
-	margin-left:50px;
-	margin-top:37px;
-}
-
-div#header-div div.middle-ad {
-	float: left;
-	margin-top: 18px;
-	height: 55px;
-	width: 35%;
-	display:none;
-}
-
-div#header-div div.right-logo {
-	background-image:url("../../../../../../../../../carbon/admin/images/t-right-logo.gif");
-	background-position:right top;
-	background-repeat:no-repeat;
-	color:#B6D8F2;
-	font-size:0;
-	height:45px;
-	line-height:0;
-	margin-right:20px;
-	margin-top:20px;
-	padding-right:0;
-	padding-top:5px;
-	width:500px;
-}
-div#header-div div.header-links {
-	margin-top: 8px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 20px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-image: none;
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 6px;
-	padding-bottom: 7px;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-	display: block !important;
-}
-
-div#menu ul.main li.menu-header {
-	background-image:none;
-	background-position:center top;
-	border-top: 1px solid #CFE3F6;
-	border-bottom:1px solid #78BDE8;
-	height:25px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #DAF0FC;
-	border-bottom: solid 1px #72CDF4;
-	border-top: solid 1px #72CDF4;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-} 
-
-/* -------------- child no-01 styles -------------- */
-
-div#menu ul.sub li.normal {
-
-}
-
-div#menu ul.sub li a.menu-default {
-} 
-
-/* ----------- child no-01 (disabled) styles ------------------- */
-	
-div#menu ul.sub li a.menu-disabled-link {
-	}
-	
-	div#menu ul.sub li a.menu-disabled-link:hover {
-	} 
-
-/* -------------- child no-02 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li a.menu-default {
-
-}
-
-/* -------------- child no-03 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
-}
-
-/* ------------- footer styles -------------------- */
-
-div#footer-div div.footer-content {
-    background-image: url(../../../../../../../../../carbon/admin/images/powered.gif);
-	background-position: right center;
-	background-repeat: no-repeat;
-	margin-right: 10px;
-}
-
-div#middle {
-	background-color: #fff;
-}
-
-/* ---- login styles ----- */
-
-
-/* --------------- table styles -------------------- */
-
-.tableOddRow{background-color: white;}
-.tableEvenRow{background-color: #EFECF5;}
-
-.button:hover{
-	border:solid 1px #8268A8;
-}
-
-/* =============================================================================================================== */
-
-
-
-.cornerExpand {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-.cornerCollapse {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-/* chanaka */
-
-.form-table td{
-   padding-bottom:5px !important;
-   padding-left:5px !important;
-   padding-top:5px !important;
-   padding-right:10px !important;
-}
-.form-table td div.indented{
-    padding-left:7px !important;
-    color:#595959 !important;
-}
-.form-table-left{
-width:100px;
-}
-
-.longTextField{
-width:270px;
-}
-.rowAlone{
-padding-top:10px;
-padding-bottom:10px;
-}
-.tabedBox{
-border:solid 1px #cccccc;
-margin-left:10px;
-padding:10px;
-margin-bottom:10px;
-}
-/* chanaka end */
-
-table#main-table td#middle-content {
-	background-color: #fff;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/powered-stratos.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/powered-stratos.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/powered-stratos.gif
deleted file mode 100755
index 6597d26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/powered-stratos.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/right-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/right-logo.gif
deleted file mode 100755
index f118904..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/admin/right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/thumb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/thumb.png b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/thumb.png
deleted file mode 100755
index 46fc8e6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Default/thumb.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/logo.gif
deleted file mode 100755
index 196b81f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/main.css b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/main.css
deleted file mode 100755
index baf34f0..0000000
--- a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/main.css
+++ /dev/null
@@ -1,229 +0,0 @@
-/* ---------------- template styles ------------------------- */
-
-table#main-table td#header {
-	background-image: url( theme-header-region-bg.gif);
-}
-
-table#main-table td#menu-panel {
-	border-right: solid 0px #73559D;
-	background-image: url(theme-menu-panel-l-bg.gif);
-	background-position: left top;
-	background-repeat: no-repeat;
-	padding-left: 0;
-	background-color: #F4F4F4;
-}
-
-table#main-table td#menu-panel table#menu-table {
-	background-image:url("theme-menu-table-bg.gif");
-	background-position:left bottom;
-	background-repeat:no-repeat;
-}
-table#main-table td#menu-panel table#menu-table td {
-	padding-left: 6px;
-	padding-right:16px;
-}	
-table#main-table td#menu-panel table#menu-table tbody tr td img {
-	height: 17px;
-}
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( theme-header-bg.gif);
-    height: 103px;
-}
-
-div#header-div div.left-logo {
-	background-image: url( logo.gif );
-	background-position: left center;
-	height: 80px;
-	margin-left:65px;
-	margin-top:0px;
-}
-
-div#header-div div.middle-ad {
-	float: left;
-	margin-top: 18px;
-	height: 55px;
-	width: 35%;
-	display:none;
-}
-
-div#header-div div.right-logo {
-	background-image:url("../../../../../../../../../carbon/admin/images/t-right-logo.gif");
-	background-position:right top;
-	background-repeat:no-repeat;
-	height:45px;
-	margin-right:20px;
-	line-height: 0px;
-	margin-top:10px;
-	padding-right:0px;
-	padding-top:5px;
-	color: #fff;
-	font-size: 0px;
-    	width:500px;
-}
-div#header-div div.header-links {
-	margin-top:-10px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 35px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 6px;
-	padding-bottom: 7px;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-	display:block !important;
-}
-
-div#menu ul.main li.menu-header {
-	background-position: top;
-	height: 28px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #EFECF5;
-	border-bottom: solid 1px #C2B7D8;
-	border-top: solid 1px #C2B7D8;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-} 
-
-/* -------------- child no-01 styles -------------- */
-
-div#menu ul.sub li.normal {
-
-}
-
-div#menu ul.sub li a.menu-default {
-} 
-
-/* ----------- child no-01 (disabled) styles ------------------- */
-	
-div#menu ul.sub li a.menu-disabled-link {
-	}
-	
-	div#menu ul.sub li a.menu-disabled-link:hover {
-	} 
-
-/* -------------- child no-02 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li a.menu-default {
-
-}
-
-/* -------------- child no-03 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
-}
-
-/* ------------- footer styles -------------------- */
-
-
-div#footer-div div.footer-content {
-    background-image: url(../../../../../../../../../carbon/admin/images/powered.gif);
-	background-position: right center;
-	background-repeat: no-repeat;
-	margin-right: 10px;
-}
-
-/* ---- login styles ----- */
-
-
-/* --------------- table styles -------------------- */
-
-.tableOddRow{background-color: white;}
-.tableEvenRow{background-color: #EFECF5;}
-
-.button:hover{
-	border:solid 1px #8268A8;
-}
-
-/* =============================================================================================================== */
-
-
-
-.cornerExpand {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-.cornerCollapse {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-/* chanaka */
-
-.form-table td{
-   padding-bottom:5px !important;
-   padding-left:5px !important;
-   padding-top:5px !important;
-   padding-right:10px !important;
-}
-.form-table td div.indented{
-    padding-left:7px !important;
-    color:#595959 !important;
-}
-.form-table-left{
-width:100px;
-}
-
-.longTextField{
-width:270px;
-}
-.rowAlone{
-padding-top:10px;
-padding-bottom:10px;
-}
-.tabedBox{
-border:solid 1px #cccccc;
-margin-left:10px;
-padding:10px;
-margin-bottom:10px;
-}
-/* chanaka end */
-
-a.fact-selector-icon-link {
-    background-repeat: no-repeat;
-    background-position: left top;
-    padding-left: 20px;
-    line-height: 17px;
-    height: 17px;
-    float: left;
-    position: relative;
-    margin-left: 10px;
-    margin-top: 5px;
-    margin-bottom: 3px;
-    white-space: nowrap;
-}
-table#main-table td#middle-content {
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/menu_header.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/menu_header.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/menu_header.gif
deleted file mode 100755
index 6887ec4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/menu_header.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/powered-stratos.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/powered-stratos.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/powered-stratos.gif
deleted file mode 100755
index 6597d26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/powered-stratos.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/right-links-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/right-links-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/right-links-bg.gif
deleted file mode 100755
index ba9d5d0..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/right-links-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/right-logo.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/right-logo.gif
deleted file mode 100755
index e6c3d13..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-bg.gif
deleted file mode 100755
index 4d47044..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-region-b-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-region-b-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-region-b-bg.gif
deleted file mode 100755
index 463b157..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-region-b-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-region-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-region-bg.gif
deleted file mode 100755
index 57a2ec1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-header-region-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-menu-panel-l-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-menu-panel-l-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-menu-panel-l-bg.gif
deleted file mode 100755
index bafb43a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-menu-panel-l-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-menu-table-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-menu-table-bg.gif b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-menu-table-bg.gif
deleted file mode 100755
index 9582772..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/admin/theme-menu-table-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/thumb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/thumb.png b/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/thumb.png
deleted file mode 100755
index 6dba1ff..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/allthemes/Light/thumb.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/appserver.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/appserver.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/appserver.gif
deleted file mode 100755
index b760eb0..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/appserver.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/bam.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/bam.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/bam.gif
deleted file mode 100755
index 264f289..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/bam.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/bps.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/bps.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/bps.gif
deleted file mode 100755
index 1cd9d5e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/bps.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/brs-old.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/brs-old.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/brs-old.gif
deleted file mode 100755
index c5a7dd8..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/brs-old.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/brs.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/brs.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/brs.gif
deleted file mode 100755
index 38f20e3..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/brs.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/cep.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/cep.png b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/cep.png
deleted file mode 100755
index 3a481b1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/cep.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/cg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/cg.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/cg.gif
deleted file mode 100755
index 1e8ad73..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/cg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/csg-inactive.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/csg-inactive.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/csg-inactive.gif
deleted file mode 100755
index 00d542c..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/csg-inactive.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/csg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/csg.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/csg.gif
deleted file mode 100755
index df9da9f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/csg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ds.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ds.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ds.gif
deleted file mode 100755
index 5721908..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/ds.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/esb.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/esb.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/esb.gif
deleted file mode 100755
index bb43e99..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/esb.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/gadget.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/gadget.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/gadget.gif
deleted file mode 100755
index 55b41de..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/gadget.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/governance.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/governance.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/governance.gif
deleted file mode 100755
index f9dfce4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/governance.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/identity.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/identity.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/identity.gif
deleted file mode 100755
index 40f1fb7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/identity.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-appserver.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-appserver.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-appserver.gif
deleted file mode 100755
index 2e7b33f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-appserver.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-bam.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-bam.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-bam.gif
deleted file mode 100755
index 2401c11..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-bam.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-brs.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-brs.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-brs.gif
deleted file mode 100755
index 3e29688..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-brs.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-cep.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-cep.png b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-cep.png
deleted file mode 100755
index e454bab..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-cep.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-esb.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-esb.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-esb.gif
deleted file mode 100755
index 8ae52bc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-esb.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-gadget.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-gadget.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-gadget.gif
deleted file mode 100755
index 243f893..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-gadget.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-governance.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-governance.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-governance.gif
deleted file mode 100755
index fba1531..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-governance.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-identity.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-identity.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-identity.gif
deleted file mode 100755
index 6f5e1be..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-identity.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-mashup.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-mashup.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-mashup.gif
deleted file mode 100755
index 17c74c4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-mashup.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-mb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-mb.png b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-mb.png
deleted file mode 100755
index 275136b..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/inactive-mb.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/mashup.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/mashup.gif b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/mashup.gif
deleted file mode 100755
index 58d91af..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/mashup.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/mb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/mb.png b/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/mb.png
deleted file mode 100755
index 928c95e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/resources/cloud-services-icons/mb.png and /dev/null differ


[07/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/pom.xml b/products/stratos_controller/modules/dashboard/pom.xml
new file mode 100644
index 0000000..099272e
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/pom.xml
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+  #  Licensed to the Apache Software Foundation (ASF) under one
+  #  or more contributor license agreements.  See the NOTICE file
+  #  distributed with this work for additional information
+  #  regarding copyright ownership.  The ASF licenses this file
+  #  to you under the Apache License, Version 2.0 (the
+  #  "License"); you may not use this file except in compliance
+  #  with the License.  You may obtain a copy of the License at
+  #  
+  #  http://www.apache.org/licenses/LICENSE-2.0
+  #  
+  #  Unless required by applicable law or agreed to in writing,
+  #  software distributed under the License is distributed on an
+  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  #  KIND, either express or implied.  See the License for the
+  #  specific language governing permissions and limitations
+  #  under the License.
+  -->
+<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.apache.stratos</groupId>
+	<artifactId>stratos-controller-parent</artifactId>
+	<version>3.0.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.apache.stratos.manager.dashboard.ui</artifactId>
+    <packaging>bundle</packaging>
+    <name>Apache Stratos - Cloud Manager Dashboard User Interface</name>
+
+    <build>
+
+        <plugins>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Name>${project.artifactId}</Bundle-Name>
+                        <Export-Package>
+                            org.apache.stratos.manager.dashboard.ui.*,
+                        </Export-Package>
+                        <Import-Package>
+                            org.wso2.carbon.ui.servlets.*,
+                            javax.servlet; version=2.4.0,
+                            javax.servlet.http; version=2.4.0,
+                            org.apache.lucene.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                        <Carbon-Component>UIBundle</Carbon-Component>
+                    </instructions>
+                </configuration>
+            </plugin>
+            
+        </plugins>
+    </build>
+
+   
+    <dependencies>
+
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.registry.common.ui</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.registry.core</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2.wso2</groupId>
+            <artifactId>axis2</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
+            <artifactId>axiom</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.ui</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.core</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.registry.profiles.ui</artifactId>
+            <version>${registry-component.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.registry.resource.ui</artifactId>
+            <version>${governance-component.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.stratos</groupId>
+            <artifactId>org.apache.stratos.account.mgt.ui</artifactId>
+            <version>${apache.stratos.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.stratos</groupId>
+            <artifactId>org.apache.stratos.common</artifactId>
+            <version>${apache.stratos.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.stratos.manager.dashboard.stub</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+    </dependencies>
+
+    <properties>
+        <eclipse.version>3.2.0</eclipse.version>
+        <!-- Component versions == Carbon version, if not, please change the properties below. -->
+        <registry-component.version>4.1.0</registry-component.version>
+       <governance-component.version>4.1.0</governance-component.version>
+    </properties>
+
+
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/java/org/apache/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/java/org/apache/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java b/products/stratos_controller/modules/dashboard/src/main/java/org/apache/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
new file mode 100644
index 0000000..62ab060
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/java/org/apache/stratos/manager/dashboard/ui/clients/CloudManagerServiceClient.java
@@ -0,0 +1,124 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.stratos.manager.dashboard.ui.clients;
+
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.client.Options;
+import org.apache.axis2.client.ServiceClient;
+import org.apache.axis2.context.ConfigurationContext;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.wso2.carbon.CarbonConstants;
+import org.wso2.carbon.context.CarbonContext;
+import org.wso2.carbon.registry.core.exceptions.RegistryException;
+import org.wso2.carbon.ui.CarbonUIUtil;
+import org.wso2.carbon.utils.ServerConstants;
+import org.wso2.carbon.stratos.manager.dashboard.stub.CloudManagerServiceStub;
+import org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletRequest;
+import javax.servlet.http.HttpSession;
+
+public class CloudManagerServiceClient {
+     private static final Log log = LogFactory.getLog(CloudManagerServiceClient.class);
+
+    private CloudManagerServiceStub stub;
+    private String epr;
+    public static final String CLOUD_SERVICE = "cloudService";
+
+    public CloudManagerServiceClient(
+            String cookie, String backendServerURL, ConfigurationContext configContext)
+            throws RegistryException {
+
+        epr = backendServerURL + "CloudManagerService";
+
+        try {
+            stub = new CloudManagerServiceStub(configContext, epr);
+
+            ServiceClient client = stub._getServiceClient();
+            Options option = client.getOptions();
+            option.setManageSession(true);
+            option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
+
+        } catch (AxisFault axisFault) {
+            String msg = "Failed to initiate AddServices service client. " + axisFault.getMessage();
+            log.error(msg, axisFault);
+            throw new RegistryException(msg, axisFault);
+        }
+    }
+
+    public CloudManagerServiceClient(ServletRequest request, ServletConfig config, HttpSession session)
+            throws RegistryException {
+
+        String cookie = (String)session.getAttribute(ServerConstants.ADMIN_SERVICE_COOKIE);
+        String backendServerURL = CarbonUIUtil.getServerURL(config.getServletContext(), session);
+        ConfigurationContext configContext = (ConfigurationContext) config.
+                getServletContext().getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
+        epr = backendServerURL + "CloudManagerService";
+
+        try {
+            stub = new CloudManagerServiceStub(configContext, epr);
+
+            ServiceClient client = stub._getServiceClient();
+            Options option = client.getOptions();
+            option.setManageSession(true);
+            option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
+
+        } catch (AxisFault axisFault) {
+            String msg = "Failed to initiate Add Services service client. " + axisFault.getMessage();
+            log.error(msg, axisFault);
+            throw new RegistryException(msg, axisFault);
+        }
+    }
+
+    public CloudService[] retrieveCloudServiceInfo() throws Exception {
+        try {
+            if (CarbonContext.getCurrentContext().getCache(null).containsKey(CLOUD_SERVICE)) {
+                return (CloudService[]) CarbonContext.getCurrentContext()
+                        .getCache(null).get(CLOUD_SERVICE);
+            }
+        } catch (Exception ignored) {
+            // TODO: this exception needs not be handled, but the situation which leads to this
+            // exception needs to be.
+        }
+        CloudService[] cloudServices = stub.retrieveCloudServiceInfo();
+        CarbonContext.getCurrentContext().getCache(null).put(CLOUD_SERVICE, cloudServices);
+        return cloudServices;
+    }
+
+
+    public void saveCloudServicesActivity(String[] activeServiceNames) throws Exception {
+        CloudService[] cloudServices =
+                (CloudService[]) CarbonContext.getCurrentContext().getCache(null).get(CLOUD_SERVICE);
+
+        for (CloudService cloudService : cloudServices) {
+            for (String activeService : activeServiceNames) {
+                if (cloudService.getName().equals(activeService)) {
+                    cloudService.setActive(true);
+                    break;
+                } else {
+                    cloudService.setActive(false);
+                }
+            }
+        }
+
+        stub.saveCloudServicesActivity(activeServiceNames);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/java/org/apache/stratos/manager/dashboard/ui/utils/Util.java
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/java/org/apache/stratos/manager/dashboard/ui/utils/Util.java b/products/stratos_controller/modules/dashboard/src/main/java/org/apache/stratos/manager/dashboard/ui/utils/Util.java
new file mode 100644
index 0000000..9d3e1a1
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/java/org/apache/stratos/manager/dashboard/ui/utils/Util.java
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.stratos.manager.dashboard.ui.utils;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class Util {
+    public static List<String> getNewlyActivatedServices(List<String> oldActivateServices,
+                                                  List<String> newActivateServices) {
+        List<String> newlyActivatedServices = new ArrayList<String>();
+        for (String service: newActivateServices) {
+            if (!oldActivateServices.contains(service)) {
+                newlyActivatedServices.add(service);
+            }
+        }
+        return newlyActivatedServices;
+    }
+    public static List<String> getNewlyDeactivatedServices(List<String> oldActivateServices,
+                                                  List<String> newActivateServices) {
+        List<String> newlyDeactivatedServices = new ArrayList<String>();
+        for (String service: oldActivateServices) {
+            if (!newActivateServices.contains(service)) {
+                newlyDeactivatedServices.add(service);
+            }
+        }
+        return newlyDeactivatedServices;
+    }
+
+   
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/CloudManagerService.wsdl
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/CloudManagerService.wsdl b/products/stratos_controller/modules/dashboard/src/main/resources/CloudManagerService.wsdl
new file mode 100644
index 0000000..6be162a
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/CloudManagerService.wsdl
@@ -0,0 +1,312 @@
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd"
+                  xmlns:ns="http://services.mgt.services.manager.stratos.wso2.org"
+                  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+                  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+                  xmlns:ax2298="http://beans.mgt.services.manager.stratos.wso2.org/xsd"
+                  xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+                  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+                  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+                  targetNamespace="http://services.mgt.services.manager.stratos.wso2.org">
+    <wsdl:documentation>CloudManagerService</wsdl:documentation>
+    <wsdl:types>
+        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
+                   targetNamespace="http://beans.mgt.services.manager.stratos.wso2.org/xsd">
+            <xs:complexType name="CloudService">
+                <xs:sequence>
+                    <xs:element minOccurs="0" name="active" type="xs:boolean"/>
+                    <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
+                    <xs:element minOccurs="0" name="icon" nillable="true" type="xs:string"/>
+
+                    <xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
+                    <xs:element minOccurs="0" name="link" nillable="true" type="xs:string"/>
+                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+                    <xs:element minOccurs="0" name="productPageURL" nillable="true" type="xs:string"/>
+                </xs:sequence>
+            </xs:complexType>
+        </xs:schema>
+        <xs:schema xmlns:ax2299="http://beans.mgt.services.manager.stratos.wso2.org/xsd"
+                   attributeFormDefault="qualified" elementFormDefault="qualified"
+                   targetNamespace="http://services.mgt.services.manager.stratos.wso2.org">
+            <xs:import namespace="http://beans.mgt.services.manager.stratos.wso2.org/xsd"/>
+
+            <xs:element name="CloudManagerServiceException">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="CloudManagerServiceException" nillable="true"
+                                    type="ns:Exception"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:complexType name="Exception">
+                <xs:sequence>
+
+                    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string"/>
+                </xs:sequence>
+            </xs:complexType>
+            <xs:element name="saveCloudServicesActivity">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element maxOccurs="unbounded" minOccurs="0" name="activeServiceNames" nillable="true"
+                                    type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+
+            </xs:element>
+            <xs:element name="retrieveCloudServiceInfo">
+                <xs:complexType>
+                    <xs:sequence/>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="retrieveCloudServiceInfoResponse">
+                <xs:complexType>
+                    <xs:sequence>
+
+                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true"
+                                    type="ax2299:CloudService"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="deactivate">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="cloudServiceName" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="activate">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="cloudServiceName" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+
+        </xs:schema>
+    </wsdl:types>
+    <wsdl:message name="saveCloudServicesActivityRequest">
+        <wsdl:part name="parameters" element="ns:saveCloudServicesActivity"/>
+    </wsdl:message>
+    <wsdl:message name="saveCloudServicesActivityResponse"/>
+    <wsdl:message name="CloudManagerServiceException">
+        <wsdl:part name="parameters" element="ns:CloudManagerServiceException"/>
+    </wsdl:message>
+
+    <wsdl:message name="activateRequest">
+        <wsdl:part name="parameters" element="ns:activate"/>
+    </wsdl:message>
+    <wsdl:message name="activateResponse"/>
+    <wsdl:message name="retrieveCloudServiceInfoRequest">
+        <wsdl:part name="parameters" element="ns:retrieveCloudServiceInfo"/>
+    </wsdl:message>
+    <wsdl:message name="retrieveCloudServiceInfoResponse">
+        <wsdl:part name="parameters" element="ns:retrieveCloudServiceInfoResponse"/>
+
+    </wsdl:message>
+    <wsdl:message name="deactivateRequest">
+        <wsdl:part name="parameters" element="ns:deactivate"/>
+    </wsdl:message>
+    <wsdl:message name="deactivateResponse"/>
+    <wsdl:portType name="CloudManagerServicePortType">
+        <wsdl:operation name="saveCloudServicesActivity">
+            <wsdl:input message="ns:saveCloudServicesActivityRequest" wsaw:Action="urn:saveCloudServicesActivity"/>
+            <wsdl:output message="ns:saveCloudServicesActivityResponse"
+                         wsaw:Action="urn:saveCloudServicesActivityResponse"/>
+
+            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
+                        wsaw:Action="urn:saveCloudServicesActivityCloudManagerServiceException"/>
+        </wsdl:operation>
+        <wsdl:operation name="activate">
+            <wsdl:input message="ns:activateRequest" wsaw:Action="urn:activate"/>
+            <wsdl:output message="ns:activateResponse" wsaw:Action="urn:activateResponse"/>
+            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
+                        wsaw:Action="urn:activateCloudManagerServiceException"/>
+        </wsdl:operation>
+        <wsdl:operation name="retrieveCloudServiceInfo">
+            <wsdl:input message="ns:retrieveCloudServiceInfoRequest" wsaw:Action="urn:retrieveCloudServiceInfo"/>
+
+            <wsdl:output message="ns:retrieveCloudServiceInfoResponse"
+                         wsaw:Action="urn:retrieveCloudServiceInfoResponse"/>
+            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
+                        wsaw:Action="urn:retrieveCloudServiceInfoCloudManagerServiceException"/>
+        </wsdl:operation>
+        <wsdl:operation name="deactivate">
+            <wsdl:input message="ns:deactivateRequest" wsaw:Action="urn:deactivate"/>
+            <wsdl:output message="ns:deactivateResponse" wsaw:Action="urn:deactivateResponse"/>
+            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
+                        wsaw:Action="urn:deactivateCloudManagerServiceException"/>
+        </wsdl:operation>
+    </wsdl:portType>
+
+    <wsdl:binding name="CloudManagerServiceSoap11Binding" type="ns:CloudManagerServicePortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <wsdl:operation name="saveCloudServicesActivity">
+            <soap:operation soapAction="urn:saveCloudServicesActivity" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+
+            </wsdl:output>
+            <wsdl:fault name="CloudManagerServiceException">
+                <soap:fault use="literal" name="CloudManagerServiceException"/>
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="activate">
+            <soap:operation soapAction="urn:activate" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="CloudManagerServiceException">
+                <soap:fault use="literal" name="CloudManagerServiceException"/>
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="retrieveCloudServiceInfo">
+
+            <soap:operation soapAction="urn:retrieveCloudServiceInfo" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="CloudManagerServiceException">
+                <soap:fault use="literal" name="CloudManagerServiceException"/>
+
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="deactivate">
+            <soap:operation soapAction="urn:deactivate" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+
+            </wsdl:output>
+            <wsdl:fault name="CloudManagerServiceException">
+                <soap:fault use="literal" name="CloudManagerServiceException"/>
+            </wsdl:fault>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="CloudManagerServiceSoap12Binding" type="ns:CloudManagerServicePortType">
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <wsdl:operation name="saveCloudServicesActivity">
+
+            <soap12:operation soapAction="urn:saveCloudServicesActivity" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="CloudManagerServiceException">
+                <soap12:fault use="literal" name="CloudManagerServiceException"/>
+
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="activate">
+            <soap12:operation soapAction="urn:activate" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+
+            </wsdl:output>
+            <wsdl:fault name="CloudManagerServiceException">
+                <soap12:fault use="literal" name="CloudManagerServiceException"/>
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="retrieveCloudServiceInfo">
+            <soap12:operation soapAction="urn:retrieveCloudServiceInfo" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="CloudManagerServiceException">
+                <soap12:fault use="literal" name="CloudManagerServiceException"/>
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="deactivate">
+
+            <soap12:operation soapAction="urn:deactivate" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="CloudManagerServiceException">
+                <soap12:fault use="literal" name="CloudManagerServiceException"/>
+
+            </wsdl:fault>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="CloudManagerServiceHttpBinding" type="ns:CloudManagerServicePortType">
+        <http:binding verb="POST"/>
+        <wsdl:operation name="saveCloudServicesActivity">
+            <http:operation location="saveCloudServicesActivity"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="activate">
+            <http:operation location="activate"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="retrieveCloudServiceInfo">
+            <http:operation location="retrieveCloudServiceInfo"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="deactivate">
+            <http:operation location="deactivate"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="CloudManagerService">
+        <wsdl:port name="CloudManagerServiceHttpsSoap11Endpoint" binding="ns:CloudManagerServiceSoap11Binding">
+            <soap:address
+                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsSoap11Endpoint/"/>
+
+        </wsdl:port>
+        <wsdl:port name="CloudManagerServiceHttpsSoap12Endpoint" binding="ns:CloudManagerServiceSoap12Binding">
+            <soap12:address
+                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsSoap12Endpoint/"/>
+        </wsdl:port>
+        <wsdl:port name="CloudManagerServiceHttpsEndpoint" binding="ns:CloudManagerServiceHttpBinding">
+            <http:address
+                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsEndpoint/"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/META-INF/component.xml b/products/stratos_controller/modules/dashboard/src/main/resources/META-INF/component.xml
new file mode 100644
index 0000000..b0d80a6
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/META-INF/component.xml
@@ -0,0 +1,36 @@
+<!--
+  #  Licensed to the Apache Software Foundation (ASF) under one
+  #  or more contributor license agreements.  See the NOTICE file
+  #  distributed with this work for additional information
+  #  regarding copyright ownership.  The ASF licenses this file
+  #  to you under the Apache License, Version 2.0 (the
+  #  "License"); you may not use this file except in compliance
+  #  with the License.  You may obtain a copy of the License at
+  #
+  #  http://www.apache.org/licenses/LICENSE-2.0
+  #
+  #  Unless required by applicable law or agreed to in writing,
+  #  software distributed under the License is distributed on an
+  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  #  KIND, either express or implied.  See the License for the
+  #  specific language governing permissions and limitations
+  #  under the License.
+  -->
+<component xmlns="http://products.wso2.org/carbon">
+    <!-- sample menu configuration -->
+    <menus>
+        <menu>
+            <id>mt_cloud_services_configurations</id>
+            <i18n-key>cloud.services.configurations</i18n-key>
+            <i18n-bundle>org.wso2.stratos.manager.dashboard.ui.i18n.Resources</i18n-bundle>
+            <parent-menu>configure_menu</parent-menu>
+            <link>../tenant-dashboard/cloud_services_configuration.jsp</link>
+            <region>region1</region>
+            <icon>../tenant-dashboard/images/service-configuration.gif</icon>
+            <order>40</order>
+            <style-class>home</style-class>
+            <require-permission>/permission/admin/configure/cloud-services</require-permission>
+            <require-not-super-tenant>true</require-not-super-tenant>
+        </menu>
+    </menus>
+</component>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/org/apache/stratos/manager/dashboard/ui/i18n/JSResources.properties
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/org/apache/stratos/manager/dashboard/ui/i18n/JSResources.properties b/products/stratos_controller/modules/dashboard/src/main/resources/org/apache/stratos/manager/dashboard/ui/i18n/JSResources.properties
new file mode 100644
index 0000000..49efc22
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/org/apache/stratos/manager/dashboard/ui/i18n/JSResources.properties
@@ -0,0 +1,3 @@
+password.mismatched=Passwords do not match.
+current.password.should.provided=You should provide the current password inorder to change the password.
+session.timed.out=Session timed out.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/org/apache/stratos/manager/dashboard/ui/i18n/Resources.properties
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/org/apache/stratos/manager/dashboard/ui/i18n/Resources.properties b/products/stratos_controller/modules/dashboard/src/main/resources/org/apache/stratos/manager/dashboard/ui/i18n/Resources.properties
new file mode 100644
index 0000000..3d49083
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/org/apache/stratos/manager/dashboard/ui/i18n/Resources.properties
@@ -0,0 +1,3 @@
+cloud.services.configurations=Services
+activate.your.cloud.services=Activate your Cloud Services
+cloud.services=Cloud Services

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
new file mode 100644
index 0000000..507f278
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
@@ -0,0 +1,203 @@
+<!--
+ ~ 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.
+ -->
+<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
+<%@ page import="org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService" %>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
+<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
+<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %>
+<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
+<%@ page import="org.wso2.carbon.account.mgt.ui.clients.AccountMgtClient" %>
+<%@ page import="org.wso2.carbon.stratos.common.constants.StratosConstants" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.ArrayList" %>
+<%@ page import="org.wso2.stratos.manager.dashboard.ui.utils.Util" %>
+<%@ page import="org.wso2.carbon.utils.multitenancy.MultitenantConstants" %>
+
+
+<jsp:include page="../registry_common/registry_common-i18n-ajaxprocessor.jsp"/>
+<script type="text/javascript" src="../registry_common/js/registry_validation.js"></script>
+<script type="text/javascript" src="../registry_common/js/registry_common.js"></script>
+<script type="text/javascript" src="../ajax/js/prototype.js"></script>
+<script type="text/javascript" src="../tenant-dashboard/js/dashboard.js"></script>
+<link href="../tenant-dashboard/css/dashboard.css" rel="stylesheet" type="text/css" media="all"/>
+
+
+<%
+
+    CloudManagerServiceClient cloudManagerClient;
+    CloudService[] cloudServices = null;
+    String error = "Error in getting the available and active service details.";
+    try {
+        cloudManagerClient = new CloudManagerServiceClient(request, config, session);
+        cloudServices = cloudManagerClient.retrieveCloudServiceInfo();
+    } catch (Exception e) {
+        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error,error,null)); 
+%>
+        <jsp:include page="../admin/error.jsp?<%=error%>"/>
+<%
+        return;
+    }
+%>
+<fmt:bundle basename="org.wso2.stratos.manager.dashboard.ui.i18n.Resources">
+<carbon:jsi18n
+        resourceBundle="org.wso2.stratos.manager.dashboard.ui.i18n.JSResources"
+        request="<%=request%>" namespace="org.wso2.stratos.manager.dashboard.ui"/>
+
+<div id="middle">
+<h2><fmt:message key="activate.your.cloud.services"/></h2>
+<div id="workArea">
+<%
+// if the account management permission there, we are showing the message to validate email address
+if (CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/account")) {
+
+    AccountMgtClient client = new AccountMgtClient(config, session);
+    boolean isEmailValidated = client.isEmailValidated();
+
+    if (!isEmailValidated) {
+%>
+
+<div class="green-note">Your organization has not validated the contact email address yet. Please validate it following
+the instructions in the <a href="../account-mgt/account_mgt.jsp">Account Management</a> page (Accessible from Configure-&gt;Account menu). </div>
+<%
+    }
+}
+String tenantDomain = null;
+if (session.getAttribute(MultitenantConstants.TENANT_DOMAIN) != null) {
+    tenantDomain = (String)session.getAttribute(MultitenantConstants.TENANT_DOMAIN);
+} else {
+    // user is not logged in or just logged out, but still they are inside url own to the domain
+    tenantDomain = (String)request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
+}
+String linkSuffix = "";
+    if (tenantDomain != null) {
+        linkSuffix = "/" + MultitenantConstants.TENANT_AWARE_URL_PREFIX + "/" + tenantDomain;
+    }
+
+boolean isUserAuthorized = CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/cloud-services");    
+%>
+<form id="cloudService" action="cloud_services_save_ajaxprocessor.jsp" method="post">
+<div>
+    <table cellspacing="0" class="tips">
+<%
+    List<String> activeServices = new ArrayList<String>();
+    int index = 1;
+
+    for (CloudService cloudService: cloudServices) {
+        index++;
+        String name = cloudService.getName();       
+        String imagePath = "images/" + name.replace(" ", "-") + "-logo.gif";
+        String projectPageUrl = cloudService.getProductPageURL();
+        String link = cloudService.getLink() + linkSuffix;
+        String icon = cloudService.getIcon();
+        String iconPath = icon.substring(0, icon.lastIndexOf('/'));
+        String iconName = icon.substring(icon.lastIndexOf('/') + 1);
+        String inactiveIcon = iconPath + "/" + "inactive-" + iconName;
+        String description = cloudService.getDescription();
+        String label = cloudService.getLabel();
+        boolean active = name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
+                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE) ||
+                cloudService.getActive();
+        String disabledStr = (name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
+                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE))?" disabled ": "";
+        boolean disabledBtn = (name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
+                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE));
+        if (!isUserAuthorized) {
+            disabledStr = " disabled ";
+        }
+        /*if (name.equals(StratosConstants.CLOUD_ESB_SERVICE)) {
+            active = false;
+            disabledStr = " disabled "; // we show an inactive and disabled link
+        }*/
+        if (active) {
+            activeServices.add(label);
+        }
+%>
+            <tr class="tips-row">
+
+            <td class="tip-checkbox">
+                <input type="checkbox" <%=disabledStr%> <%=active ? " checked=\"true\"" : ""%>
+                       name="cloudServices" id="cloudServices<%=index%>"  value="<%=name%>" style="display:none;"/>
+            </td>
+
+            <td>
+            	<img src="<%=icon%>" class="iconImage">
+                <% if (active) { %>
+            	<a target="_blank" href="<%=link%>" class="linkToService"><%=label%></a>
+                 <% } else { %>
+                <a class="linkToService"><%=label%></a>
+                <% } %>
+
+            </td>
+	<td class="access">
+        <% if (!disabledBtn) { %>          
+                <% if (active) { %>
+                <a target="_blank" input type="button" onclick="document.getElementById('cloudServices<%=index%>').checked=false;onChangeServiceSubscription()" class="deactivate-button"> Deactivate
+                </a>
+                <% } else { %>
+                <a target="_blank" input type="button" onclick="document.getElementById('cloudServices<%=index%>').checked=true;onChangeServiceSubscription()" class="activate-button"> Activate
+                <% } %>
+        <% } %>
+    </td>
+                
+	<td class="powered">Powered by<br/><a href="<%=projectPageUrl%>" target="_blank"><img src="<%=imagePath%>"/></a></td>
+                 </tr>
+               <% index++;
+            } %>
+
+                <td>&nbsp;</td>
+                </tr>
+    </table>
+    </div>
+</form>
+<%
+    List<String> oldActiveServices = (List<String>)session.getAttribute("active-statos-services");
+    if (oldActiveServices != null) {
+        List<String> newlyActivatedServices = Util.getNewlyActivatedServices(oldActiveServices, activeServices);
+        List<String> newlyDeactivatedServices = Util.getNewlyDeactivatedServices(oldActiveServices, activeServices);
+        String msg = null;
+        if (newlyActivatedServices.size() > 0) {
+            msg = "<li>";
+            for (String service: newlyActivatedServices) {
+                msg += "<ul>" + service + " <strong>activated</strong></ul>";
+            }
+            msg += "</li>";
+        }
+        if (newlyDeactivatedServices.size() > 0) {
+            if (msg == null) {
+                msg = "<li>";
+            }
+            for (String service: newlyDeactivatedServices) {
+                msg += "<ul>" + service + " <strong>deactivated</strong></ul>";
+            }
+            msg += "</li>";
+        }
+        if (msg != null) {
+%>
+    <script type="text/javascript">
+        jQuery(document).ready(function() {
+            CARBON.showInfoDialog('<%=msg%>');
+        });
+    </script>
+<%
+        }
+    }
+    session.setAttribute("active-statos-services", activeServices);
+%>
+</div>
+</div>
+</fmt:bundle>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
new file mode 100644
index 0000000..a7ff6ec
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
@@ -0,0 +1,34 @@
+<!--
+ ~ 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.
+ -->
+<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
+<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %><%
+    String[] activeCloudServiceNames = request.getParameterValues("cloudServices");
+
+    String error = "Error in saving the results of the activities";
+    try {
+        CloudManagerServiceClient cloudServiceClient = new CloudManagerServiceClient(request, config, session);
+        cloudServiceClient.saveCloudServicesActivity(activeCloudServiceNames);
+    } catch (Exception e) {
+        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error,error,null));
+%>
+        <jsp:include page="../admin/error.jsp?<%=error%>"/>
+<%
+        return;
+    }
+    response.sendRedirect("../tenant-dashboard/cloud_services_configuration.jsp");
+%>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
new file mode 100644
index 0000000..de0a70f
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
@@ -0,0 +1,231 @@
+div.dashboard-clear {
+    clear:both;
+    margin-top:5px;
+}
+
+div.dashboard-comp {
+    width: 300px;
+    margin: 5px;
+    float: left;
+    border:1px solid #6997b2;
+    background: #ffffff;
+    height: 300px;
+}
+.dashboard-comp-head{
+background-image:url( ../../admin/images/table-header.gif);
+background-position:left bottom;
+background-repeat:repeat-x;
+font-weight:normal;
+height:22px;
+line-height:22px;
+text-indent:5px;
+font-weight:bold;
+}
+.dashboard-comp-bottom{
+padding-left:5px;
+padding-top:5px;
+}
+.dashboard-comp-msg{
+color:#505050;
+padding:5px;
+}
+
+div.dashboard-comp-body {
+    overflow: auto;
+    max-height: 230px;
+}
+
+div.activity-comp-body {
+    overflow: auto;
+    max-height: 278px;
+}
+table.tips {
+	border-collapse: separate;
+	padding-bottom: 10px;
+	width: 90%;
+}
+table.tips tbody tr.tips-row {
+}
+tr.tips-row td {
+	border-bottom: solid 1px #ccc;
+}
+tr.tips-row td.tip-checkbox {
+	padding-left: 40px;
+	padding-top: 4px;
+	padding-bottom: 4px;
+    border-left: 0px;
+    border-right: 0px;
+    border-top: 0px;
+    vertical-align: top;
+    padding-right:12px !important;
+}
+tr.tips-row td.tip-img {
+	padding-left: 15px;
+	padding-top: 4px;
+	padding-bottom: 4px;
+    border-left: 0px;
+    border-right: 0px;
+    border-top: 0px;
+    vertical-align: top;
+    padding-right:12px !important;
+}
+tr.tips-row td.tip-img a img {
+	border: 0px;
+}
+tr.tips-row td.tip {
+	background-image: url(../images/aas-top.gif);
+	background-repeat: no-repeat;
+	background-position: left 7px;
+    margin: 0px;
+    padding-left: 0px;
+    padding-right: 15px;
+    padding-top: 20px;
+    padding-bottom: 0px;
+    /*border-bottom: 1px solid #aaa;*/
+    border-left: 0px;
+    border-right: 0px;
+    border-top: 0px;
+    vertical-align: top;
+}
+tr.tips-row td.tip img {
+	float: left;
+	margin-top: -20px;
+	margin-left: 17px;
+	margin-right: 12px;
+	margin-bottom: 20px;
+}
+tr.tips-row td.tip h2 {
+    background-color: transparent !important;
+	font-size: 125%;
+	line-height: 125%;
+	margin-top: 0px;
+	margin-bottom: 3px;
+    border:medium none !important;
+    margin-top:3px !important;
+    margin-left: 0px !important;
+    padding-left: 0px !important;
+}
+tr.tips-row td.tip h2 a {
+	font-size:14px;
+    text-decoration:underline;
+}
+tr.tips-row td.tip p {
+	padding-bottom: 15px;
+}
+tr.tips-row td.access {
+	padding-left: 30px;
+	padding-right: 30px;
+	vertical-align: middle;
+}
+tr.tips-row td.access a.go-button {
+	width: 63px;
+	height: 42px;
+	display: block;
+	background-color: #ccc;
+	font-size: 20px;
+	line-height: 40px;
+	font-weight: bold;
+	color: #000000;
+	text-decoration: none;
+	padding-left: 19px;
+	background-image: url(../images/go-button.gif);
+	background-repeat: no-repeat;
+	background-position: left top;
+}
+tr.tips-row td.access span.inactive {
+	width: 63px;
+	height: 42px;
+	display: block;
+	background-color: #ccc;
+	font-size: 20px;
+	line-height: 40px;
+	font-weight: bold;
+	color: #999999;
+	text-decoration: none;
+	padding-left: 19px;
+	background-image: url(../images/inactive-go-button.gif);
+	background-repeat: no-repeat;
+	background-position: left top;
+}
+tr.tips-row td.access a.go-button:hover {
+	color: #0084A9;
+}
+tr.tips-row td.powered {
+	padding-left: 10px;
+	padding-right: 20px;
+	text-align: right;
+	font-size: 12px;
+	line-height: 20px;
+	color: #666666;
+	vertical-align: middle;
+}
+.green-note {
+    color: #f00;
+}
+div#menu ul.main li a.menu-home {
+display:block !important;
+}
+/* service config buttons */
+td.access a.activate-button {
+	width: 98px;
+	height: 42px;
+	cursor: pointer;
+	display: block;
+	background-color: #ccc;
+	font-size: 15px;
+	line-height: 40px;
+	font-weight: normal;
+	color: #000000;
+	text-decoration: none;
+	padding-left: 47px;
+	background-image: url(../images/activate-button.gif);
+	background-repeat: no-repeat;
+	background-position: left top;
+}
+td.access a.activate-button:hover {
+	color: #00853F;
+}
+td.access a.deactivate-button {
+	width: 103px;
+	height: 42px;
+	cursor: pointer;
+	display: block;
+	background-color: #ccc;
+	font-size: 15px;
+	line-height: 40px;
+	font-weight: normal;
+	color: #000000;
+	text-decoration: none;
+	padding-left: 42px;
+	background-image: url(../images/deactivate-button.gif);
+	background-repeat: no-repeat;
+	background-position: left top;
+}
+td.access a.deactivate-button:hover {
+	color: #B5121B;
+}
+.home_tips{
+width:100%;
+}
+.home_tips td{
+border-bottom:solid 1px #ccc;
+padding-bottom:5px !important;
+padding-top:5px !important;
+}
+.home_tips td img{
+vertical-align:middle;
+
+}
+.home_tips td img.iconImage{
+margin-right:10px;
+
+}
+.linkToService{
+color:#0D4D79 !important;
+padding-left:10px !important;
+font-size:18px;
+text-decoration:underline !important;
+}
+.home_tips td.powered{
+text-align:right;
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png
new file mode 100644
index 0000000..1386a9e
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide-old.html
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide-old.html b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide-old.html
new file mode 100644
index 0000000..b6350e4
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide-old.html
@@ -0,0 +1,101 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+ ~ 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.
+ -->
+<html>
+<head>
+    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
+  <title>Cloud Services - User Guide</title>
+  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
+</head>
+
+<body>
+<p>[<a href="../../issue/viewAccounts.jsp">Issue Tracking</a>]
+            | [<a href="http://wso2.com/cloud/services/privacy-policy">Privacy Policy</a>] | [<a href="http://wso2.com/cloud/services/terms-of-use/">Terms of Use</a>]
+        </p>
+
+<h2><a href="http://wso2.com/cloud/stratos/">Cloud Services Home</a> </h1>
+
+<p>
+Cloud Services Home page provides an interface to access the services of the SOA platform of your organization. Stratos provides a web-based console for provisioning new tenants on the platform, allowing self-service provisioning of any WSO2 Carbon product, and running elastically on your choice of underlying virtualization infrastructure to provide all the PaaS benefits inherent to a cloud-native platform. A list of the services available under WSO2 Stratos for the tenant can be found in the cloud services home.
+</p>
+
+<img src="../../tenant-dashboard/docs/images/dashboard.png"/>
+<p>Figure1: Cloud Services Home Page</p>
+</body>
+
+<h3><a href="http://wso2.com/products/application-server/">Application Server</a></h3>
+<p>
+The WSO2 Application Server is an open source, enterprise-ready, Web services engine based on Apache Axis2. Bringing together a number of Apache Web services projects, WSO2 Application Server provides a secure, transactional and reliable runtime to create, consume, deploy and manage Web services for your SOA. 
+</p>
+
+<h3><a href="http://wso2.com/products/data-services-server/">Data Services Server</a></h3>
+<p>
+The WSO2 Data Services Server, data service tier assures ready access to enterprise data scattered across heterogeneous data sources in a unified manner. Due to the single data layer, benefits of optimizations and availability of more processing power will be visible to every service consumer. Access to real time data provides more accurate, up-to-date information for applications. Further this single interface to enterprise data can greatly help in preserving integrity of frequently modified data. 
+</p>
+
+<h3><a href="http://wso2.com/products/mashup-server/">Mashup Server</a></h3>
+<p>
+The WSO2 Mashup Server provides a platform for rapidly deploying Web service Mashups. Combining simple yet rich mashups with reusability, security, reliability and governance, the WSO2 Mashup Server offers enterprise-class service composition.  
+</p>
+
+<h3><a href="http://wso2.com/products/identity-server/">Identity Server</a></h3>
+<p>
+The WSO2 Identity Server is an open source identity and entitlement management server. It supports Information Cards and OpenID for authentication as well as XACML for fine grained authorization. Providing a complete enterprise ready identity solution, it integrates easily into existing user stores such as LDAP or Active Directory and supports multi-factor authentication and much more. The WSO2 Identity Server helps you build secured SOA in a few very easy steps.
+</p>
+
+<h3><a href="http://wso2.com/products/governance-registry/">Governance Registry</a></h3>
+<p>
+The WSO2 Governance Registry addresses both design-time and runtime governance scenarios, to ensure compliance with corporate standards. It allows enterprise architects and developers to always keep track of the services being created and used within an SOA. 
+</p>
+
+<h3><a href="http://wso2.com/products/gadget-server/">Gadget Server</a></h3>
+<p>
+With the WSO2 Gadget Server, you can offer your execs, employees, partners, or customers a way to get all the information in one place that they need. Each user's dashboard is individualized, allowing him/her to add, customize, and rearrange gadgets, as well as group them into tab sets. The open "Web" model means users can select gadgets not only from your enterprise, but also from Google and many others.
+</p>
+
+<h3><a href="http://wso2.com/products/business-activity-monitor/">Business Activity Monitor</a></h3>
+<p>
+The WSO2 Business Activity Monitor (WSO2 BAM) serves the needs of both business and IT domain experts to monitor and understand business activities within an SOA deployment. While specifically designed to monitor SOA deployments, it can be extended to cater to other general monitoring requirements as well. 
+</p>
+
+<h3><a href="http://wso2.com/products/business-process-server/">Business Process Server</a></h3>
+<p>
+The WSO2 Business Process Server is an easy-to-use open source business process server that executes business processes written using the WS-BPEL standard. Powered by Apache ODE, it provides a complete Web-based graphical console to deploy, manage and view processes in addition to managing and viewing process instances
+</p>
+
+<h3><a href="http://wso2.com/products/business-rules-server/">Business Rules Server</a></h3>
+<p>
+The WSO2 Business Rules Server brings the agility of business rules to your Service Oriented Architecture toolkit. Based on a solid platform for hosting business rules, our BRS excels at extending the capabilities of your SOA. 
+</p>
+
+<h3><a href="http://wso2.com/products/enterprise-service-bus/">Enterprise Service Bus</a></h3>
+<p>
+The WSO2 Enterprise Service Bus offers a lean approach to create a Service Oriented Architecture by adding monitoring, management, and virtualization to your existing service interactions. Its innovative design leads it to be one of the highest performance, lowest footprint, and widest interoperability integration systems available.
+</p>
+
+<h3><a href="http://wso2.com/products/message-broker/">Message Broker</a></h3>
+<p>
+The WSO2 Message Broker brings messaging and eventing capabilities into your Service Oriented Architecture. Extending the WSO2 Carbon platform to support event driven architectures, WSO2 Message Broker is powered by Apache Qpid, one of the leading Advanced Message Queuing Protocol (AMQP) messaging engines available today. 
+</p>
+
+<h3><a href="http://wso2.com/products/complex-event-processing-server/">Complex Event Processing Server</a></h3>
+<p>
+The WSO2 Complex Event Processing Server enables you to intelligently single out events with predefined properties and even manage and combine them in a manner that allows for real time analysis and a rapid response to whatever threat or opportunity that enterprises face.
+</p>
+
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
new file mode 100644
index 0000000..89a49f3
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+ ~ 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.
+ -->
+<html>
+<head>
+    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
+  <title>Cloud Services - User Guide</title>
+  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
+</head>
+
+<body>
+
+	<h1>Cloud Services</h1>
+
+
+	<p>
+		Please refer <a href="http://docs.wso2.org/wiki/display/Stratos200/WSO2+Stratos+Documentation">
+			WSO2 Stratos 2.0 Documentation</a> for more information.
+	</p>
+</body>
+
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif
new file mode 100644
index 0000000..2154397
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif
new file mode 100644
index 0000000..3ee3303
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif
new file mode 100644
index 0000000..55e4751
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif
new file mode 100644
index 0000000..f8b6a74
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif
new file mode 100644
index 0000000..5dd2171
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif
new file mode 100644
index 0000000..ccba887
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif
new file mode 100644
index 0000000..e69aaa6
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif
new file mode 100644
index 0000000..b80554a
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif
new file mode 100644
index 0000000..f70a205
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif
new file mode 100644
index 0000000..95cb5b3
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif
new file mode 100644
index 0000000..8e89ef5
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif
new file mode 100644
index 0000000..af1ac45
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif
new file mode 100644
index 0000000..a2447bc
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif
new file mode 100644
index 0000000..f8ed9be
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif
new file mode 100644
index 0000000..aa5c5ba
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif
new file mode 100644
index 0000000..5fa3679
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif
new file mode 100644
index 0000000..a15dd8f
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif
new file mode 100644
index 0000000..91e4c94
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif
new file mode 100644
index 0000000..55e4751
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif
new file mode 100644
index 0000000..f8b6a74
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif
new file mode 100644
index 0000000..5dd2171
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif
new file mode 100644
index 0000000..ccba887
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif
new file mode 100644
index 0000000..b80554a
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif
new file mode 100644
index 0000000..e69aaa6
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif
new file mode 100644
index 0000000..c8d1b4a
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif
new file mode 100644
index 0000000..f70a205
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif
new file mode 100644
index 0000000..95cb5b3
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif
new file mode 100644
index 0000000..8e89ef5
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif
new file mode 100644
index 0000000..ae73e92
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif
new file mode 100644
index 0000000..af1ac45
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif
new file mode 100644
index 0000000..a2447bc
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif
new file mode 100644
index 0000000..513301e
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif
new file mode 100644
index 0000000..f8ed9be
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif
new file mode 100644
index 0000000..aa5c5ba
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif
new file mode 100644
index 0000000..499b6a2
Binary files /dev/null and b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif differ


[12/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-02-icon.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-02-icon.gif
deleted file mode 100644
index ee4cb66..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-02-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-03-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-03-icon.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-03-icon.gif
deleted file mode 100644
index 8f3c2a1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/feature-03-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/google-apps-login.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/google-apps-login.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/google-apps-login.gif
deleted file mode 100644
index 6eb5c9b..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/google-apps-login.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/link-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/link-icon.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/link-icon.gif
deleted file mode 100644
index 5598f59..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/link-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/login-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/login-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/login-bg.gif
deleted file mode 100644
index 3f34a69..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/login-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/logo.gif
deleted file mode 100755
index 837f813..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix-1.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix-1.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix-1.gif
deleted file mode 100644
index 439f27d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix-1.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix.gif
deleted file mode 100644
index 439f27d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/powered.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/powered.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/powered.gif
deleted file mode 100755
index fb478bf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/powered.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/reg-button-hover.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/reg-button-hover.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/reg-button-hover.gif
deleted file mode 100644
index 89f2c54..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/reg-button-hover.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/reg-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/reg-button.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/reg-button.gif
deleted file mode 100644
index 5d8e2e4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/reg-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/register.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/register.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/register.gif
deleted file mode 100755
index f225e38..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/register.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-body-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-body-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-body-bg.gif
deleted file mode 100755
index dc2c240..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-body-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-content-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-content-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-content-bg.gif
deleted file mode 100755
index 9624125..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-content-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-footer-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-footer-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-footer-bg.gif
deleted file mode 100755
index dc317e5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-footer-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-header-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-header-bg.gif
deleted file mode 100755
index bd228c9..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/st-login-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/t-right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/t-right-logo.gif b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/t-right-logo.gif
deleted file mode 100644
index 0c13371..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/images/t-right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/js/login.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/js/login.js b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/js/login.js
deleted file mode 100644
index 6033803..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/js/login.js
+++ /dev/null
@@ -1,27 +0,0 @@
-
-function getDomainFromUserName() {
-    var tenantDomain = "";
-    var userName = document.getElementById("txtUserName").value;
-    if (userName != null) {
-        atIndex = userName.lastIndexOf('@');
-        if (atIndex != -1) {
-            tenantDomain = userName.substring(atIndex + 1, userName.length);
-        }
-    }
-    return tenantDomain;
-}
-
-
-function getTenantAwareUserName() {
-    var userName = document.getElementById("txtUserName").value;
-    if (userName != null) {
-        atIndex = userName.lastIndexOf('@');
-        if (atIndex != -1) {
-            userName = userName.substring(0, atIndex);
-        }
-    }
-    return userName;
-}
-
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/login_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/login_ajaxprocessor.jsp b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/login_ajaxprocessor.jsp
deleted file mode 100644
index 88788c4..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/login_ajaxprocessor.jsp
+++ /dev/null
@@ -1,345 +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.
- -->
-<%@ page import="org.wso2.carbon.CarbonConstants" %>
-
-<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
-<%@ page import="org.wso2.carbon.utils.multitenancy.MultitenantConstants" %>
-
-<%--Copyright 2004 The Apache Software Foundation
-
-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.
---%>
-
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib prefix="carbon" uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" %>
-
- 
-
-<!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>
-    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
-    <title>WSO2 Stratos Manager</title>
-    <link href="../admin/css/global.css" rel="stylesheet" type="text/css" media="all"/>
-    <link href="../styles/css/main.css" rel="stylesheet" type="text/css" media="all"/>
-
-    <link href="../dialog/css/jqueryui/jqueryui-themeroller.css" rel="stylesheet" type="text/css"
-          media="all"/>
-    <link href="../dialog/css/dialog.css" rel="stylesheet" type="text/css" media="all"/>
-    <link rel="icon" href="../admin/images/favicon.ico" type="image/x-icon"/>
-    <link rel="shortcut icon" href="../admin/images/favicon.ico" type="image/x-icon"/>
-
-    <script type="text/javascript" src="../admin/js/jquery.js"></script>
-    <script type="text/javascript" src="../admin/js/jquery.form.js"></script>
-    <script type="text/javascript" src="../dialog/js/jqueryui/jquery-ui.min.js"></script>
-
-    <script type="text/javascript" src="../admin/js/main.js"></script>
-    <script type="text/javascript" src="../admin/js/WSRequest.js"></script>
-    <script type="text/javascript" src="../admin/js/cookies.js"></script>
-    <script type="text/javascript" src="../tenant-login/js/login.js"></script>
-    <script type="text/javascript" src="../ajax/js/prototype.js"></script>
-
-</head>
-
-<body>
-<div id="dcontainer"></div>
-<script type="text/javascript" src="../dialog/js/dialog.js"></script>
-
-<%
-    String registerPath = "../tenant-register/select_domain.jsp";
-    String forgotPasswordPath = "../admin-mgt/forgot_password.jsp";
-    //register path changes if the tenant is in others domain
-    if (request.getAttribute(MultitenantConstants.TENANT_DOMAIN) != null) {
-        registerPath = "/carbon/tenant-register/select_domain.jsp";
-    }
-
-    if("true".equals(session.getAttribute("domain-validation-success"))) {
-        session.removeAttribute("domain-validation-success");
-        %>
-
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showWarningDialog("You have succesfully validated your domain name. " + 
-            "Please re-login to your account to continue working.");
-        });
-    </script>
-<%
-    }
-    if("true".equals(session.getAttribute("temp-email-verfication"))){
-        session.removeAttribute("temp-email-verfication");
-        %>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showWarningDialog('Please login to your email and confirm the given email to proceed with the registration.');
-        });
-    </script>
-<%
-    }
-    String tenantdomain = (String)request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-
-    if ("true".equals(session.getAttribute("temp-suffixed-trial"))) {
-        session.removeAttribute("temp-suffixed-trial");
-%>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            // we know the tenant domain 
-            var newTenantDomain = "<%=tenantdomain%>";
-            var exitCode = function() {
-                var redirectUrl = "/t/" + newTenantDomain + "/carbon/admin/login.jsp";
-                window.location.href = redirectUrl;
-            };
-            CARBON.showWarningDialog("The domain name of your account is renamed to " + newTenantDomain + " "  +
-                      "as the ownership of the domain is not confirmed. You can login to the account under the " +
-                      "changed domain name and confirm the ownership of your domain from the 'Account management' page", exitCode, exitCode);
-        });
-    </script>    
-<%
-    }
-
-    String tip = "";
-    if(tenantdomain == null){
-        tenantdomain = "";
-        tip = "Enter the username in the format: user  name@yourdomain, Example: foo@abc.com";
-    }
-    else{
-        tenantdomain = "@" + tenantdomain;
-    }
-    String userForumURL = (String) config.getServletContext().getAttribute(CarbonConstants.PRODUCT_XML_WSO2CARBON + CarbonConstants.PRODUCT_XML_USERFORUM);
-    String userGuideURL = (String) config.getServletContext().getAttribute(CarbonConstants.PRODUCT_XML_WSO2CARBON + CarbonConstants.PRODUCT_XML_USERGUIDE);
-    String mailinglistURL = (String) config.getServletContext().getAttribute(CarbonConstants.PRODUCT_XML_WSO2CARBON + CarbonConstants.PRODUCT_XML_MAILINGLIST);
-    String issuetrackerURL = (String) config.getServletContext().getAttribute(CarbonConstants.PRODUCT_XML_WSO2CARBON + CarbonConstants.PRODUCT_XML_ISSUETRACKER);
-    if (userForumURL == null) {
-        userForumURL = "#";
-    }
-    if (userGuideURL == null) {
-        userGuideURL = "#";
-    }
-    if (mailinglistURL == null) {
-        mailinglistURL = "#";
-    }
-    if (issuetrackerURL == null) {
-        issuetrackerURL = "#";
-    }
-%>
-<fmt:bundle basename="org.wso2.carbon.i18n.Resources">
-    <%
-        String loginStatus = request.getParameter("loginStatus");
-        if (loginStatus != null && "false".equalsIgnoreCase(loginStatus)) {
-    %>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showWarningDialog('<fmt:message key="login.fail.message"/>');
-        });
-    </script>
-    <%
-        }
-                                          
-        if (loginStatus != null && "failed".equalsIgnoreCase(loginStatus)) {
-    %>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showWarningDialog('<fmt:message key="login.fail.message"/>');
-        });
-    </script>
-    <%
-        }
-        String backendURL = CarbonUIUtil.getServerURL(config.getServletContext(), session);
-    %>
-    <%--New page design begings--%>
-    <link rel="stylesheet" type="text/css" href="../tenant-login/css/loginpage.css"/>
-		<div id="login-content">
-					<div class="main-text">
-						WSO2 Stratos deploys the powerful WSO2 Carbon platform as Platform-as-a-Service on cloud infrastructure, thereby providing all the advantages expected from the cloud: world-class time-to-market, optimum resource utilization and automatic governance and monitoring.
-					</div>
-					<div class="clear"></div>
-					<div class="feature feature-left">
-						<img src="../tenant-login/images/feature-01-icon.gif"/>
-						<h2>Elasticity</h2>
-						<p>
-							Stratos manages your underlying cloud infrastructure to seamlessly handle the scalability demands of your application. 
-						</p>
-					</div>
-					<div class="feature">
-						<img src="../tenant-login/images/feature-02-icon.gif"/>
-						<h2>Multi-tenancy</h2>
-						<p>
-							Departments, developer groups, or projects run fully independently, but share the same middleware platform for maximum resource utilization. 
-						</p>
-					</div>
-					<div class="feature">
-					 	<img src="../tenant-login/images/feature-03-icon.gif"/>
-						<h2>Self Provisioning</h2>
-						<p>
-							Authorized users can provision new tenants from a web portal in moments.
-						</p>
-					</div>
-					<div class="clear"></div>
-							<a class="register-button" href="<%=registerPath%>">Get Started Now for FREE!</a>
-				       	<table class="adv">
-						<tr>
-						<td>
-
-			                                <h2 class="stratos-Signin"><fmt:message key="sign.in"/></h2>
-			                                <div class="sign-in-box">
-			                                    <table style="width:100%">
-			    `                                   <tr>
-			                                            <td class="user_pass_td">
-			                                                <h3>Login Using Username & Password</h3>
-			
-			                                                <form action='../admin/login_action.jsp' method="POST" target="_self">
-		                                    			<!-- making the backend url a hidden text box -->
-		                                    			<input type="hidden" id="txtbackendURL" name="backendURL" class="user" tabindex="1" value="<%=backendURL%>"/>
-			                                                    <table class="user_pass_table">
-			                                                    <tr>
-											<td><label for="txtUserName"><fmt:message key="username"/></label></td>
-											<td><input type="text" id="txtUserName" name="username" tabindex="1"/> <%=tenantdomain%></td>
-										</tr>
-										<tr>
-											<td></td>
-											<td><%=tip%></td>
-										</tr>
-										<tr>
-											<td><label for="txtPassword"><fmt:message key="password"/></label></td>
-											<td><input type="password" id="txtPassword" name="password" tabindex="2"/></td>
-										</tr>
-										<tr>
-											<td></td>
-											<td><input type="submit" value="<fmt:message key="sign.in"/>" tabindex="3"/></td>
-										</tr>
-										<%
-										if (registerPath != null) {
-										%>
-										                                <tr>
-										                                    <td colspan="2">
-										                                        If your organization doesn't have an account, please <a href="<%=registerPath%>" alt="Go To Register Page">register</a>.
-										                                    </td>
-										                                </tr>
-										<%
-										}
-										%>
-										<tr>
-			                                                            <td colspan="2"><a tabindex="4" href="../tenant-login/docs/userguide.html" target="_blank" class="help"><fmt:message key="sign.in.help"/></a>&nbsp;|&nbsp;<a tabindex="5" class="help" href="<%=forgotPasswordPath%>" target="_blank" class="password">Forgot Password</a></td>
-			                                                        </tr>
-			                                                    </table>
-                                                    
-
-                                                    			</form>
-                                            			</td>
-                                        			<td class="google-app-td">
-			                                            <h3>Or login using Google Apps Account</h3>
-			
-			                                            <img alt="Google App Account"
-			                                                 src="../tenant-login/images/google-apps-login.gif"
-			                                                 onclick="showHidePanel()"/>
-			
-			                                            <div id="loginBoxGoogle">
-			                                                <div class="help_txt"> Enter Google App domain</div>
-			                                                <form action="../relyingparty/openid.jsp" name="googleAppLogin"
-			                                                      method="POST">
-			                                                    <table class="styledLeft noBorders">
-			                                                        <tbody>
-			                                                        <tr>
-			                                                            <td><input type="text" name="gAppDomainOpenId"
-			                                                                       tabindex="3"/></td>
-			                                                            <td><input type="button" class="button" value="GO" style="background-image:none"
-			                                                                       onclick="document.googleAppLogin.submit()"/></td>
-			                                                        </tr>
-			                                                        </tbody>
-			                                                    </table>
-			                                                </form>
-			                                            </div>
-			                                            <script type="text/javascript">
-			                                                function showHidePanel() {
-			                                                    jQuery('#loginBoxGoogle').slideToggle("fast");
-			                                                }
-			                                                jQuery(document).ready(function() {
-			                                                    jQuery('#loginBoxGoogle').hide();
-			                                                    document.getElementById('txtUserName').focus();
-			                                                });
-			
-			                                            </script>
-                                        			</td>
-                                    				</tr>
-                                    			</table>
-                                			</div>
-						</td>
-						</tr>
-					</table>
-				<div class="clear"></div>
-				<div id="footer">
-					<div class="powered">
-						<span>Powered by</span><a target="_blank" href="http://wso2.org/projects/stratos"><img src="../tenant-login/images/powered.gif"/></a>
-					</div>
-					&copy; appserver.stratoslive.wso2.com copyright 2010 WSO2, Inc. &nbsp;
-					<a target="_blank" href="http://www.wso2.com/cloud/services/terms-of-use">Terms of Service</a>
-					|
-					<a target="_blank"  href="http://www.wso2.com/cloud/services/privacy-policy">Privacy Policy</a>
-					|
-					<a target="_blank"  href="http://www.wso2.com/cloud/services/support">Support</a>
-				</div>
-			</div>
-
-
-
-
-		
-    <script type="text/javascript">
-
- function checkform()
-{
-    var username=document.getElementById('txtUserName').value;
-    username=username.trim();
-    document.getElementById('txtUserName').value=username;
-    return true;
-}                 
- String.prototype.trim = function ()
- {
-     return this.replace(/^\s*/, "").replace(/\s*$/, "");
- }
-
-        function init(loginStatus) {
-            // intialize the code and call to the back end
-            /*wso2.wsf.Util.initURLs();*/
-            /*Initialize the XSLT cache*/
-            /*wso2.wsf.XSLTHelper.init();*/
-
-            if (loginStatus == 'true') {
-            } else if (loginStatus == 'null') {
-            } else if (loginStatus == 'false') {
-                wso2.wsf.Util.alertWarning("Login failed. Please recheck the username and password and try again")
-            }
-        }
-        document.getElementById('txtUserName').focus();
-    </script>
-
-</fmt:bundle>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/policy.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/policy.html b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/policy.html
deleted file mode 100644
index b4358e0..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/policy.html
+++ /dev/null
@@ -1,71 +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.
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-
-<head><title>Governance.stratoslive.wso2.com - Privacy Policy</title>
-<link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" /></head>
-
-<body>
-
-<h1>Governance.stratoslive.wso2.com - Privacy Policy</h1>
-
-<p>Governance.stratoslive.wso2.com takes your privacy seriously. Please read the following to learn more about our privacy policy.</p>
-
-<p>INFORMATION COLLECTION AND USE</p>
-
-<ul><li><p>When you register with Governance.stratoslive.wso2.com we ask for personal information such as your name, email address, and
-       biographical information.  When you sign into Governance.stratoslive.wso2.com using your account, you are not anonymous to us.</p></li><li><p>Governance.stratoslive.wso2.com may collect information about your activities on the site from your computer and browser,
-        including your IP address, Governance.stratoslive.wso2.com cookie information, your software and hardware attributes, and the
-        content you access on our site.</p></li><li><p>Governance.stratoslive.wso2.com may use this information to customize content you see, to fulfil request for products or
-        services, to improve our services, and to provide anonymous reporting to internal and external clients.</p></li><li><p>Governance.stratoslive.wso2.com may also use this information to contact you or to conduct research.</p></li></ul><br>
-
-<p>INFORMATION DISCLOSURE</p>
-
-<p>Governance.stratoslive.wso2.com does not rent, sell or share personal information about you with others except to provide products or
-    services that you've requested, unless:</p>
-    <ul><li><p>You or your legal guardian authorize to do so.</p></li><li><p>The information is shared under a confidentiality agreement with a partner for the purpose of communicating
-        with you about Governance.stratoslive.wso2.com offers.  These partners are prohibited from sharing your information with others.</p></li><li><p>The information is requested under subpoena, court order or legal process.</p></li><li><p>The information is needed to establish or exercise our legal rights or defend against legal claims.</p></li><li><p>We believe the information is needed to investigate, prevent, or take action against illegal activities, violations
-        of our Terms of Service, or as otherwise required by law.</p></li><li><p>Governance.stratoslive.wso2.com or its owner WSO2, Inc. is acquired or merged with another company.  Governance.stratoslive.wso2.com will make efforts to
-            announce any such change of ownership and any consequent change of privacy policy.</p></li></ul>
-
-    <p>Governance.stratoslive.wso2.com may set and access Governance.stratoslive.wso2.com cookies on your computer.</p><p><br></p><p><br></p>
-
-<p>CHANGING PERSONAL INFORMATION</p>
-
-<p>You can change or delete your Governance.stratoslive.wso2.com account profile at any time.</p>   <p><br></p>
-
-<p>CONFIDENTIALITY AND SECURITY</p>
-
-<ul><li><p>Access to personal information about you is limited to WSO2 employees who we believe reasonably need to
-   access that information in order to maintain Governance.stratoslive.wso2.com, to fulfill services you've requested, or to
-   otherwise do their jobs.</p></li><li><p>Governance.stratoslive.wso2.com takes precautions to secure personal information against accidental or malicious release.</p></li></ul><p><br></p>
-
-<p>CHANGES TO THIS PRIVACY POLICY</p>
-
-<p>Governance.stratoslive.wso2.com may update this policy at any time.  We will notify you of significant changes in the policy by sending a
-notice to the email address associated with each account or by placing a prominent notice on our site.</p>
-
-<p>If you have questions or suggestions about our privacy policy, please contact Support.</p><p><br></p>
-
-        <p><i>Effective 1st November 2009</i></p>
-
-
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/support.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/support.html b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/support.html
deleted file mode 100644
index 50dba02..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/support.html
+++ /dev/null
@@ -1,38 +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.
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-    <title>Governance.stratoslive.wso2.com - Support</title>
-    <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-<div id="text-content">
-        <h1>Governance.stratoslive.wso2.com - Support</h1>
-
-        <p>Visit <a href="http://wso2.com/cloud/services/governance">http://wso2.com/cloud/services/governance</a> for more details about the Governance as as Service (GaaS) support.</p>
-        <p>For support with technical aspects of Governance.stratoslive.wso2.com or Governance Registry instance, visit the
-            <a href="http://wso2.org/forum/351">Governance Registry Forum</a>.</p>
-
-        <p>If you have suggestions on how to improve Governance.stratoslive.wso2.com or found bugs, please let us know in the registry user mailing list, <a href="mailto:registry-user@wso2.org">registry-user@wso2.org</a>.</p>
-
-    </div>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/terms.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/terms.html b/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/terms.html
deleted file mode 100644
index e5cb5d8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/login/src/main/resources/web/tenant-login/terms/terms.html
+++ /dev/null
@@ -1,73 +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.
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-
-<head><title>Governance.stratoslive.wso2.com - Terms of Service</title>
-<link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" /></head>
-
-<body>
-
-<h1>Governance.stratoslive.wso2.com - Terms of Service</h1>
-
-<p>THE FOLLOWING TERMS AND CONDITIONS ARE APPLIED TO GOVERNANCE.CLOUD.WSO2.COM ACCOUNTS</p>
-<p><br></p>
-<p>1. ACCEPTANCE OF GOVERNANCE.CLOUD.WSO2.COM TERMS</p>
-
-<p>Welcome to Governance.stratoslive.wso2.com! By requesting a membership account on Governance.stratoslive.wso2.com, you agree to these terms. WSO2 Inc. (WSO2), as the owner of Governance.stratoslive.wso2.com, reserves the right to update and change these Terms and all documents incorporated by reference at any time. You can always find the most recent version of the Terms at http://www.Governance.stratoslive.wso2.com/carbon/tenant-login/terms/terms.html.</p>
-<p><br></p>
-<p>2. DESCRIPTION OF SERVICE</p>
-<p>2.1 GOVERNANCE.CLOUD.WSO2.COM</p>
-<p>Governance.stratoslive.wso2.com provides members with the ability to store the enterprise metadata in their SOA platform and govern them. WSO2 reserves the right to limit the amount of resources members under a particular domain can upload, the number of users, the roles or permission a domain can have, the available features, and particular accounts based on the processing power they require, the bandwidth they consume, or any other deleterious technical or social side effects it may cause. WSO2 reserves the right to remove or bar a member for any reason.</p>
-<p><br></p>
-
-<p>3. GOVERNANCE.CLOUD.WSO2.COM ACCOUNTS</p>
-<p>To participate in Governance.stratoslive.wso2.com, you must have a valid email address. In consideration of your use of Governance.stratoslive.wso2.com, you agree to: (a) provide true, accurate, current and complete information about yourself and (b) maintain and promptly update the Registration Data to keep it true, accurate, current and complete. If you provide any information that is untrue, inaccurate, not current or incomplete, or WSO2 has reasonable grounds to suspect that such information is untrue, inaccurate, not current or incomplete, WSO2 has the right to suspend or terminate your Governance.stratoslive.wso2.com account and delete any information or content therein without liability to WSO2.</p>
-<p>By providing us with a valid email address you agree that WSO2 may contact you at that address for purposes of managing and maintaining your Governance.stratoslive.wso2.com account. In addition we reserve the right to send announcements regarding Governance.stratoslive.wso2.com and WSO2 products or services to that account. WSO2 will not sell your email address or provide it to third parties without your prior approval.</p>
-<p><br></p>
-<p>4. PAYMENT TERMS</p>
-<p>4.1 General Terms</p>
-<p>Governance.stratoslive.wso2.com beta is currently a free service. WSO2 Inc. retains the right to cease offering free memberships at any time, to transition current accounts to paid subscriptions when the beta period ends, to convert existing features to premium (paid) features, or to introduce new premium features. Users of the beta are under no obligation to subscribe to a paid account, in which case Governance.stratoslive.wso2.com reserves the right to suspend or terminate the member account.</p>
-<p><br></p>
-<p>4.2 Cancellation of Membership</p>
-<p>Memberships can be cancelled online at any time. Any difficulty encountered with deleting a membership account should be addressed to the Governance.stratoslive.wso2.com support group, whose contact information can be found at http://www.Governance.stratoslive.wso2.com/carbon/tenant-login/terms/support.html.</p>
-
-<p><br></p>
-<p>5. GOVERNANCE.CLOUD.WSO2.COM's RESERVATION OF RIGHTS</p>
-<p>WSO2 expressly reserves the right to immediately modify, delete content from, suspend or terminate your account and refuse current or future use of Governance.stratoslive.wso2.com or any other service run by WSO2, if WSO2 in its sole discretion believes you have: (i) violated or tried to violate the rights of others; or (ii) acted inconsistently with the spirit or letter of these Terms of Service. In such event, your Governance.stratoslive.wso2.com account may be suspended or cancelled immediately in our discretion, all the information and content contained within it will be deleted permanently and you will not be entitled to any refund of any of the amounts you've paid for such account. WSO2 accepts no liability for information or content that is deleted.</p>
-<p>WSO2 also reserves the right to cease offering the Governance.stratoslive.wso2.com service, temporarily or permanently, at any time.</p>
-<p><br></p>
-<p>6. INDEMNITY</p>
-<p>You agree to indemnify and hold harmless WSO2, and its subsidiaries, affiliates, officers, agents, or other partners, and employees, from any claim or demand, including reasonable attorneys' fees, made by any third party due to or arising out of your use of and access to Governance.stratoslive.wso2.com, your violation of the Terms of Service, your violation of any rights of another person or entity, or your violation of any applicable laws or regulations.</p>
-<p><br></p>
-<p>7. PRIVACY</p>
-<p>Registration Data and certain other information about you are subject to our Privacy Policy. For more information, see our full privacy policy at http://www.Governance.stratoslive.wso2.com/carbon/tenant-login/privacy.html.</p>
-
-<p><br></p>
-<p>8. AGE REQUIREMENTS FOR USE OF GOVERNANCE.CLOUD.WSO2.COM</p>
-<p>Governance.stratoslive.wso2.com is available for individuals aged 13 years or older. If you are 13 or older but under the age of 18, you should review these terms and conditions with your parent or guardian to make sure that you and your parent or guardian understand and agree to these terms and conditions.</p>
-<p><br></p>
-<p>9. INTELLECTUAL PROPERTY RIGHTS</p>
-<p>Governance.stratoslive.wso2.com provides the capacity to store and host member content, including service meta data (WSDLS, Schemas, Policies), images and other media, and any other document type. By uploading and creating content on Governance.stratoslive.wso2.com, you assert that you are the copyright holder or licensee of that content.</p>
-<p><br></p>
-<p>10. LOCATION OF LAWSUIT</p>
-<p>By agreeing to these Terms of Service you agree in case of a legal dispute to submit to the personal and exclusive jurisdiction of the courts located within the county of Santa Clara, California.</p>
-<p><i>Effective 1st November 2009</i></p>
-    
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/p2-profile-gen/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/p2-profile-gen/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/p2-profile-gen/pom.xml
deleted file mode 100644
index aaef2b3..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/p2-profile-gen/pom.xml
+++ /dev/null
@@ -1,414 +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.stratos2</groupId>
-    	<artifactId>wso2stratos2-parent</artifactId>
-        <version>1.0.1</version>
-	<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2stratos-controller-profile-gen</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos Controller - Profile Generation</name>
-    <url>http://wso2.org</url>
-
-    <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>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.platform.version}</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-		    <execution>
-                        <id>2-unpack-kernel-patch</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>WSO2-CARBON-PATCH-4.1.0</artifactId>
-                                    <version>0002</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>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <publishArtifacts>true</publishArtifacts>
-                            <publishArtifactRepository>true</publishArtifactRepository>
-                            <featureArtifacts>
-				<!--**************************************************Manager features start*********************************************-->
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.logging.mgt.feature:4.1.1</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.databridge.datapublisher.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.ntask.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.coordination.core.feature:${carbon.version}</featureArtifactDef>
-				    <!-- registry related features-->
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.registry.core.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature:${carbon.version}</featureArtifactDef>
-				    <!-- Features related to Cloud Manger -->
-				    <featureArtifactDef>
-					org.wso2.stratos2:org.wso2.stratos2.feature:${project.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.common.feature:2.1.3
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.usage.feature:2.1.3
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.usage.agent.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.throttling.manager.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.throttling.agent.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.billing.server.feature:2.1.3
-				    </featureArtifactDef>
-				    <featuredArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.rule.service.server.feature:${carbon.version}
-				    </featuredArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.billing.ui.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <!-- Security Mgt feature to manage key stores -->
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.security.mgt.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.webapp.mgt.server.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.admin.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.admin.mgt.ui.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.captcha.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <!-- start BAM feature -->
-				    <featureArtifactDef>org.wso2.carbon:org.apache.synapse.wso2.feature:2.1.1-wso2v4</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.task.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.datasource.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.transaction.manager.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.service.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.transport.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.common.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.reporting.server.feature:${carbon.version}</featureArtifactDef>
-				    <!--  end BAM features -->
-				    <!-- GApp SSO features -->
-
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.identity.core.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <!-- End GApp SSO features -->
-
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.load.balance.agent.server.feature:${stratos.component.version}
-				    </featureArtifactDef>
-
-				    <!-- Status Monitor Feature. Uncomment, if you want the manager to be used as a Stratos Status Monitor -->
-				    <!--featureArtifactDef>org.wso2.carbon:org.wso2.carbon.status.monitor.feature:${stratos.version}</featurecomponent.ArtifactDef-->
-
-				    <!--Adding sso and registry ui features to make the manager self contained-->
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.stratos.identity.saml2.sso.mgt.feature:${stratos.component.version}
-				    </featureArtifactDef>
-
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.module.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.throttle.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.caching.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.rm.server.feature:4.0.0</featureArtifactDef>
-				    <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.adc.mgt.feature:${stratos.component.patch.version}
-                                </featureArtifactDef>
-				<featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.cartridge.mgt.ui.feature:${stratos.component.patch.version}
-                                </featureArtifactDef>
-				 <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:${carbon.platform.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature:${carbon.platform.version}
-                                </featureArtifactDef>
-				<!--**************************************************Manager features end*********************************************-->
-
-				
-			</featureArtifacts>
-        	</configuration>
-        	</execution>
-
-		
-
-		<execution>
-			<id>3-p2-profile-generation</id>
-			<phase>package</phase>
-			<goals>
-			    <goal>p2-profile-gen</goal>
-			</goals>
-			<configuration>
-			    <profile>WSO2CarbonProfile</profile>
-			    <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-			    <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>
-				<!--****************************************Manager features start*********************************************--> 
-				<feature>
-				    <id>org.wso2.carbon.registry.ui.menu.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.identity.sso.saml.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.stratos.identity.saml2.sso.mgt.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.logging.mgt.feature.group</id>
-				    <version>4.1.1</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.security.mgt.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.registry.core.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.registry.resource.properties.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.webapp.mgt.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.ntask.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.coordination.core.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-
-				<feature>
-				    <id>org.wso2.stratos2.feature.group</id>
-				    <version>${project.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.common.feature.group</id>
-				    <version>2.1.3</version>
-				</feature>
-				<!-- start BAM -->
-				<feature>
-				    <id>org.apache.synapse.wso2.feature.group</id>
-				    <version>2.1.1-wso2v4</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.task.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.transaction.manager.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.transport.mgt.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.event.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.event.common.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.admin.mgt.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.admin.mgt.ui.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.captcha.mgt.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-
-				<!-- Status Monitor Feature. Uncomment, if you want the manager to be used as a Stratos Status Monitor -->
-				<!--feature>
-				    <id>org.wso2.carbon.status.monitor.feature.group</id>
-				    <version>${stratos.version}</version>
-				</feature-->
-
-				<!-- GApp SSO features -->
-				<feature>
-				    <id>org.wso2.carbon.identity.core.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.identity.relying.party.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<!--End GApp SSO features -->
-
-				<feature>
-				    <id>org.wso2.carbon.load.balance.agent.server.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.usage.feature.group</id>
-				    <version>2.1.3</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.usage.agent.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.throttling.manager.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.throttling.agent.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.billing.server.feature.group</id>
-				    <version>2.1.3</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.billing.ui.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.rule.service.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.reporting.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.tenant.activity.server.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-                                    <id>org.wso2.carbon.adc.mgt.feature.group</id>
-                                    <version>${stratos.component.patch.version}</version>
-                                </feature>
-				<feature>
-                                    <id>org.wso2.carbon.cartridge.mgt.ui.feature.group</id>
-                                    <version>${stratos.component.patch.version}</version>
-                                </feature>
-				 <feature>
-                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
-                                    <version>${carbon.platform.version}</version>
-                                </feature>
-				<!--****************************************Manager features end*********************************************--> 
-               		 </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>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/styles/pom.xml
deleted file mode 100644
index d0e4afa..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/styles/pom.xml
+++ /dev/null
@@ -1,47 +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.
- -->
-<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.stratos2</groupId>
-        <artifactId>wso2stratos2-parent</artifactId>
-        <version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2manager-styles-parent</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Manager - Styles Parent</name>
-    <url>http://wso2.org/projects/wsas/java</url>
-    <description>WSO2 Manager Styles Parent</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>product</module>
-		<module>service</module>
-    </modules>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/pom.xml
deleted file mode 100644
index 2c2c097..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/pom.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.stratos2</groupId>
-    	<artifactId>wso2stratos2-parent</artifactId>
-        <version>1.0.1</version>
-        <relativePath>../../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.manager.styles</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon Cloud Manager - UI styles</name>
-	<version>${stratos.controller.version}</version>
-    <url>http://wso2.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-eclipse-plugin</artifactId>
-                <version>2.6</version>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Fragment-Host>org.wso2.carbon.ui</Fragment-Host>
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                        <Private-Package>*</Private-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <includes>
-                    <include>META-INF/product.xml</include>
-                </includes>
-                <filtering>true</filtering>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-                <excludes>
-                    <exclude>META-INF/product.xml</exclude>
-                </excludes>
-            </resource>
-        </resources>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/META-INF/product.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/META-INF/product.xml b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/META-INF/product.xml
deleted file mode 100644
index ec59348..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/META-INF/product.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
- -->
-<product xmlns="http://products.wso2.org/carbon">
-    <properties>
-       <property name="userforum">http://stackoverflow.com/questions/tagged/wso2</property>
-       <property name="userguide">http://docs.wso2.org/stratos</property>
-       <property name="mailinglist">http://wso2.org/mail</property>
-       <property name="issuetracker">https://wso2.org/jira/browse/SPI</property>
-       <property name="collapsedmenus">region1_configure_menu,region3_registry_menu,region4_monitor_menu,region5_tools_menu</property>
-       <property name="webAdminConsoleTitle">WSO2 Stratos Controller (WSO2 SC)</property>
-    </properties>
-</product>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/product/about.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/product/about.html b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/product/about.html
deleted file mode 100644
index 1fdf53b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/product/about.html
+++ /dev/null
@@ -1,130 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
- -->
-<html><head><title>WSO2 ESB - About</title>
-
-<link href="../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all"/>
-</head>
-<body>
-<h1>Version 4.7.0</h1>
-<h2>About WSO2 ESB </h2>
-<p>WSO2 ESB is a lightweight and easy-to-use Open Source Enterprise Service Bus
-(ESB) available under the Apache Software License v2.0. WSO2 ESB allows
-administrators to simply and easily configure message routing, intermediation,
-transformation, logging, task scheduling, load balancing, failover routing,
-event brokering, etc.. The runtime has been designed to be completely
-asynchronous, non-blocking and streaming based on the Apache Synapse core.</p>
-
-<p>WSO2 ESB 4.7.0 is developed on top of the revolutionary
-    <a href="http://wso2.org/projects/carbon">Carbon platform</a>
-(Middleware a' la carte), and is based on the OSGi framework to achieve the
-better modularity for your SOA architecture. This also contains a lots of new
-features and many other optional components to customize the behavior of the
-server. Further, if you do not want any of the built in features, you can
-uninstall those features without any trouble. In other words, this ESB can be
-customized to your SOA needs.</p>
-<h2>About WSO2 Carbon </h2>
-<p>WSO2 Carbon is a component based Enterprise SOA platform. The
-design of
-WSO2 Carbon focuses on separating the key functionality of the SOA
-platform
-into separate pluggable Carbon components that can be mixed and
-matched, like
-customizable building blocks. This allows you to add only the
-functionality
-you need to start up, and continue to add product capabilities
-as your
-requirements grow. This helps a business to quickly adapt to
-changes.</p>
-<p>OSGi is used as the underlying core modularization technology
-to build the
-Carbon platform. The Carbon framework is shipped with Eclipse Equinox
-by
-default, but can be supported on Spring dm Server, Felix or Knoplerfish
-if
-required. The OSGi technology even allows you to write your business
-functionality as an OSGi component and deploy it in the existing Carbon
-platform. </p>
-<p> For a quick start on using the WSO2 Carbon
-platform, the Carbon components are pre-assembled into the following
-products: </p>
-<ul id="CarbonProducts"> 
-<li><a href="http://wso2.com/products/governance-registry/">WSO2
-Governance Registry</a></li> 
-<li><a href="http://wso2.com/products/application-server/">WSO2
-Application Server</a></li> 
-<li><a href="http://wso2.com/products/business-rules-server/">WSO2
-Business Rules Server</a></li> 
-<li><a href="http://wso2.com/products/business-process-server/">WSO2
-Business Process Server</a></li> 
-<li><a href="http://wso2.com/products/identity-server/">WSO2
-Identity Server</a></li> 
-<li><a href="http://wso2.com/products/data-services-server">WSO2
-Data Services Server</a></li> 
-<li><a href="http://wso2.com/products/business-activity-monitor/">WSO2
-Business Activity Monitor</a></li> 
-<li><a href="http://wso2.com/products/gadget-server/">WSO2
-Gadget Server</a></li> 
-<li><a href="http://wso2.com/products/mashup-server/">WSO2
-Mashup Server</a></li> 
-</ul> 
-<p>You can assemble your own products by combining
-components and
-deploying them in a preferred architecture. </p>
-<p>The WSO2 Carbon platform gives maximum flexibility to adapt
-the middleware
-to your enterprise architecture, rather than adapt your architecture to
-the
-middleware. </p>
-
-<h2>About WSO2</h2>
-<p>WSO2 is a Open Source technology company building Open Source
-middleware
-platforms for Web services and SOA. WSO2 delivers integrated middleware
-stacks based on components developed at Apache, offering industry
-leading
-performance and convenience for customers. </p>
-<p>Founded in August 2005 by pioneers in Web services and Open
-Source, WSO2
-engineers contribute heavily to many key Apache Web services projects. </p>
-
-<h3>Have you tried...</h3>
-<p><a href="http://wso2.com/products/governance-registry/"><img src="../admin/images/registry_logo_h23.gif" alt="Governance Registry"/></a></p> 
-<p><a href="http://wso2.com/products/application-server/"><img src="../admin/images/appserver_logo_h23.gif" alt="AS"/></a></p> 
-<p><a href="http://wso2.com/products/business-rules-server/"><img src="../admin/images/brs_logo_h23.gif" alt="BRS"/></a></p> 
-<p><a href="http://wso2.com/products/business-process-server/"><img src="../admin/images/bps_logo_h23.gif" alt="BPS"/></a></p> 
-<p><a href="http://wso2.com/products/identity-server/"><img src="../admin/images/identity_logo_h23.gif" alt="IS"/></a></p> 
-<p><a href="http://wso2.com/products/data-services-server"><img src="../admin/images/ds_logo_h23.gif" alt="DS"/></a></p> 
-<p><a href="http://wso2.com/products/business-activity-monitor/"><img src="../admin/images/bam_logo_h23.gif" alt="BAM"/></a></p> 
-<p><a href="http://wso2.com/products/gadget-server/"><img src="../admin/images/gadgetserver_logo_h23.gif" alt="GS"/></a></p> 
-<p><a href="http://wso2.com/products/mashup-server/"><img src="../admin/images/mashup_logo_h23.gif" alt="MS"/></a></p> 
-<h3>Stay connected </h3> 
-<p><a href="http://wso2.org/user/login?destination=newsletter/subscriptions">Subscribe</a>
-to the WSO2 newsletter - project updates, events, articles, SOA news
-and much
-more.</p>
-<h3>Need more help?</h3>
-<ul>
-<li><a href="http://wso2.org/project/esb/java/4.7.0/docs/index.html">Online Documentation</a></li>
-<li><a href="http://wso2.org/library/esb">Read articles</a></li>
-<li><a href="http://wso2.org/forum/187">Post to the ESB forum</a></li>
-<li><a href="http://wso2.org/mail">Subscribe to the mailing list</a></li>
-<li><a href="https://wso2.org/jira/browse/ESBJAVA">Report an Issue</a></li>
-<li><a href="http://wso2.com/services/">Get commercial support</a></li>
-</ul>
-</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/css/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/css/main.css b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/css/main.css
deleted file mode 100644
index e9b2b82..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/css/main.css
+++ /dev/null
@@ -1,155 +0,0 @@
-/* ---------------- template styles ------------------------- */
-
-table#main-table td#header {
-	background-image: url( ../images/sc-header-repeat.png);
-	border-bottom: 1px solid #464646;
-	height:84px;
-}
-
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( ../images/sc-back.png);
-	height:84px;
-}
-
-div#header-div div.left-logo {
-	background-image: url( ../images/sclogo.png );
-    margin-left: 24px;
-    margin-top: 27px;
-}
-
-div#header-div div.right-logo {
-	color: #02516b;
-    height: 27px;
-    line-height: 27px;
-    margin-right: 20px;
-    margin-top: 10px;
-    padding-right: 0;
-    padding-top: 5px;
-}
-div#header-div div.header-links {
-	margin-top:-10px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 35px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-image:url("../images/right-links-bg.gif");
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 9px;
-	padding-bottom: 7px;
-}
-div#middle h2{
-	color:#34323b;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-background-image:url(../images/menu_header.png);
-height:28px;
-}
-
-div#menu ul.main li.menu-header {
-	background-image: url(../images/menu_header.png);
-	background-position: left bottom;
-	background-repeat: repeat-x;
-	height: 32px;
-	line-height: 32px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #EFECF5;
-	border-bottom: solid 1px #C2B7D8;
-	border-top: solid 1px #C2B7D8;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-}
-/* -------------- Sidew menu styles --------------- */
-
-.menu-panel-buttons{
-  
-
-    background-color: #827d91;
-    border-right: 1px solid #CCCCCC;
-    border-top: 1px solid #CCCCCC;
-    border-bottom: 1px solid #CCCCCC;
-
-    -moz-border-radius: 2px;
-    -moz-border-radius: 2px;
-    border-radius: 2px;
-    border-radius: 2px;
-
-    margin-bottom:10px;
-    height:48px;
-    padding: 10px 4px;
-    padding-bottom:10px;
-
-
-    text-align: center;
-}
-.menu-panel-buttons span{
-    color: #fff;
-	background-color:transparent;
-}
-.menu-panel-buttons span.ie{
-	margin-left:0px;
-    *margin-left:-10px;
-    margin-top:-10px;
-}
-div.selected{
-    border:solid 1px #000;
-}
-div.selected{
-    -moz-box-shadow: 3px 3px 3px #888;
-    -webkit-box-shadow: 3px 3px 3px #888;
-    box-shadow: 3px 3px 3px #888;
-}
-div.selected span{
-    color:#c9e3f2;  
-	background-color:transparent;
-}
-#menu-panel-button0{
-    height:20px;
-    margin-top:5px;
-    margin-bottom:5px;
-    margin-left:2px;
-    cursor:pointer;
-}
-
-.showToHidden{
-    background:transparent url(../images/leftRightSlider-dark.png) no-repeat 0 0;
-}
-.hiddenToShow{
-    background:transparent url(../images/leftRightSlider-dark.png) no-repeat -35px 0;
-}
-.vertical-menu{
-    background-color: #b0bcc3;
-    width:20px;
-}
-
-/* -- Footer Styles */
-
-table#main-table td#footer {
-    background-color: #464646;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/1px.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/1px.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/1px.gif
deleted file mode 100644
index f866f1d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/1px.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/esb-server-menu-header.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/esb-server-menu-header.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/esb-server-menu-header.gif
deleted file mode 100644
index 1c78bbf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/esb-server-menu-header.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/leftRightSlider-dark.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/leftRightSlider-dark.png b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/leftRightSlider-dark.png
deleted file mode 100644
index 36477e0..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/leftRightSlider-dark.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/menu_header.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/menu_header.png b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/menu_header.png
deleted file mode 100644
index cf8a1c2..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/menu_header.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/right-links-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/right-links-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/right-links-bg.gif
deleted file mode 100644
index 677a421..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/right-links-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/right-logo-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/right-logo-bg.gif b/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/right-logo-bg.gif
deleted file mode 100644
index 074e94f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/styles/product/src/main/resources/web/styles/images/right-logo-bg.gif and /dev/null differ


[41/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/greg.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/greg.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/greg.html
deleted file mode 100755
index 410751c..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/greg.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Service</div>
-    <div class="story-content">Service is the basic entity of your SOA platform. You can manage service metadata and
-        the service lifecycle as well as maintain multiple versions of a given service, and much
-        more.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(0)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(1)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">WSDL</div>
-    <div class="story-content"> WSDL defines the interface of a web service. You can store, validate and manage WSDLs
-        with ease, keeping track of dependencies and associations such as services, schema and
-        policies.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col3">
-    <div class="story-title">Schema</div>
-    <div class="story-content">XML Schema defines data types in a WSDL. As in the case of WSDLs, you can keep
-        associations of schema which helps in the impact analysis process, when maintaining the
-        data models associated with your SOA.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(4)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(5)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col3">
-    <div class="story-title">Policy</div>
-    <div class="story-content">Policies help standardize SOA behaviour. You can keep track of the policies bound to a
-        service. It also supports policy enforcement to control how SOA behaves as desired by
-        both IT and business personnel.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(6)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(7)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Search</div>
-    <div class="story-content">The repository can store any arbitrary type of resource. You can search for resources by
-        name, author, time created or updated. You also can search for resources by media type.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col2">
-    <div class="story-title">Activities</div>
-    <div class="story-content">An activity log provide an invaluable insight to what operations took place on the
-        repository. You can browse activities while filtering them by date range, user name, or
-        activity type.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col3">
-    <div class="story-title">Notifications</div>
-    <div class="story-content">The registry generates events when changes are made to a particular resource or
-        collection. You can subscribe to these events via e-mail, or forward them to a web
-        service via SOAP or REST.
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(12)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-
-</div>
-<div class="story col2">
-    <div class="story-title">Extensions</div>
-    <div class="story-content"> While we address most governance and registry related scenarios out-of-the-box, you also
-        can upload your own extensions that is capable of extending the basic functionality of
-        the product
-    </div>
-    <div class="story-links"><a href="javascript:generateGregFeatureUrl(14)">Go
-        to Web Applications...</a><a href="javascript:generateGregFeatureUrl(15)">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/gs.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/gs.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/gs.html
deleted file mode 100755
index ece3587..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/gs.html
+++ /dev/null
@@ -1,90 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Enterprise Information Portal</div>
-    <div class="story-content">Users can organize gadgets in a familiar portal interface. Sets of gadgets can be
-        organized using tabs.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(0)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(1)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col2">
-    <div class="story-title">Easy User Options</div>
-    <div class="story-content"> Add gadgets from the enterprise repository or from an external URL. Drag-and-drop
-        gadgets into new arrangements.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(2)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Author Gadgets</div>
-    <div class="story-content">Supports XML, HTML, and Javascript and use 3rd party Javascript libraries. Include Flash
-        or other embeddable formats.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(4)">Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(5)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Client-side Gadgets</div>
-    <div class="story-content">Any gadget adhering to the Google Gadget specification can be added to the portal.</div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(6)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(7)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col2">
-
-    <div class="story-title">Enterprise Gadget Repository</div>
-    <div class="story-content">Portal users can browse an enterprise gadget repository maintained by IT, add gadgets to
-        their individual portals, and rate and comment on individual gadgets.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col1">
-    <div class="story-title">Anonymous Mode</div>
-    <div class="story-content"> Users can try out WSO2 Gadget Server and experience most of the portal’s functionality,
-        excluding the gadget repository, even before registration and sign-in.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(10)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(11)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col2">
-    <div class="story-title">Secure Sign-in Options</div>
-    <div class="story-content"> User registration and sign-up can be handled using OpenID and InfoCards in addition to
-        the traditional user name and password-based scheme.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(12)">Go
-        to Web Applications...</a><a href="javascript:generateGsFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col1">
-    <div class="story-title">Management Console</div>
-    <div class="story-content"> The intuitive browser-based interface of the console helps IT professionals configure
-        and manage WSO2 Gadget Server, its users, and the enterprise gadget repository.
-    </div>
-    <div class="story-links"><a href="javascript:generateGsFeatureUrl(14)"
-            >Go
-        to Web Applications...</a> <a href="javascript:generateGsFeatureUrl(15)">Read
-        more (docs)...</a></div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/black.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/black.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/black.png
deleted file mode 100755
index 7100b87..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/black.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/configure_db.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/configure_db.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/configure_db.png
deleted file mode 100755
index 11364b6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/configure_db.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/tenant_isolation.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/tenant_isolation.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/tenant_isolation.png
deleted file mode 100755
index 359e316..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/tenant_isolation.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/usage_metering_and_throttling.jpg
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/usage_metering_and_throttling.jpg b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/usage_metering_and_throttling.jpg
deleted file mode 100755
index aae6590..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/images/usage_metering_and_throttling.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/is.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/is.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/is.html
deleted file mode 100755
index bf69e92..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/is.html
+++ /dev/null
@@ -1,98 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">User Profile</div>
-    <div class="story-content">Update your user profile or add multiple user profiles.The value from your profile will
-        be used to populate your Information card and OpenID profiles.
-    </div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(0)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(1)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">OpenID</div>
-    <div class="story-content">This OpenID can be used with any OpenID relying party which trusts your domain for
-        login.
-    </div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(2)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(3)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col3">
-    <div class="story-title">Information Card</div>
-    <div class="story-content">This card can be used with any identity selector that supports Microsoft CardSpace
-        specifications and will allow you to login to web applications that support information
-        card logins.
-    </div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(4)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(5)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">SAML 2.0 Single Sign-On</div>
-    <div class="story-content">Use WSO2 Identity Server for Single Sign-on configuration. Service Providers can be
-        added and removed.
-    </div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(6)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(7)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col3">
-    <div class="story-title">Multifactor Authentication</div>
-    <div class="story-content">Use WSO2 Identity Server to Enable XMPP based multi-factor authentication.</div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(8)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(9)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Users and Roles</div>
-    <div class="story-content">WSO2 Identity Server enables you to manage users and roles in your system.</div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(10)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Relying Parties</div>
-    <div class="story-content">Manage your Relying Parties with WSO2 Identity Server.</div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(12)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col3">
-    <div class="story-title">Key Stores</div>
-    <div class="story-content"> Manage your Key Stores with WSO2 Identity Server</div>
-    <div class="story-links"><a href="javascript:generateIsFeatureUrl(14)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateIsFeatureUrl(15)"
-            >Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/manager.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/manager.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/manager.html
deleted file mode 100755
index 53c941b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/manager.html
+++ /dev/null
@@ -1,68 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Billing</div>
-    <div class="story-content">Billing is the process where the cloud computing service subscribers are charged
-        based on the metered data. Billing usually happens on a monthly basis. Billing uses
-        pricing rates defined against usage plans and compute the invoice against the usage
-        data.
-    </div>
-    <div class="story-links"><a href="javascript:generateManagerFeatureUrl(0)" >Go to
-        Billing...</a><a href="javascript:generateManagerFeatureUrl(1)"
-            >Read more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Metering</div>
-    <div class="story-content">Metering measures levels of resource utilization, such as network bandwidth usage and
-        data storage volume, consumed by the cloud services subscribers, aka tenants.
-        Resource utilization's (bandwidth and storage usage) are measured on the fly and the
-        measured data is stored for summarizing and analyzing.
-    </div>
-    <div class="story-links"><a href="javascript:generateManagerFeatureUrl(2)" 
-
-            >Go to Metering...</a><a href="javascript:generateManagerFeatureUrl(3)"
-            >Read more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Account Management</div>
-    <div class="story-content">Account management allows a tenant to update and validate contact information,
-        update the usage plan, validate the account and even de-activate the account .
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateManagerFeatureUrl(4)" 
-                >Manage account...</a> <a href="javascript:generateManagerFeatureUrl(5)" 
-            >Read more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Users and Roles</div>
-    <div class="story-content">You can add users and define your own roles for a tenant. The permission model is
-        role based. So a tenant admin can define what actions a role can perform by
-        configuring permissions for that role.
-    </div>
-    <div class="story-links"><a href="javascript:generateManagerFeatureUrl(6)"
-            >Manage
-        users/roles...</a><a href="javascript:generateManagerFeatureUrl(7)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Usage Metering and Throttling</div>
-    <div class="story-content"><a
-            href="http://wso2.org/library/articles/2011/09/usage-metering-throttling-cloud-computing"><img
-            src="../../../../features-dashboard/dashboards/images/usage_metering_and_throttling.jpg" alt=""/></a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">How WSO2 StratosLive meets Security Challenges in Cloud</div>
-    <div class="story-content"><a
-            href=http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud"><img
-            src="../../../../features-dashboard/dashboards/images/tenant_isolation.png" alt=""/></a></div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/mb.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/mb.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/mb.html
deleted file mode 100755
index 7507f4d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/mb.html
+++ /dev/null
@@ -1,81 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Publish/Subscribe to Topics</div>
-    <div class="story-content"> WS-Eventing to publish/subscribe to topics using web service standards.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(0)">Go
-        to Web Applications...</a><a href="javascript:generateMbFeatureUrl(1)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">AMQP</div>
-    <div class="story-content">JMS support thorough AMQP to publish/subscribe to topics and Queues.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateMbFeatureUrl(3)">Read
-        more (docs)...</a></div>
-    <h2>AMQP</h2>
-
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Topic Authorization</div>
-    <div class="story-content">Role based authorization to topics.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(4)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMbFeatureUrl(5)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Manage topics and queues permissions</div>
-    <div class="story-content">Administrative console support to manage topics and queues permissions.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(6)">Go
-        to Web Applications...</a><a href=javascript:generateMbFeatureUrl(7)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">SQS support</div>
-    <div class="story-content">SQS support to store retrieve messages using a web service API.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(8)">Go
-        to Web Applications...</a><a href=javascript:generateMbFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">User based authorization for queues</div>
-    <div class="story-content"> User based authorization for queues.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(10)">Go
-        to Web Applications...</a><a href=javascript:generateMbFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Manage message boxes</div>
-    <div class="story-content">Administrative console support to manage message boxes and store/retrieve messages.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(12)">Go
-        to Web Applications...</a><a href=javascript:generateMbFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Message box as event sink</div>
-    <div class="story-content"> Ability to use a message box as the event sink for a subscription.</div>
-    <div class="story-links"><a href="javascript:generateMbFeatureUrl(14)">Go
-        to Web Applications...</a> <a href=javascript:generateMbFeatureUrl(15)">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/ms.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/ms.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/ms.html
deleted file mode 100755
index 7b1ec4f..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/ms.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/><div class="story col1">
-    <div class="story-title">Scrape the Web</div>
-    <div class="story-content">Scrape legacy web pages, expose as SOAP/REST services quickly using Scraping
-        Assistant.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(0)"
-            >Go
-        to Services...</a><a href="javascript:generateMsFeatureUrl(1)"
-            >Read
-        more (docs)...</a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Compose and Expose</div>
-    <div class="story-content"> Compose Enterprise level mashups quickly using Javascript and expose as SOAP/REST
-        Web Services with ease.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(2)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMsFeatureUrl(3)"
-            >Read
-        more (docs)...</a></div>
-
-
-</div>
-<div class="story col3">
-    <div class="story-title">Schedule Tasks</div>
-    <div class="story-content">Schedule recurring tasks, get updated via Emails and IMs using Email/IM Hostobjects.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(4)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMsFeatureUrl(5)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Javascript Stubs</div>
-    <div class="story-content"> Create Javascript stubs from a WSDL and invoke SOAP/REST services easily from a mashup
-        or
-        even from the browser.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateMsFeatureUrl(6)"
-                >Go
-            to Web Applications...</a><a href="javascript:generateMsFeatureUrl(7)"
-            >Read
-        more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Modules</div>
-    <div class="story-content">The WSO2 SOA platform has the capabilities of Axis2 to add modules to extend its
-        capabilities. The global modules will affect all the services deployed within the
-        server.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(8)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMsFeatureUrl(9)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-<div class="story col3">
-    <div class="story-title">Message Tracing</div>
-    <div class="story-content">Trace the request and responses to your service. Message Tracing is a vital debugging
-        tool
-        when you have clients from heterogeneous platforms.
-    </div>
-    <div class="story-links"><a href="javascript:generateMsFeatureUrl(10)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateMsFeatureUrl(11)"
-            >Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/server.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/server.jsp b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/server.jsp
deleted file mode 100755
index 10f0cb1..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/dashboards/server.jsp
+++ /dev/null
@@ -1,151 +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.
- -->
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Data"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Service"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Link"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Story"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.utils.Utils"%>
-<%@ page import="java.util.HashMap"%>
-<%@ page import="java.util.Iterator"%>
-<%@ page import="java.util.Map"%>
-
-<%@ page language="java" contentType="text/html; charset=UTF-8"
-	pageEncoding="UTF-8"%>
-<jsp:useBean id="serviceData" class="org.wso2.stratos.manager.feature.dashbord.ui.beans.Data"
-             scope="session"></jsp:useBean>
-<link type="text/css"
-	href="../../../../features-dashboard/dashboards/css/features-dashboard.css"
-	rel="stylesheet" />
-	<%
-		
-	%>
-<script type="text/javascript">
-	function goToFunction(url,serverUrl) {
-		var serverUrl = serverUrl+linkSuffix+url;
-		window.open(serverUrl);
-	}
-</script>
-<%
-	String serviceName = request.getParameter("name");
-	Service service = serviceData.getService(serviceName);
-	String name1 = service.getName();
-	String link = service.getLink();
-	Map<String, Story> stories = service.getStories();
-	int index = 1;
-	for (Map.Entry<String, Story> entry : stories.entrySet()) {
-		Story tempStory = entry.getValue();
-		String storyName = tempStory.getTitle();
-		String storyContent = tempStory.getContent();
-		Map<String, Link> links = tempStory.getLinks();
-		String divClassName;
-		if (index%2 == 0) {
-			divClassName = "story col" + 1;
-		} else {
-			divClassName = "story col" + 2;
-		}
-		index++;
-	
-%>
-<div class="<%=divClassName%>">
-	<div class="story-title"><%=storyName%></div>
-	<div class="story-content"><%=storyContent%></div>
-	<div class="story-links">
-		<%
-			for (Map.Entry<String, Link> linksEntry : links.entrySet()) {
-					Link tempLink = linksEntry.getValue();
-					String linkUrl = tempLink.getUrl();
-					String value = tempLink.getDescription();
-		%>
-		<a href="javascript:goToFunction('<%=linkUrl%>','<%=link%>')" class="blocklink"><%=value%></a>
-		<%
-			}
-		%>
-	</div>
-</div>
-<%
-	}
-%>
-
-<!-- 		<div class="story col1"> -->
-
-<!-- 			<div class="story-title">Service Hosting</div> -->
-
-
-<!-- 			<div class="story-content">Different types of Web Services such -->
-<!-- 				as Axis2 Services, JAXWS Services, Jar Services or Spring Services -->
-<!-- 				can be deployed in Application Server. All configurations such as -->
-<!-- 				QoS can be easily configured here.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(0)" class="blocklink">Got -->
-<!-- 					to services...</a> <a href="javascript:generateAsFeatureUrl(1)">Read -->
-<!-- 					more (docs)...</a> -->
-<!-- 			</div> -->
-<!-- 		</div> -->
-
-<!-- 		<div class="story col2"> -->
-<!-- 			<div class="story-title">Web Applications</div> -->
-
-
-<!-- 			<div class="story-content">Web Application hosting features in -->
-<!-- 				AppServer supports deployment of Tomcat compliant Webapps. Deployed -->
-<!-- 				Webapps can be easily managed using the Webapp management facilities -->
-<!-- 				available in the management console.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(2)" target="_blank">Go -->
-<!-- 					to Web Applications...</a> <a href="javascript:generateAsFeatureUrl(3)" -->
-<!-- 					target="_blank">Read more (docs)...</a> -->
-<!-- 			</div> -->
-<!-- 		</div> -->
-
-
-<!-- 		<div class="story col1"> -->
-<!-- 			<div class="story-title">Message Tracing</div> -->
-<!-- 			<div class="story-content">Trace the request and responses to -->
-<!-- 				your service. Message Tracing is a vital debugging tool when you -->
-<!-- 				have clients from heterogeneous platforms.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(4)">Go to Message -->
-<!-- 					Tracing...</a> <a href="javascript:generateAsFeatureUrl(5)">Read -->
-<!-- 					more (docs)...</a> -->
-<!-- 			</div> -->
-
-<!-- 		</div> -->
-
-<!-- 		<div class="story col2"> -->
-<!-- 			<div class="story-title">WSDL2Java Tool</div> -->
-<!-- 			<div class="story-content">Use WSDL2Java tool in Web -->
-<!-- 				Application Server to convert Web Service WSDL to a set of Java -->
-<!-- 				objects.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(6)">Go to WSDL2Java -->
-<!-- 					Tool...</a> <a href="javascript:generateAsFeatureUrl(7)">Read more -->
-<!-- 					(docs)...</a> -->
-<!-- 			</div> -->
-<!-- 		</div> -->
-
-<!-- 		<div class="story col1"> -->
-<!-- 			<div class="story-title">Java2WSDL Tool</div> -->
-
-<!-- 			<div class="story-content">Use Java2WSDL tool in Web -->
-<!-- 				Application Server make it easy to develop a new web service.</div> -->
-<!-- 			<div class="story-links"> -->
-<!-- 				<a href="javascript:generateAsFeatureUrl(8)">Go to Java2WSDL -->
-<!-- 					Tool...</a> <a href="javascript:generateAsFeatureUrl(9)">Read more -->
-<!-- 					(docs)...</a> -->
-<!-- 			</div> -->
-<!-- 		</div> -->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/css/features-dashboard-new.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/css/features-dashboard-new.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/css/features-dashboard-new.css
deleted file mode 100755
index c6a95bb..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/css/features-dashboard-new.css
+++ /dev/null
@@ -1,155 +0,0 @@
-body{
-    background-color:#F2F2F2;
-}
-.db_menu {
-    width: 240px;
-    padding-top:20px;
-    line-height:20px;
-}
-
-.db_menu ul{
-    margin:0;
-    padding:0;
-    background: url("../images/back.jpg") repeat scroll left top transparent;
-}
-.db_menu li{
-    list-style-type:none;
-    margin-bottom:2px;
-
-    border-bottom: 1px solid #4BA5C6;
-    border-left: 6px solid #000;
-    padding: 10px;
-    width: auto;
-}
-.db_menu li a{
-    color: #48707E;
-    cursor:pointer;
-    width:100%;
-    font-size:13px;
-    white-space: nowrap;
-overflow: hidden;
-text-overflow: ellipsis;
-}
-.db_menu li.selected a{
-    font-weight:bold;
-}
-.db_table{
-    width:100%;
-    opacity:1;
-}
-.db_table td{
-    vertical-align:top;
-}
-
-.db_content{
-    padding:0px 10px 10px 0px;
-}
-#db_content_title{
-    color:#fff;
-    font-size:20px;
-    text-indent:10px;
-    height:40px;
-    padding:15px 5px;
-}
-.main-title{
-    color:#131313;
-    font-size:28px;
-    margin:10px;
-}
-/*Blue theme styles*/
-.page-picture{
-    padding:10px;
-}
-
-div.page-popup{
-    /*Rounded corners */
-    -moz-border-radius: 10px;
-    border-radius: 10px;
-
-
-}
-.page-popup  div.popup-circle{
-    height:100%;
-}
-#popup-close{
-    display:none !important;
-}
-table#main-table td#middle-content {
-    background: url("../images/workAreaBack.png") repeat-x scroll left top transparent;
-}
-div#middle {
-    background: none repeat scroll 0 0 transparent;
-    margin-top:-24px;
-}
-
-div#middle h2 {
-    font-size: 22px;
-}
-div#middle div#workArea {
-    background-color: transparent;
-}
-
-
-#middle .page-background {
-    background-image: none;
-}
-#middle .page-picture, #middle div.page-popup {
-    background-image: none;
-    border: medium none;
-}
-div#middle div#workArea, #middle #dashboard, #middle .page-background, #middle .page-picture {
-    padding: 0;
-}
-div#middle .main-title {
-    color: #727272;
-    font-size: 22px;
-}
-.goto-link1-wrapper{
-    float:right;
-    margin-bottom:10px;
-}
-
-.db_menu li a.goto-link1{
-    background:transparent url("../images/arrow-blue.png") no-repeat left top;
-    width:23px;
-    height:23px;
-    display:block;
-}
-.goto-link2{
-    background:transparent url("../images/arrow-white.png") no-repeat left top;
-    width:23px;
-    height:23px;
-    display:block;
-    float:left;
-}
-.goto-link2-prev{
-    float:left;
-    margin:5px 10px 0 0;
-}
-.service-menu-left-wrapper{
-    float:left;
-    width:185px;
-
-    white-space: nowrap;
-    overflow: hidden;
-    text-overflow: ellipsis;
-}
-
-.green-note {
-    white-space:nowrap;
-    height:15px;
-}
-.db_menu li.manager-leftBar{ border-left-color:#0499cc;}
-.db_menu li.esb-leftBar{ border-left-color:#552988;}
-.db_menu li.as-leftBar{ border-left-color:#0067b1;}
-.db_menu li.dss-leftBar{ border-left-color:#00447c;}
-.db_menu li.greg-leftBar{ border-left-color:#794400;}
-.db_menu li.is-leftBar{ border-left-color:#e86d1f;}
-.db_menu li.bam-leftBar{ border-left-color:#8a2529;}
-.db_menu li.bam-leftBar{ border-left-color:#8a2529;}
-.db_menu li.bps-leftBar{ border-left-color:#ee3124;}
-.db_menu li.brs-leftBar{ border-left-color:#f1645d;}
-.db_menu li.cg-leftBar{ border-left-color:#0499cc;}
-.db_menu li.cep-leftBar{ border-left-color:#a70063;}
-.db_menu li.mb-leftBar{ border-left-color:#767395;}
-.db_menu li.ss-leftBar{ border-left-color:#5a1a0d;}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/css/ie7.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/css/ie7.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/css/ie7.css
deleted file mode 100755
index 58c394e..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/css/ie7.css
+++ /dev/null
@@ -1,8 +0,0 @@
-div#middle h2{
-    margin-top:15px;
-}
-
-table#main-table td#middle-content{
-    background-position:left 30px;
-    background-color:#fff;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-blue.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-blue.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-blue.png
deleted file mode 100755
index 040d789..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-blue.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-white.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-white.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-white.png
deleted file mode 100755
index 4293aec..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/arrow-white.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/back.jpg
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/back.jpg b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/back.jpg
deleted file mode 100755
index dda1588..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/back.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/boxes.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/boxes.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/boxes.png
deleted file mode 100755
index aaf9473..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/boxes.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/dashboard-back-repeat.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/dashboard-back-repeat.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/dashboard-back-repeat.png
deleted file mode 100755
index e5058e7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/dashboard-back-repeat.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/workAreaBack.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/workAreaBack.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/workAreaBack.png
deleted file mode 100755
index 1999420..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/images/workAreaBack.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/index.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/index.html b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/index.html
deleted file mode 100755
index ada6150..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/index.html
+++ /dev/null
@@ -1,173 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-    <title>Dashboard</title>
-    <link type="text/css" href="../../../../features-dashboard/tenant-dashboard/css/features-dashboard-new.css" rel="stylesheet"/>
-    <script type="text/javascript" src="../../../../features-dashboard/tenant-dashboard/js/jquery-1.7.1.min.js"></script>
-    <script type="text/javascript" src="../../../../features-dashboard/tenant-dashboard/js/jquery.masonry.min.js"></script>
-
-    <script type="text/javascript">
-        var def = 'manager'; //This is the default section to display images
-        var hideOnMouseLeave = false; //Set this to true if you want to hide the popup on mouse out from the popup
-        var nameObj = {
-            manager:'Cloud Services',
-            as:'Application Services',
-            dss:'Data Services',
-            ms:'Mashup Services',
-            is:'Identity Services',
-            greg:'Governance Services',
-            gs:'Gadget Services',
-            bam:'Business Activity Monitor',
-            bps:'Business Process Services',
-            brs:'Business Rules Services',
-            esb:'Enterprise Service Bus',
-            cep:'Complex Event Processing Services',
-            mb:'Message Broker Services',
-            csg:'Cloud Gateway'
-        };
-        $(document).ready(function() {
-            for (var name in nameObj) {
-                var newDiv = document.createElement('div');
-                newDiv.id = name + "_content";
-                newDiv.style.display = "none";
-                jQuery(newDiv).load('../../../../features-dashboard/dashboards/' + name + '.html');
-                document.getElementById('container').appendChild(newDiv);
-            }
-            //Close button event register
-            $('#popup-close').click(
-                    function(){
-                        $(this).hide();
-                        $('#db_content_title').hide();
-                        $('#container > div').hide('slow');
-                        $('#page-popup').removeClass("page-popup");
-                        $('.db_menu li').removeClass("selected");
-                        loadDefalut();
-                    }
-                    );
-
-
-            //Showing title and content for the default manager div
-                $('#db_content_title').html(nameObj[def]);
-                $('#' + def + '_info').addClass("selected");
-//                $('#page-popup').addClass("page-popup");
-            var loadDefalut = function() {
-                $('#db_content_title').show();
-                var container = $('#' + def + '_content');
-                container.show(function() {
-                    container.imagesLoaded(function() {
-                        container.masonry({
-                            itemSelector : '.story',
-                            columnWidth : 250,
-                            isAnimated: true,
-                            animationOptions: {
-                                duration: 750,
-                                easing: 'linear',
-                                queue: false
-                            }
-                        });
-                    });
-                });
-            };
-            loadDefalut();
-
-            //Handle mouse over event
-            $('.db_menu li a').mouseover(
-                    function() {
-                        //Handle the menu styles
-                        $('.db_menu li').removeClass("selected");
-
-                        if(hideOnMouseLeave){
-                            $('#page-popup').mouseleave(
-                                    function(){
-                                        $('#page-popup').removeClass("page-popup");
-                                        $('#container > div').hide('slow');
-                                        $('#db_content_title').hide();
-                                        $('#popup-close').hide();
-                                    }
-                                    );
-                        }
-
-
-                        //Get the relevent catagory from the id of the link that has been mouse overred.
-                        var cat = this.id.split('_')[0];
-
-                        //hide all content and show and init the  mansonry for the relevent one
-                        $('#container > div').hide();
-                        $('#db_content_title').show();
-                        $('#db_content_title').html(nameObj[cat]);
-                        if(cat == def){
-                            $('#page-popup').removeClass("page-popup");
-                            $('#popup-close').hide();
-                        }else{
-
-                            //Show the gray box and register an event handler to remove it when the mouse is ouside
-                            $('#page-popup').addClass("page-popup");
-                            $('#popup-close').show();
-                            $(this.parentNode).addClass("selected");
-
-                        }
-                        var container = $('#' + cat + "_content");
-                        $('#' + cat + '_content').show(
-                                function() {
-                                    container.imagesLoaded(function() {
-                                        container.masonry({
-                                            itemSelector : '.story',
-                                            columnWidth : 250,
-                                            isAnimated: true,
-                                            animationOptions: {
-                                                duration: 750,
-                                                easing: 'linear',
-                                                queue: false
-                                            }
-                                        });
-                                    });
-                                }
-                                );
-                    }
-                    );
-        });
-
-
-    </script>
-</head>
-<body>
-<div class="page-background">
-<div class="page-picture">
-<div id="page-popup">
-    <a id="popup-close" style="display:none;">close</a>
-    <table class="db_table">
-        <tr>
-            <div class="main-title">Services</div>
-            <td class="db_menu">
-                <ul>
-                    <li><a id="manager_info">Cloud Services</a></li>
-                    <li><a id="as_info" onclick="gotoAppServer();">Application Services </a></li>
-                    <li><a id="dss_info" onclick="gotoDss();">Data Services </a></li>
-                    <li><a id="ms_info" onclick="gotoMs();">Mashup Services </a></li>
-                    <li><a id="is_info" onclick="gotoIs();">Identity Services </a></li>
-                    <li><a id="greg_info" onclick="gotoGreg();">Governance Services </a></li>
-                    <li><a id="gs_info" onclick="gotoGs();">Gadget Services </a></li>
-                    <li><a id="bam_info" onclick="gotoBam();">Business Activity Monitor </a></li>
-                    <li><a id="bps_info" onclick="gotoBps();">Business Process Services </a></li>
-                    <li><a id="brs_info" onclick="gotoBrs();">Business Rules Services </a></li>
-                    <li><a id="esb_info" onclick="gotoEsb();">Enterprise Service Bus </a></li>
-                    <li><a id="cep_info" onclick="gotoCep();">Complex Event Processing Services </a></li>
-                    <li><a id="mb_info" onclick="gotoMb();">Message Broker </a></li>
-                    <li><a id="csg_info" onclick="gotoCsg();">Cloud Gateway </a></li>
-                </ul>
-
-            </td>
-            <td class="db_content">
-                <div class="popup-circle">
-                    <div id="db_content_title"></div>
-                    <div id="container"></div>
-                </div>
-            </td>
-        </tr>
-    </table>
-</div>
-</div>
-</div>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/index.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/index.jsp b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/index.jsp
deleted file mode 100755
index 3421af8..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/index.jsp
+++ /dev/null
@@ -1,205 +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.
- -->
-
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Data"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Service"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Link"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.beans.Story"%>
-<%@ page import="org.wso2.stratos.manager.feature.dashbord.ui.utils.Utils"%>
-
-<%@ page import="java.util.HashMap"%>
-<%@ page import="java.util.Iterator"%>
-<%@ page import="java.util.Map"%>
-
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
-<jsp:useBean id="serviceData" class="org.wso2.stratos.manager.feature.dashbord.ui.beans.Data"
-             scope="session"></jsp:useBean>
-<%
-	serviceData = Utils.pupulateDashboardFeatures();
-	request.getSession().setAttribute("serviceData", serviceData);
-
-	// Data data = Utils.pupulateDashboardFeatures();
-	Map<String, Service> allServices = serviceData.getServices();
-	String serviceNames[] = serviceData.getServiceNames();
-	String keys[] = serviceData.getKeys();
-%>
-<script type="text/javascript">
- function openServer(url) {
-	 window.open(url,'_newtab')  ;
- }
-</script>
-
-
-<!DOCTYPE HTML>
-<html>
-<head>
-    <title>Dashboard</title>
-    <link type="text/css" href="../../../../features-dashboard/tenant-dashboard/css/features-dashboard-new.css" rel="stylesheet"/>
-    <!--[if IE 7]>
-	    <link rel="stylesheet" type="text/css" href="../../../../features-dashboard/tenant-dashboard/css/ie7.css">
-    <![endif]-->
-    <script type="text/javascript" src="../../../../features-dashboard/tenant-dashboard/js/jquery-1.7.1.min.js"></script>
-    <script type="text/javascript" src="../../../../features-dashboard/tenant-dashboard/js/jquery.masonry.min.js"></script>
-
-    <script type="text/javascript">
-        var def = 'manager'; //This is the default section to display images
-        var hideOnMouseLeave = false; //Set this to true if you want to hide the popup on mouse out from the popup
-
-        var nameObj = {
-        		<%for (int i = 0; i < serviceNames.length; i++) {
-				String name = serviceNames[i];
-				String key = keys[i];
-				if (i == serviceNames.length - 1) {%><%=key%>:'<%=name%>'
-				<%} else {%><%=key%>:'<%=name%>',
-				<%}%>
-        		<%}%>
-        };
-
-
-
-        $(document).ready(function() {
-            for (var name in nameObj) {
-                $.ajax({
-                    url:'../../../../features-dashboard/dashboards/server.jsp?name='+name,
-                    async:false,
-                    success:function(data){
-                        $('#container').append($('<div id="'+name + '_content"'+'>'+data+'</div>').hide());
-                    }
-                });
-            }
-
-            //Showing title and content for the default manager div
-                $('#db_content_title').html(nameObj[def]);
-                $('#' + def + '_info').parent().addClass("selected");
-//                $('#page-popup').addClass("page-popup");
-            var loadDefalut = function() {
-                $('#db_content_title').show();
-                var container = $('#' + def + '_content');
-                container.show(function() {
-                    container.imagesLoaded(function() {
-                        container.masonry({
-                            itemSelector : '.story',
-                            columnWidth : 250,
-                            isAnimated: true,
-                            animationOptions: {
-                                duration: 750,
-                                easing: 'linear',
-                                queue: false
-                            }
-                        });
-                    });
-                });
-            };
-            loadDefalut();
-
-            //Handle mouse over event
-            $('.db_menu li a.service-menu-left').click(
-                    function() {
-                        //Handle the menu styles
-                        $('.db_menu li').removeClass("selected");
-
-
-                        //Get the relevent catagory from the id of the link that has been mouse overred.
-                        var cat = this.id.split('_')[0];
-
-                        var href = $('a.goto-link1',$(this).parent().parent()).attr('href');
-
-                        //hide all content and show and init the  mansonry for the relevent one
-                        $('#container > div').hide();
-                        $('#db_content_title').show();
-						
-						if(cat == "manager"){
-							$('#db_content_title').html('<div class="goto-link2-prev">'+nameObj[cat]+'</div>');
-						}else{
-							$('#db_content_title').html('<div class="goto-link2-prev">'+nameObj[cat]+'</div><a class="goto-link2" href="'+href+'" target="_blank"></a>');
-						}
-						
-					
-                        if(cat == def){
-                            $('#page-popup').removeClass("page-popup");
-							 $(this.parentNode).addClass("selected");
-                        }else{
-
-                            //Show the gray box and register an event handler to remove it when the mouse is ouside
-                            $('#page-popup').addClass("page-popup");
-                            $(this.parentNode.parentNode).addClass("selected");
-
-                        }
-
-                        var container = $('#' + cat + "_content");
-                        $('#' + cat + '_content').show();
-                        $('#' + cat + '_content div.story').die();
-                        $('#' + cat + '_content').masonry({
-                          itemSelector: '.story',
-                          columnWidth: 250,
-                            isAnimated: true,
-                                        animationOptions: {
-                                            duration: 750,
-                                            easing: 'linear',
-                                            queue: false
-                                        }
-                        });
-                    }
-                    );
-        });
-
-
-    </script>
-</head>
-<body>
-
-<div class="page-background">
-<div class="page-picture">
-<div id="page-popup">
-    <table class="db_table">
-        <tr>
-            <div class="main-title">Services</div>
-            <td class="db_menu">
-                <ul>
-                  <li class="manager-leftBar"><a class="service-menu-left" id="manager_info">Cloud Services</a></li>
-                  <%
-
-                  	for (Map.Entry<String, Service> entry : allServices.entrySet()) {
-                  		Service myservice = entry.getValue();
-                  		String name = myservice.getName();
-                  		String link = myservice.getLink();
-                  		String id = myservice.getKey()+"_info";
-                  		if (!id.equals("manager_info")) {
-                  %>
-                          <li class="<%=myservice.getKey()%>-leftBar"><div class="service-menu-left-wrapper"><a class="service-menu-left" id="<%=id%>"><%=name%></a></div><div class="goto-link1-wrapper"><a href="<%=link%>" target="_blank" class="goto-link1"></a></div><div style="clear:both"></div> </li>
-
-                    <%
-                     	                    	}}
-                     	                    %>
-                </ul>
-
-            </td>
-            <td class="db_content">
-                <div class="popup-circle">
-                    <div id="db_content_title"></div>
-                    <div id="container"></div>
-                </div>
-            </td>
-        </tr>
-    </table>
-</div>
-</div>
-</div>
-
-
-</html>


[32/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/pom.xml
deleted file mode 100644
index f0c10cd..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/pom.xml
+++ /dev/null
@@ -1,188 +0,0 @@
-<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">
-    <modelVersion>4.0.0</modelVersion>
-
-    <groupId>org.wso2.carbon</groupId>
-    <artifactId>s2.gitblit.plugin</artifactId>
-    <version>0.0.1</version>
-    <packaging>jar</packaging>
-
-    <name>s2.gitblit-plugin</name>
-    <url>http://maven.apache.org</url>
-
-    <build>
-        <plugins>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-
-                <executions>
-                    <execution>
-                        <id>source-code-generation</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-                                    <arg line="-uri src/main/resources/AuthenticationAdmin.wsdl -u -uw -o target/generated-code
-                                    -p  org.wso2.carbon.adc.repository.mgt.service"/>
-                                    <classpath refid="maven.dependency.classpath"/>
-                                    <classpath refid="maven.compile.classpath"/>
-                                    <classpath refid="maven.runtime.classpath"/>
-                                </java>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>add-source</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                        </goals>
-                        <configuration>
-                            <sources>
-                                <source>
-                                    target/generated-code/src
-                                </source>
-                            </sources>
-                        </configuration>
-                    </execution>
-                </executions>
-
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <version>2.3</version>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>assembly</goal>
-                        </goals>
-                        <phase>package</phase>
-                        <configuration>
-                            <descriptorRefs>
-                                <descriptorRef>jar-with-dependencies</descriptorRef>
-                            </descriptorRefs>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>com.gitblit</groupId>
-            <artifactId>gitblit-manager</artifactId>
-            <version>${gitblit.version}</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/gitblit-manager-1.0.0.jar</systemPath>
-        </dependency>
-        <dependency>
-            <groupId>wsdl4j</groupId>
-            <artifactId>wsdl4j</artifactId>
-            <version>1.6.2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2</groupId>
-            <artifactId>axis2</artifactId>
-            <version>1.6.2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2</groupId>
-            <artifactId>axis2-transport-local</artifactId>
-            <version>1.6.2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2</groupId>
-            <artifactId>axis2-transport-http</artifactId>
-            <version>1.6.2</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-            <version>1.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.neethi</groupId>
-            <artifactId>neethi</artifactId>
-            <version>3.0.2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom</groupId>
-            <artifactId>axiom-dom</artifactId>
-            <version>1.2.13</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom</groupId>
-            <artifactId>axiom-api</artifactId>
-            <version>1.2.13</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom</groupId>
-            <artifactId>axiom-impl</artifactId>
-            <version>1.2.13</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.ws.commons.schema</groupId>
-            <artifactId>XmlSchema</artifactId>
-            <version>1.4.7</version>
-        </dependency>
-        <!--service-stubs-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.authenticator.stub</artifactId>
-            <version>4.1.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.user.mgt.stub</artifactId>
-            <version>4.1.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.core</artifactId>
-            <version>4.1.0</version>
-        </dependency>
-        <!-- dependencies provided by gitblit -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <version>14.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>com.unboundid</groupId>
-            <artifactId>unboundid-ldapsdk</artifactId>
-            <version>2.3.0</version>
-        </dependency>
-
-    </dependencies>
-    <properties>
-        <maven.compiler.target>1.6</maven.compiler.target>
-        <maven.compiler.source>1.6</maven.compiler.source>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <gitblit.version>1.0.0</gitblit.version>
-        <slf4j.version>1.6.1</slf4j.version>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/src/main/java/org/wso2/carbon/s2/gitblit/service/GitAuthService.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/src/main/java/org/wso2/carbon/s2/gitblit/service/GitAuthService.java b/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/src/main/java/org/wso2/carbon/s2/gitblit/service/GitAuthService.java
deleted file mode 100644
index 58dc876..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/src/main/java/org/wso2/carbon/s2/gitblit/service/GitAuthService.java
+++ /dev/null
@@ -1,80 +0,0 @@
-package org.wso2.carbon.s2.gitblit.service;
-
-
-import java.io.File;
-import java.rmi.RemoteException;
-
-import org.apache.axis2.AxisFault;
-import org.wso2.carbon.adc.repository.mgt.service.AuthenticationAdminAuthenticationExceptionException;
-import org.wso2.carbon.adc.repository.mgt.service.AuthenticationAdminStub;
-
-import com.gitblit.GitBlit;
-import com.gitblit.GitblitUserService;
-import com.gitblit.IStoredSettings;
-import com.gitblit.models.UserModel;
-
-public class GitAuthService extends GitblitUserService {
-	 
-	public GitAuthService() {
-	    super();
-    }
-
-	
-	@Override
-    public void setup(IStoredSettings settings) {
-        String file = "/opt/GitBlit/data/users.conf";
-        File realmFile = GitBlit.getFileOrFolder(file);
-        serviceImpl = createUserService(realmFile);
-        
-    }
-	
-	@Override
-	public UserModel authenticate(char[] cookie) {
-	    return super.authenticate(cookie);
-	}
-	
-
-	
-	@Override
-	public UserModel authenticate(String username, char[] password) {
-		
-		System.out.println("Authenticating..");
-
-		UserModel user = new UserModel(username);
-
-		String passwordString = new String(password);
-		System.out.println("username: " + username);
-		System.out.println("pwd: " + passwordString);
-
-		boolean isLoggedin = false;
-
-		try {
-			String trustStorePath = "/opt/GitBlit/wso2carbon.jks";
-			System.setProperty("javax.net.ssl.trustStore", trustStorePath);
-			System.setProperty("javax.net.ssl.trustStorePassword", "wso2carbon");
-			AuthenticationAdminStub stub =
-			                               new AuthenticationAdminStub(
-			                                                           "https://localhost:9445/services/AuthenticationAdmin");
-			isLoggedin = stub.login(username, passwordString, "127.0.0.1");
-			System.out.println("Login state : " + isLoggedin);
-		} catch (Exception e) {
-			System.out.println("Exception occurred.. " + e.getMessage());
-			e.printStackTrace();
-		}
-
-		if (isLoggedin) {
-			System.out.println("Successfully authenticated via Authentication Admin..");
-			user.canAdmin = true;
-			return user;
-		} else {
-			System.out.println("Authentication admin authentication failed. Trying internal user service");
-			user = super.authenticate(username, password);
-			user.canAdmin = true;
-			return user;
-		}
-	}
-	
-	
-		
-}
-


[30/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/styles/pom.xml
deleted file mode 100644
index 3c376a9..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/styles/pom.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-<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.stratos2</groupId>
-        <artifactId>wso2stratos2-parent</artifactId>
-        <version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2manager-styles-parent</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Manager - Styles Parent</name>
-    <url>http://wso2.org/projects/wsas/java</url>
-    <description>WSO2 Manager Styles Parent</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>service</module>
-    </modules>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/pom.xml
deleted file mode 100644
index f6799ef..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/pom.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-# Copyright (c) 2008, 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.
-  -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.0</version>
-        <relativePath>../../../pom.xml</relativePath>
-    </parent>
-
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos.manager.styles</artifactId>
-    <packaging>bundle</packaging>
-	<name>WSO2 Carbon Cloud Manager - UI styles</name>
-    <version>${stratos.controller.version}</version>
-    <url>http://wso2.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-            <plugin>
-                <artifactId>maven-eclipse-plugin</artifactId>
-                <version>2.6</version>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Import-Package>
-                            org.osgi.framework,
-                            org.osgi.service.http,
-                            org.wso2.carbon.ui,
-                            javax.servlet.*;version="2.4.0",
-                            *;resolution:=optional
-                        </Import-Package>
-                        <!--<Fragment-Host>org.wso2.carbon.ui</Fragment-Host>-->
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <includes>
-                    <include>META-INF/product.xml</include>
-                </includes>
-                <filtering>true</filtering>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-                <excludes>
-                    <exclude>META-INF/product.xml</exclude>
-                </excludes>
-            </resource>
-        </resources>
-    </build>
-
-     <dependencies>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui</artifactId>
-            <version>4.1.0</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.framework</artifactId>
-            <version>1.0.3</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.main</artifactId>
-             <version>1.0.3</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-             <version>1.0.0</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.eclipse.equinox</groupId>
-            <artifactId>org.eclipse.equinox.http.servlet</artifactId>
-            <version>2.2.2</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.eclipse.equinox</groupId>
-            <artifactId>org.eclipse.equinox.http.helper</artifactId>
-            <version>1.0.0</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.eclipse.equinox</groupId>
-            <artifactId>org.eclipse.equinox.jsp.jasper</artifactId>
-            <version>1.0.1.R33x_v20070816</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.eclipse.equinox</groupId>
-            <artifactId>javax.servlet.jsp</artifactId>
-            <version>2.0.0.v200706191603</version>
-        </dependency>
-    </dependencies>
-    <properties>
-         <wso2carbon.version>4.1.0</wso2carbon.version>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/META-INF/product.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/META-INF/product.xml b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/META-INF/product.xml
deleted file mode 100644
index bf053a2..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/META-INF/product.xml
+++ /dev/null
@@ -1,26 +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.
- -->
-<product xmlns="http://products.wso2.org/carbon">
-    <properties>
-       <property name="userforum">http://wso2.org/forum/351</property>
-       <property name="userguide">http://wso2.com/cloud</property>
-       <property name="mailinglist">http://wso2.org/mail</property>
-       <property name="issuetracker">https://wso2.org/jira/browse/STRATOS</property>
-       <property name="webAdminConsoleTitle">WSO2 Stratos Manager</property>
-    </properties>
-</product>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/favicon.ico
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/favicon.ico b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/favicon.ico
deleted file mode 100644
index f7b2bbf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/favicon.ico and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/css/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/css/main.css b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/css/main.css
deleted file mode 100755
index 78803ea..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/css/main.css
+++ /dev/null
@@ -1,240 +0,0 @@
-/* ---------------- template styles ------------------------- */
-body {
-	background-image: url( ../images/def-body-bg.gif);
-	background-position: left top;
-	background-repeat: repeat-x;
-}
-
-table#main-table td#header {
-	background-image: url( ../images/def-header-region-bg.gif);
-	background-position: right top;
-	background-repeat: no-repeat;
-}
-
-table#main-table td#menu-panel {
-	border-right: solid 0px #78BDE8;
-	padding-right: 10px;
-}
-
-table#main-table td#menu-panel table#menu-table {
-	background-image:url("../images/theme-menu-table-bg.gif");
-	background-position:left bottom;
-	background-repeat:no-repeat;
-}
-table#main-table td#menu-panel table#menu-table {
-	background-image: none;
-	background-position:left bottom;
-	background-repeat:no-repeat;
-	border-right:1px solid #B6D8F2;
-	border-bottom:1px solid #B6D8F2;
-}
-table#main-table td#menu-panel table#menu-table tbody tr td img {
-	height: 17px;
-}
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( ../images/def-header-bg.gif);
-    height: 121px;
-}
-
-div#header-div div.left-logo {
-	background-image:url("../images/logo.gif");
-	background-position:left center;
-	height:50px;
-	margin-left:50px;
-	margin-top:37px;
-}
-
-div#header-div div.middle-ad {
-	float: left;
-	margin-top: 18px;
-	height: 55px;
-	width: 35%;
-}
-
-div#header-div div.right-logo {
-	background-image:url("../images/right-logo.gif");
-	background-position:right top;
-	background-repeat:no-repeat;
-	color:#B6D8F2;
-	font-size:0;
-	height:31px;
-	line-height:0;
-	margin-right:20px;
-	margin-top:36px;
-	padding-right:0;
-	padding-top:5px;
-	width:239px;
-}
-div#header-div div.header-links {
-	margin-top: 8px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 20px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-image: none;
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 6px;
-	padding-bottom: 7px;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-	display: block !important;
-}
-
-div#menu ul.main li.menu-header {
-	background-image:none;
-	background-position:center top;
-	border-top: 1px solid #CFE3F6;
-	border-bottom:1px solid #78BDE8;
-	height:25px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #DAF0FC;
-	border-bottom: solid 1px #72CDF4;
-	border-top: solid 1px #72CDF4;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-} 
-
-/* -------------- child no-01 styles -------------- */
-
-div#menu ul.sub li.normal {
-
-}
-
-div#menu ul.sub li a.menu-default {
-} 
-
-/* ----------- child no-01 (disabled) styles ------------------- */
-	
-div#menu ul.sub li a.menu-disabled-link {
-	}
-	
-	div#menu ul.sub li a.menu-disabled-link:hover {
-	} 
-
-/* -------------- child no-02 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li a.menu-default {
-
-}
-
-/* -------------- child no-03 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
-}
-
-/* ------------- footer styles -------------------- */
-
-div#footer-div div.footer-content div.poweredby {
-	background-image: url(../images/powered-synapse.gif);
-	background-position: right top;
-}
-div#middle {
-	background-color: #fff;
-}
-
-/* ---- login styles ----- */
-
-
-/* --------------- table styles -------------------- */
-
-.tableOddRow{background-color: white;}
-.tableEvenRow{background-color: #EFECF5;}
-
-.button:hover{
-	background-image:url(../images/esb-button-bg-hover.gif);
-	border:solid 1px #8268A8;
-}
-
-/* =============================================================================================================== */
-
-
-
-.cornerExpand {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-.cornerCollapse {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-/* chanaka */
-
-.form-table td{
-   padding-bottom:5px !important;
-   padding-left:5px !important;
-   padding-top:5px !important;
-   padding-right:10px !important;
-}
-.form-table td div.indented{
-    padding-left:7px !important;
-    color:#595959 !important;
-}
-.form-table-left{
-width:100px;
-}
-
-.longTextField{
-width:270px;
-}
-.rowAlone{
-padding-top:10px;
-padding-bottom:10px;
-}
-.tabedBox{
-border:solid 1px #cccccc;
-margin-left:10px;
-padding:10px;
-margin-bottom:10px;
-}
-/* chanaka end */
-
-a.fact-selector-icon-link {
-    background-image: url( ../images/facts-selector.gif );
-    background-repeat: no-repeat;
-    background-position: left top;
-    padding-left: 20px;
-    line-height: 17px;
-    height: 17px;
-    float: left;
-    position: relative;
-    margin-left: 10px;
-    margin-top: 5px;
-    margin-bottom: 3px;
-    white-space: nowrap;
-}
-table#main-table td#middle-content {
-	background-color: #fff;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-body-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-body-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-body-bg.gif
deleted file mode 100755
index 5db1464..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-body-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-header-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-header-bg.gif
deleted file mode 100755
index 758363d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-header-region-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-header-region-bg.gif
deleted file mode 100755
index 935ee9e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/def-header-region-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/logo.gif
deleted file mode 100755
index 813e625..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/powered.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/powered.gif b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/powered.gif
deleted file mode 100644
index b8bc163..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/powered.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/right-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/right-logo.gif
deleted file mode 100755
index 533d85a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/t-right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/t-right-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/t-right-logo.gif
deleted file mode 100644
index f118904..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/styles/service/src/main/resources/web/styles/images/t-right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/pom.xml b/products/stratos2/stratos_controller/1.0.0/pom.xml
deleted file mode 100755
index f269d7c..0000000
--- a/products/stratos2/stratos_controller/1.0.0/pom.xml
+++ /dev/null
@@ -1,418 +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.
- -->
-<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.carbon</groupId>
-        <artifactId>carbon-products</artifactId>
-        <version>4.1.0</version>
-        <relativePath>../../../pom.xml</relativePath>
-    </parent>
-    
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.stratos2</groupId>
-    <artifactId>wso2stratos2-parent</artifactId>
-    <version>1.0.0</version>
-    <packaging>pom</packaging>
-    <name>WSO2 Manager - Parent</name>
-    <url>http://wso2.com/cloud/stratos/</url>
-    <description>WSO2 Manager</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>modules/styles</module>
-        <module>modules/cloud-service-mgt</module>
-        <module>modules/dashboard</module>
-        <module>modules/login</module>
-        <module>modules/features</module>
-        <module>modules/p2-profile-gen</module>
-        <module>modules/features-dashboard</module>
-        <module>resources/cloud-services-icons</module>
-        <module>modules/distribution</module>
-        <!--module>modules/integration</module-->
-    </modules>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>log4j</groupId>
-                <artifactId>log4j</artifactId>
-                <version>1.2.13</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-logging</groupId>
-                <artifactId>commons-logging</artifactId>
-                <version>1.1.1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.axis2.wso2</groupId>
-                <artifactId>axis2</artifactId>
-                <version>1.6.1.wso2v1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-                <artifactId>axiom</artifactId>
-                <version>1.2.11.wso2v2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.derby.wso2</groupId>
-                <artifactId>derby</artifactId>
-                <version>10.3.2.1wso2v1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.core</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.ui</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.core</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.mgt.ui.search</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.ui.search</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.mgt.ui.resources</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.ui.resources</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.registry.ui.common</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.apache.felix.framework</artifactId>
-                <version>1.0.3</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.osgi.core</artifactId>
-                <version>1.0.0</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.apache.felix.main</artifactId>
-                <version>1.0.3</version>
-            </dependency>
-
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.osgi.compendium</artifactId>
-                <version>1.0.0</version>
-            </dependency>
-
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>org.eclipse.equinox.http.servlet</artifactId>
-                <version>2.2.2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>org.eclipse.equinox.http.helper</artifactId>
-                <version>1.0.0</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>org.eclipse.equinox.jsp.jasper</artifactId>
-                <version>1.0.1.R33x_v20070816</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>javax.servlet.jsp</artifactId>
-                <version>2.0.0.v200706191603</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.equinox</groupId>
-                <artifactId>org.apache.jasper</artifactId>
-                <version>5.5.17.v200706111724</version>
-            </dependency>
-            <dependency>
-                <groupId>javax.servlet</groupId>
-                <artifactId>servlet-api</artifactId>
-                <version>${servlet-api.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.swt</groupId>
-                <artifactId>org.eclipse.swt</artifactId>
-                <version>${eclipse.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.swt</groupId>
-                <artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
-                <version>${eclipse.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.eclipse.jface</groupId>
-                <artifactId>org.eclipse.jface</artifactId>
-                <version>${eclipse.version}</version>
-            </dependency>
-
-            <!-- Dependencies required for Cloud Manager -->
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.captcha.mgt</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.admin.mgt</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.admin.mgt.ui</artifactId>
-                <version>${carbon.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.account.mgt</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt.email.sender</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt.core</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.tenant.mgt.axis2</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.common</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.theme.mgt</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.wso2.carbon</groupId>
-                <artifactId>org.wso2.carbon.redirector.servlet</artifactId>
-                <version>${stratos.component.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.batik.wso2</groupId>
-                <artifactId>batik</artifactId>
-                <version>1.7.0.wso2v1</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-    <build>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.felix</groupId>
-                    <artifactId>maven-scr-plugin</artifactId>
-                    <version>1.0.10</version>
-                    <executions>
-                        <execution>
-                            <id>generate-scr-scrdescriptor</id>
-                            <goals>
-                                <goal>scr</goal>
-                            </goals>
-                        </execution>
-                    </executions>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>             
-        </plugins>
-    </build>
-    <scm>
-        <connection>scm:svn:https://wso2.org/repos/wso2/trunk/wsas/java</connection>
-        <developerConnection>scm:svn:https://wso2.org/repos/wso2/trunk/wsas/java
-        </developerConnection>
-    </scm>
-
-    <repositories>
-        <repository>
-            <id>wso2-nexus</id>
-            <name>WSO2 internal Repository</name>
-            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
-            <releases>
-                <enabled>true</enabled>
-                <updatePolicy>daily</updatePolicy>
-                <checksumPolicy>ignore</checksumPolicy>
-            </releases>
-        </repository>
-        <!--moved to nexus
-
-        <repository>
-            <id>wso2-maven2-repository-snapshot</id>
-            <url>http://dist.wso2.org/snapshots/maven2</url>
-        </repository>
-        <repository>
-            <id>m2-snapshot-repository</id>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </repository>
-        <repository>
-            <id>tomcat-repository</id>
-            <url>http://tomcat.apache.org/dev/dist/m2-repository</url>
-        </repository>
-        <repository>
-            <id>ws-zones-repository</id>
-            <url>http://ws.zones.apache.org/repository2</url>
-        </repository>
-        <!&ndash;&ndash; Others are available from http://repo1.maven.org/maven2 &ndash;&ndash;>
-
-        -->
-    </repositories>
-
-    <distributionManagement>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <name>WSO2 Maven2 Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
-        </repository>
-        <snapshotRepository>
-            <id>wso2-maven2-snapshot-repository</id>
-            <name>WSO2 Maven2 Snapshot Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
-        </snapshotRepository>
-    </distributionManagement>
-
-    <profiles>
-        <profile>
-            <activation>
-                <property>
-                    <name>sign</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-gpg-plugin</artifactId>
-                        <version>1.0-alpha-3</version>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-compiler-plugin</artifactId>
-                        <configuration>
-                            <source>1.6</source>
-                            <target>1.6</target>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
-    <organization>
-        <name>WSO2 Inc</name>
-        <url>http://wso2.com</url>
-    </organization>
-
-    <properties>
-        <rampart.mar.version>1.6.1-wso2v8</rampart.mar.version>
-        <features-dashboard.war.version>1.0.0</features-dashboard.war.version>
-        <carbon.version>4.1.0</carbon.version>
-	<synapse.version>2.1.1.wso2v4</synapse.version>
-        <stratos.controller.version>1.0.0</stratos.controller.version>
-        <stratos.component.version>2.1.0</stratos.component.version>
-        <stratos.component.patch.version>2.1.1</stratos.component.patch.version>
-        <eclipse.version>3.2.0</eclipse.version>
-        <servlet-api.version>2.4</servlet-api.version>
-        <shoppingcart.version>2.1.0</shoppingcart.version>
-	<shoppingcart.global.version>2.1.0</shoppingcart.global.version>
-	<carbon.kernel.version>4.1.0</carbon.kernel.version>
-	<version.synapse>2.1.1-wso2v3</version.synapse>
-	<carbon.p2.plugin.version>1.5.2</carbon.p2.plugin.version>
-	<carbon.platform.version>4.1.0</carbon.platform.version>
-	<passthru.transport.version>1.0.2</passthru.transport.version>
-	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <opencsv.version>1.8</opencsv.version>
-        <poi.version>3.0-FINAL</poi.version>
-        <axis2.transport.version>1.1.0-wso2v8</axis2.transport.version>
-        <axis2.wso2.version>1.6.1.wso2v8</axis2.wso2.version>
-        <axiom.wso2.version>1.2.11.wso2v2</axiom.wso2.version>
-	<servlet-api.version>2.4</servlet-api.version>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-	<quartz.wso2.version>2.1.1.wso2v1</quartz.wso2.version>
-    </properties>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/logo.gif
deleted file mode 100755
index 196b81f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/main.css b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/main.css
deleted file mode 100755
index cea80c4..0000000
--- a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/main.css
+++ /dev/null
@@ -1,232 +0,0 @@
-/* ---------------- template styles ------------------------- */
-
-table#main-table td#header {
-	background-image: url( theme-header-region-bg.gif);
-}
-
-table#main-table td#menu-panel {
-	border-right: solid 0px #73559D;
-	background-image: url(theme-menu-panel-l-bg.gif);
-	background-position: left top;
-	background-repeat: no-repeat;
-	padding-left: 0;
-	background-color: #F4F4F4;
-}
-
-table#main-table td#menu-panel table#menu-table {
-	background-image:url("theme-menu-table-bg.gif");
-	background-position:left bottom;
-	background-repeat:no-repeat;
-}
-table#main-table td#menu-panel table#menu-table td {
-	padding-left: 6px;
-	padding-right:16px;
-}	
-table#main-table td#menu-panel table#menu-table tbody tr td img {
-	height: 17px;
-}
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( theme-header-bg.gif);
-    height: 115px;
-}
-
-div#header-div div.left-logo {
-	background-image: url( logo.gif );
-	background-position: left center;
-	height: 80px;
-	margin-left:65px;
-	margin-top:0px;
-}
-
-div#header-div div.middle-ad {
-	float: left;
-	margin-top: 18px;
-	height: 55px;
-	width: 35%;
-	display: none;
-}
-
-div#header-div div.right-logo {
-	background-image:url("../../../../../../../../../carbon/admin/images/t-right-logo.gif");
-	background-position:right top;
-	background-repeat:no-repeat;
-	height:45px;
-	margin-right:20px;
-	line-height: 0px;
-	margin-top:10px;
-	padding-right:0px;
-	padding-top:5px;
-	color: #fff;
-	font-size: 0px;
-	width: 500px;
-}
-div#header-div div.header-links {
-	margin-top:0px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 35px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-image:url("theme-right-links-bg.gif");
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 6px;
-	padding-bottom: 7px;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-	display:block !important;
-}
-
-div#menu ul.main li.menu-header {
-	background-image:url("theme-menu-header.gif");
-	background-position: top;
-	height: 28px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #EFECF5;
-	border-bottom: solid 1px #C2B7D8;
-	border-top: solid 1px #C2B7D8;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-} 
-
-/* -------------- child no-01 styles -------------- */
-
-div#menu ul.sub li.normal {
-
-}
-
-div#menu ul.sub li a.menu-default {
-} 
-
-/* ----------- child no-01 (disabled) styles ------------------- */
-	
-div#menu ul.sub li a.menu-disabled-link {
-	}
-	
-	div#menu ul.sub li a.menu-disabled-link:hover {
-	} 
-
-/* -------------- child no-02 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li a.menu-default {
-
-}
-
-/* -------------- child no-03 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
-}
-
-/* ------------- footer styles -------------------- */
-
-
-div#footer-div div.footer-content {
-    background-image: url(../../../../../../../../../carbon/admin/images/powered.gif);
-	background-position: right center;
-	background-repeat: no-repeat;
-	margin-right: 10px;
-	
-}
-
-/* ---- login styles ----- */
-
-
-/* --------------- table styles -------------------- */
-
-.tableOddRow{background-color: white;}
-.tableEvenRow{background-color: #EFECF5;}
-
-.button:hover{
-	border:solid 1px #8268A8;
-}
-
-/* =============================================================================================================== */
-
-
-
-.cornerExpand {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-.cornerCollapse {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-/* chanaka */
-
-.form-table td{
-   padding-bottom:5px !important;
-   padding-left:5px !important;
-   padding-top:5px !important;
-   padding-right:10px !important;
-}
-.form-table td div.indented{
-    padding-left:7px !important;
-    color:#595959 !important;
-}
-.form-table-left{
-width:100px;
-}
-
-.longTextField{
-width:270px;
-}
-.rowAlone{
-padding-top:10px;
-padding-bottom:10px;
-}
-.tabedBox{
-border:solid 1px #cccccc;
-margin-left:10px;
-padding:10px;
-margin-bottom:10px;
-}
-/* chanaka end */
-
-a.fact-selector-icon-link {
-    background-repeat: no-repeat;
-    background-position: left top;
-    padding-left: 20px;
-    line-height: 17px;
-    height: 17px;
-    float: left;
-    position: relative;
-    margin-left: 10px;
-    margin-top: 5px;
-    margin-bottom: 3px;
-    white-space: nowrap;
-}
-table#main-table td#middle-content {
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/powered-stratos.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/powered-stratos.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/powered-stratos.gif
deleted file mode 100755
index 6597d26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/powered-stratos.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/right-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/right-logo.gif
deleted file mode 100755
index e6c3d13..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-header-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-header-bg.gif
deleted file mode 100755
index 99add93..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-header-region-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-header-region-bg.gif
deleted file mode 100755
index 7cc3f52..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-header-region-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-header.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-header.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-header.gif
deleted file mode 100755
index 84bb42e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-header.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-panel-l-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-panel-l-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-panel-l-bg.gif
deleted file mode 100755
index a6c268f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-panel-l-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-table-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-table-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-table-bg.gif
deleted file mode 100755
index 213819a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-menu-table-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-right-links-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-right-links-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-right-links-bg.gif
deleted file mode 100755
index 0a2e51a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/admin/theme-right-links-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/thumb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/thumb.png b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/thumb.png
deleted file mode 100755
index 7db90a6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Dark/thumb.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-body-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-body-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-body-bg.gif
deleted file mode 100755
index 5db1464..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-body-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-header-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-header-bg.gif
deleted file mode 100755
index 758363d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-header-region-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-header-region-bg.gif
deleted file mode 100755
index 935ee9e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/def-header-region-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/logo.gif
deleted file mode 100755
index 813e625..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/main.css b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/main.css
deleted file mode 100755
index 252266e..0000000
--- a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/main.css
+++ /dev/null
@@ -1,229 +0,0 @@
-/* ---------------- template styles ------------------------- */
-body {
-	background-image: url( def-body-bg.gif);
-	background-position: left top;
-	background-repeat: repeat-x;
-}
-
-table#main-table td#header {
-	background-image: url( def-header-region-bg.gif);
-	background-position: right top;
-	background-repeat: no-repeat;
-}
-
-table#main-table td#menu-panel {
-	border-right: solid 0px #78BDE8;
-	padding-right: 10px;
-}
-
-table#main-table td#menu-panel table#menu-table {
-	background-image: none;
-	background-position:left bottom;
-	background-repeat:no-repeat;
-}
-table#main-table td#menu-panel table#menu-table {
-	background-image: none;
-	background-position:left bottom;
-	background-repeat:no-repeat;
-	border-right:1px solid #B6D8F2;
-	border-bottom:1px solid #B6D8F2;
-}
-table#main-table td#menu-panel table#menu-table tbody tr td img {
-	height: 17px;
-}
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( def-header-bg.gif);
-    height: 121px;
-}
-
-div#header-div div.left-logo {
-	background-image:url("logo.gif");
-	background-position:left center;
-	height:50px;
-	margin-left:50px;
-	margin-top:37px;
-}
-
-div#header-div div.middle-ad {
-	float: left;
-	margin-top: 18px;
-	height: 55px;
-	width: 35%;
-	display:none;
-}
-
-div#header-div div.right-logo {
-	background-image:url("../../../../../../../../../carbon/admin/images/t-right-logo.gif");
-	background-position:right top;
-	background-repeat:no-repeat;
-	color:#B6D8F2;
-	font-size:0;
-	height:45px;
-	line-height:0;
-	margin-right:20px;
-	margin-top:20px;
-	padding-right:0;
-	padding-top:5px;
-	width:500px;
-}
-div#header-div div.header-links {
-	margin-top: 8px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 20px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-image: none;
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 6px;
-	padding-bottom: 7px;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-	display: block !important;
-}
-
-div#menu ul.main li.menu-header {
-	background-image:none;
-	background-position:center top;
-	border-top: 1px solid #CFE3F6;
-	border-bottom:1px solid #78BDE8;
-	height:25px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #DAF0FC;
-	border-bottom: solid 1px #72CDF4;
-	border-top: solid 1px #72CDF4;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-} 
-
-/* -------------- child no-01 styles -------------- */
-
-div#menu ul.sub li.normal {
-
-}
-
-div#menu ul.sub li a.menu-default {
-} 
-
-/* ----------- child no-01 (disabled) styles ------------------- */
-	
-div#menu ul.sub li a.menu-disabled-link {
-	}
-	
-	div#menu ul.sub li a.menu-disabled-link:hover {
-	} 
-
-/* -------------- child no-02 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li a.menu-default {
-
-}
-
-/* -------------- child no-03 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
-}
-
-/* ------------- footer styles -------------------- */
-
-div#footer-div div.footer-content {
-    background-image: url(../../../../../../../../../carbon/admin/images/powered.gif);
-	background-position: right center;
-	background-repeat: no-repeat;
-	margin-right: 10px;
-}
-
-div#middle {
-	background-color: #fff;
-}
-
-/* ---- login styles ----- */
-
-
-/* --------------- table styles -------------------- */
-
-.tableOddRow{background-color: white;}
-.tableEvenRow{background-color: #EFECF5;}
-
-.button:hover{
-	border:solid 1px #8268A8;
-}
-
-/* =============================================================================================================== */
-
-
-
-.cornerExpand {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-.cornerCollapse {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-/* chanaka */
-
-.form-table td{
-   padding-bottom:5px !important;
-   padding-left:5px !important;
-   padding-top:5px !important;
-   padding-right:10px !important;
-}
-.form-table td div.indented{
-    padding-left:7px !important;
-    color:#595959 !important;
-}
-.form-table-left{
-width:100px;
-}
-
-.longTextField{
-width:270px;
-}
-.rowAlone{
-padding-top:10px;
-padding-bottom:10px;
-}
-.tabedBox{
-border:solid 1px #cccccc;
-margin-left:10px;
-padding:10px;
-margin-bottom:10px;
-}
-/* chanaka end */
-
-table#main-table td#middle-content {
-	background-color: #fff;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/powered-stratos.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/powered-stratos.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/powered-stratos.gif
deleted file mode 100755
index 6597d26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/powered-stratos.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/right-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/right-logo.gif
deleted file mode 100755
index f118904..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/admin/right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/thumb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/thumb.png b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/thumb.png
deleted file mode 100755
index 46fc8e6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Default/thumb.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/logo.gif
deleted file mode 100755
index 196b81f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/main.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/main.css b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/main.css
deleted file mode 100755
index baf34f0..0000000
--- a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/main.css
+++ /dev/null
@@ -1,229 +0,0 @@
-/* ---------------- template styles ------------------------- */
-
-table#main-table td#header {
-	background-image: url( theme-header-region-bg.gif);
-}
-
-table#main-table td#menu-panel {
-	border-right: solid 0px #73559D;
-	background-image: url(theme-menu-panel-l-bg.gif);
-	background-position: left top;
-	background-repeat: no-repeat;
-	padding-left: 0;
-	background-color: #F4F4F4;
-}
-
-table#main-table td#menu-panel table#menu-table {
-	background-image:url("theme-menu-table-bg.gif");
-	background-position:left bottom;
-	background-repeat:no-repeat;
-}
-table#main-table td#menu-panel table#menu-table td {
-	padding-left: 6px;
-	padding-right:16px;
-}	
-table#main-table td#menu-panel table#menu-table tbody tr td img {
-	height: 17px;
-}
-/* ---------------- header styles ------------------ */
-div#header-div {
-    background-image: url( theme-header-bg.gif);
-    height: 103px;
-}
-
-div#header-div div.left-logo {
-	background-image: url( logo.gif );
-	background-position: left center;
-	height: 80px;
-	margin-left:65px;
-	margin-top:0px;
-}
-
-div#header-div div.middle-ad {
-	float: left;
-	margin-top: 18px;
-	height: 55px;
-	width: 35%;
-	display:none;
-}
-
-div#header-div div.right-logo {
-	background-image:url("../../../../../../../../../carbon/admin/images/t-right-logo.gif");
-	background-position:right top;
-	background-repeat:no-repeat;
-	height:45px;
-	margin-right:20px;
-	line-height: 0px;
-	margin-top:10px;
-	padding-right:0px;
-	padding-top:5px;
-	color: #fff;
-	font-size: 0px;
-    	width:500px;
-}
-div#header-div div.header-links {
-	margin-top:-10px;
-}
-div#header-div div.header-links div.right-links {
-	margin-right: 0px;
-	height: 35px;
-	padding-top: 0px;
-}
-div#header-div div.header-links div.right-links ul {
-	background-position:left top;
-	background-repeat:repeat-x;
-	padding-left: 25px;
-	padding-right: 15px;
-	padding-top: 6px;
-	padding-bottom: 7px;
-}
-/* ------------- menu styles ---------------------- */
-div#menu {
-}
-
-div#menu ul.main {
-}
-
-div#menu ul.main li {
-}
-
-div#menu ul.main li.normal {
-}
-
-div#menu ul.main li a.menu-home {
-	display:block !important;
-}
-
-div#menu ul.main li.menu-header {
-	background-position: top;
-	height: 28px;
-}
-
-div#menu ul.main li a.menu-default {
-}
-
-div#menu ul.main li a.menu-default:hover {
-	background-color: #EFECF5;
-	border-bottom: solid 1px #C2B7D8;
-	border-top: solid 1px #C2B7D8;
-	color: #00447C;
-}
-
-div#menu ul.sub {
-} 
-
-/* -------------- child no-01 styles -------------- */
-
-div#menu ul.sub li.normal {
-
-}
-
-div#menu ul.sub li a.menu-default {
-} 
-
-/* ----------- child no-01 (disabled) styles ------------------- */
-	
-div#menu ul.sub li a.menu-disabled-link {
-	}
-	
-	div#menu ul.sub li a.menu-disabled-link:hover {
-	} 
-
-/* -------------- child no-02 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li a.menu-default {
-
-}
-
-/* -------------- child no-03 styles -------------- */
-
-div#menu ul.sub li.normal ul.sub li.normal ul.sub li a.menu-default {
-}
-
-/* ------------- footer styles -------------------- */
-
-
-div#footer-div div.footer-content {
-    background-image: url(../../../../../../../../../carbon/admin/images/powered.gif);
-	background-position: right center;
-	background-repeat: no-repeat;
-	margin-right: 10px;
-}
-
-/* ---- login styles ----- */
-
-
-/* --------------- table styles -------------------- */
-
-.tableOddRow{background-color: white;}
-.tableEvenRow{background-color: #EFECF5;}
-
-.button:hover{
-	border:solid 1px #8268A8;
-}
-
-/* =============================================================================================================== */
-
-
-
-.cornerExpand {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-.cornerCollapse {
-    position: relative;
-    top: 3px;
-    left: -12px;
-    cursor: pointer;
-}
-
-/* chanaka */
-
-.form-table td{
-   padding-bottom:5px !important;
-   padding-left:5px !important;
-   padding-top:5px !important;
-   padding-right:10px !important;
-}
-.form-table td div.indented{
-    padding-left:7px !important;
-    color:#595959 !important;
-}
-.form-table-left{
-width:100px;
-}
-
-.longTextField{
-width:270px;
-}
-.rowAlone{
-padding-top:10px;
-padding-bottom:10px;
-}
-.tabedBox{
-border:solid 1px #cccccc;
-margin-left:10px;
-padding:10px;
-margin-bottom:10px;
-}
-/* chanaka end */
-
-a.fact-selector-icon-link {
-    background-repeat: no-repeat;
-    background-position: left top;
-    padding-left: 20px;
-    line-height: 17px;
-    height: 17px;
-    float: left;
-    position: relative;
-    margin-left: 10px;
-    margin-top: 5px;
-    margin-bottom: 3px;
-    white-space: nowrap;
-}
-table#main-table td#middle-content {
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/menu_header.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/menu_header.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/menu_header.gif
deleted file mode 100755
index 6887ec4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/menu_header.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/powered-stratos.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/powered-stratos.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/powered-stratos.gif
deleted file mode 100755
index 6597d26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/powered-stratos.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/right-links-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/right-links-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/right-links-bg.gif
deleted file mode 100755
index ba9d5d0..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/right-links-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/right-logo.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/right-logo.gif
deleted file mode 100755
index e6c3d13..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-bg.gif
deleted file mode 100755
index 4d47044..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-region-b-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-region-b-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-region-b-bg.gif
deleted file mode 100755
index 463b157..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-region-b-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-region-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-region-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-region-bg.gif
deleted file mode 100755
index 57a2ec1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-header-region-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-menu-panel-l-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-menu-panel-l-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-menu-panel-l-bg.gif
deleted file mode 100755
index bafb43a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-menu-panel-l-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-menu-table-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-menu-table-bg.gif b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-menu-table-bg.gif
deleted file mode 100755
index 9582772..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/admin/theme-menu-table-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/thumb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/thumb.png b/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/thumb.png
deleted file mode 100755
index 6dba1ff..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/allthemes/Light/thumb.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/appserver.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/appserver.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/appserver.gif
deleted file mode 100755
index b760eb0..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/appserver.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/bam.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/bam.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/bam.gif
deleted file mode 100755
index 264f289..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/bam.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/bps.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/bps.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/bps.gif
deleted file mode 100755
index 1cd9d5e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/bps.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/brs-old.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/brs-old.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/brs-old.gif
deleted file mode 100755
index c5a7dd8..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/brs-old.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/brs.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/brs.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/brs.gif
deleted file mode 100755
index 38f20e3..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/brs.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/cep.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/cep.png b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/cep.png
deleted file mode 100755
index 3a481b1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/cep.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/cg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/cg.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/cg.gif
deleted file mode 100755
index 1e8ad73..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/cg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/csg-inactive.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/csg-inactive.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/csg-inactive.gif
deleted file mode 100755
index 00d542c..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/csg-inactive.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/csg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/csg.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/csg.gif
deleted file mode 100755
index df9da9f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/csg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ds.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ds.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ds.gif
deleted file mode 100755
index 5721908..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/ds.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/esb.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/esb.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/esb.gif
deleted file mode 100755
index bb43e99..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/esb.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/gadget.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/gadget.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/gadget.gif
deleted file mode 100755
index 55b41de..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/gadget.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/governance.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/governance.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/governance.gif
deleted file mode 100755
index f9dfce4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/governance.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/identity.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/identity.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/identity.gif
deleted file mode 100755
index 40f1fb7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/identity.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-appserver.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-appserver.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-appserver.gif
deleted file mode 100755
index 2e7b33f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-appserver.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-bam.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-bam.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-bam.gif
deleted file mode 100755
index 2401c11..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-bam.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-brs.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-brs.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-brs.gif
deleted file mode 100755
index 3e29688..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-brs.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-cep.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-cep.png b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-cep.png
deleted file mode 100755
index e454bab..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-cep.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-esb.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-esb.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-esb.gif
deleted file mode 100755
index 8ae52bc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-esb.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-gadget.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-gadget.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-gadget.gif
deleted file mode 100755
index 243f893..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-gadget.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-governance.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-governance.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-governance.gif
deleted file mode 100755
index fba1531..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-governance.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-identity.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-identity.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-identity.gif
deleted file mode 100755
index 6f5e1be..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-identity.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-mashup.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-mashup.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-mashup.gif
deleted file mode 100755
index 17c74c4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-mashup.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-mb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-mb.png b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-mb.png
deleted file mode 100755
index 275136b..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/inactive-mb.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/mashup.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/mashup.gif b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/mashup.gif
deleted file mode 100755
index 58d91af..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/mashup.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/mb.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/mb.png b/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/mb.png
deleted file mode 100755
index 928c95e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/resources/cloud-services-icons/mb.png and /dev/null differ


[33/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-01-icon.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-01-icon.gif
deleted file mode 100644
index ff3ba26..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-01-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-02-icon.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-02-icon.gif
deleted file mode 100644
index ee4cb66..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-02-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-03-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-03-icon.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-03-icon.gif
deleted file mode 100644
index 8f3c2a1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/feature-03-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/google-apps-login.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/google-apps-login.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/google-apps-login.gif
deleted file mode 100644
index 6eb5c9b..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/google-apps-login.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/link-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/link-icon.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/link-icon.gif
deleted file mode 100644
index 5598f59..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/link-icon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/login-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/login-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/login-bg.gif
deleted file mode 100644
index 3f34a69..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/login-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/logo.gif
deleted file mode 100755
index 837f813..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix-1.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix-1.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix-1.gif
deleted file mode 100644
index 439f27d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix-1.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix.gif
deleted file mode 100644
index 439f27d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/paas-login-1pix.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/powered.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/powered.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/powered.gif
deleted file mode 100755
index fb478bf..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/powered.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/reg-button-hover.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/reg-button-hover.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/reg-button-hover.gif
deleted file mode 100644
index 89f2c54..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/reg-button-hover.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/reg-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/reg-button.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/reg-button.gif
deleted file mode 100644
index 5d8e2e4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/reg-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/register.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/register.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/register.gif
deleted file mode 100755
index f225e38..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/register.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-body-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-body-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-body-bg.gif
deleted file mode 100755
index dc2c240..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-body-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-content-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-content-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-content-bg.gif
deleted file mode 100755
index 9624125..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-content-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-footer-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-footer-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-footer-bg.gif
deleted file mode 100755
index dc317e5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-footer-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-header-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-header-bg.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-header-bg.gif
deleted file mode 100755
index bd228c9..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/st-login-header-bg.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/t-right-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/t-right-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/t-right-logo.gif
deleted file mode 100644
index 0c13371..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/images/t-right-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/js/login.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/js/login.js b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/js/login.js
deleted file mode 100644
index 6033803..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/js/login.js
+++ /dev/null
@@ -1,27 +0,0 @@
-
-function getDomainFromUserName() {
-    var tenantDomain = "";
-    var userName = document.getElementById("txtUserName").value;
-    if (userName != null) {
-        atIndex = userName.lastIndexOf('@');
-        if (atIndex != -1) {
-            tenantDomain = userName.substring(atIndex + 1, userName.length);
-        }
-    }
-    return tenantDomain;
-}
-
-
-function getTenantAwareUserName() {
-    var userName = document.getElementById("txtUserName").value;
-    if (userName != null) {
-        atIndex = userName.lastIndexOf('@');
-        if (atIndex != -1) {
-            userName = userName.substring(0, atIndex);
-        }
-    }
-    return userName;
-}
-
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/login_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/login_ajaxprocessor.jsp b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/login_ajaxprocessor.jsp
deleted file mode 100644
index 88788c4..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/login_ajaxprocessor.jsp
+++ /dev/null
@@ -1,345 +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.
- -->
-<%@ page import="org.wso2.carbon.CarbonConstants" %>
-
-<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
-<%@ page import="org.wso2.carbon.utils.multitenancy.MultitenantConstants" %>
-
-<%--Copyright 2004 The Apache Software Foundation
-
-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.
---%>
-
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib prefix="carbon" uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" %>
-
- 
-
-<!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>
-    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
-    <title>WSO2 Stratos Manager</title>
-    <link href="../admin/css/global.css" rel="stylesheet" type="text/css" media="all"/>
-    <link href="../styles/css/main.css" rel="stylesheet" type="text/css" media="all"/>
-
-    <link href="../dialog/css/jqueryui/jqueryui-themeroller.css" rel="stylesheet" type="text/css"
-          media="all"/>
-    <link href="../dialog/css/dialog.css" rel="stylesheet" type="text/css" media="all"/>
-    <link rel="icon" href="../admin/images/favicon.ico" type="image/x-icon"/>
-    <link rel="shortcut icon" href="../admin/images/favicon.ico" type="image/x-icon"/>
-
-    <script type="text/javascript" src="../admin/js/jquery.js"></script>
-    <script type="text/javascript" src="../admin/js/jquery.form.js"></script>
-    <script type="text/javascript" src="../dialog/js/jqueryui/jquery-ui.min.js"></script>
-
-    <script type="text/javascript" src="../admin/js/main.js"></script>
-    <script type="text/javascript" src="../admin/js/WSRequest.js"></script>
-    <script type="text/javascript" src="../admin/js/cookies.js"></script>
-    <script type="text/javascript" src="../tenant-login/js/login.js"></script>
-    <script type="text/javascript" src="../ajax/js/prototype.js"></script>
-
-</head>
-
-<body>
-<div id="dcontainer"></div>
-<script type="text/javascript" src="../dialog/js/dialog.js"></script>
-
-<%
-    String registerPath = "../tenant-register/select_domain.jsp";
-    String forgotPasswordPath = "../admin-mgt/forgot_password.jsp";
-    //register path changes if the tenant is in others domain
-    if (request.getAttribute(MultitenantConstants.TENANT_DOMAIN) != null) {
-        registerPath = "/carbon/tenant-register/select_domain.jsp";
-    }
-
-    if("true".equals(session.getAttribute("domain-validation-success"))) {
-        session.removeAttribute("domain-validation-success");
-        %>
-
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showWarningDialog("You have succesfully validated your domain name. " + 
-            "Please re-login to your account to continue working.");
-        });
-    </script>
-<%
-    }
-    if("true".equals(session.getAttribute("temp-email-verfication"))){
-        session.removeAttribute("temp-email-verfication");
-        %>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showWarningDialog('Please login to your email and confirm the given email to proceed with the registration.');
-        });
-    </script>
-<%
-    }
-    String tenantdomain = (String)request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-
-    if ("true".equals(session.getAttribute("temp-suffixed-trial"))) {
-        session.removeAttribute("temp-suffixed-trial");
-%>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            // we know the tenant domain 
-            var newTenantDomain = "<%=tenantdomain%>";
-            var exitCode = function() {
-                var redirectUrl = "/t/" + newTenantDomain + "/carbon/admin/login.jsp";
-                window.location.href = redirectUrl;
-            };
-            CARBON.showWarningDialog("The domain name of your account is renamed to " + newTenantDomain + " "  +
-                      "as the ownership of the domain is not confirmed. You can login to the account under the " +
-                      "changed domain name and confirm the ownership of your domain from the 'Account management' page", exitCode, exitCode);
-        });
-    </script>    
-<%
-    }
-
-    String tip = "";
-    if(tenantdomain == null){
-        tenantdomain = "";
-        tip = "Enter the username in the format: user  name@yourdomain, Example: foo@abc.com";
-    }
-    else{
-        tenantdomain = "@" + tenantdomain;
-    }
-    String userForumURL = (String) config.getServletContext().getAttribute(CarbonConstants.PRODUCT_XML_WSO2CARBON + CarbonConstants.PRODUCT_XML_USERFORUM);
-    String userGuideURL = (String) config.getServletContext().getAttribute(CarbonConstants.PRODUCT_XML_WSO2CARBON + CarbonConstants.PRODUCT_XML_USERGUIDE);
-    String mailinglistURL = (String) config.getServletContext().getAttribute(CarbonConstants.PRODUCT_XML_WSO2CARBON + CarbonConstants.PRODUCT_XML_MAILINGLIST);
-    String issuetrackerURL = (String) config.getServletContext().getAttribute(CarbonConstants.PRODUCT_XML_WSO2CARBON + CarbonConstants.PRODUCT_XML_ISSUETRACKER);
-    if (userForumURL == null) {
-        userForumURL = "#";
-    }
-    if (userGuideURL == null) {
-        userGuideURL = "#";
-    }
-    if (mailinglistURL == null) {
-        mailinglistURL = "#";
-    }
-    if (issuetrackerURL == null) {
-        issuetrackerURL = "#";
-    }
-%>
-<fmt:bundle basename="org.wso2.carbon.i18n.Resources">
-    <%
-        String loginStatus = request.getParameter("loginStatus");
-        if (loginStatus != null && "false".equalsIgnoreCase(loginStatus)) {
-    %>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showWarningDialog('<fmt:message key="login.fail.message"/>');
-        });
-    </script>
-    <%
-        }
-                                          
-        if (loginStatus != null && "failed".equalsIgnoreCase(loginStatus)) {
-    %>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showWarningDialog('<fmt:message key="login.fail.message"/>');
-        });
-    </script>
-    <%
-        }
-        String backendURL = CarbonUIUtil.getServerURL(config.getServletContext(), session);
-    %>
-    <%--New page design begings--%>
-    <link rel="stylesheet" type="text/css" href="../tenant-login/css/loginpage.css"/>
-		<div id="login-content">
-					<div class="main-text">
-						WSO2 Stratos deploys the powerful WSO2 Carbon platform as Platform-as-a-Service on cloud infrastructure, thereby providing all the advantages expected from the cloud: world-class time-to-market, optimum resource utilization and automatic governance and monitoring.
-					</div>
-					<div class="clear"></div>
-					<div class="feature feature-left">
-						<img src="../tenant-login/images/feature-01-icon.gif"/>
-						<h2>Elasticity</h2>
-						<p>
-							Stratos manages your underlying cloud infrastructure to seamlessly handle the scalability demands of your application. 
-						</p>
-					</div>
-					<div class="feature">
-						<img src="../tenant-login/images/feature-02-icon.gif"/>
-						<h2>Multi-tenancy</h2>
-						<p>
-							Departments, developer groups, or projects run fully independently, but share the same middleware platform for maximum resource utilization. 
-						</p>
-					</div>
-					<div class="feature">
-					 	<img src="../tenant-login/images/feature-03-icon.gif"/>
-						<h2>Self Provisioning</h2>
-						<p>
-							Authorized users can provision new tenants from a web portal in moments.
-						</p>
-					</div>
-					<div class="clear"></div>
-							<a class="register-button" href="<%=registerPath%>">Get Started Now for FREE!</a>
-				       	<table class="adv">
-						<tr>
-						<td>
-
-			                                <h2 class="stratos-Signin"><fmt:message key="sign.in"/></h2>
-			                                <div class="sign-in-box">
-			                                    <table style="width:100%">
-			    `                                   <tr>
-			                                            <td class="user_pass_td">
-			                                                <h3>Login Using Username & Password</h3>
-			
-			                                                <form action='../admin/login_action.jsp' method="POST" target="_self">
-		                                    			<!-- making the backend url a hidden text box -->
-		                                    			<input type="hidden" id="txtbackendURL" name="backendURL" class="user" tabindex="1" value="<%=backendURL%>"/>
-			                                                    <table class="user_pass_table">
-			                                                    <tr>
-											<td><label for="txtUserName"><fmt:message key="username"/></label></td>
-											<td><input type="text" id="txtUserName" name="username" tabindex="1"/> <%=tenantdomain%></td>
-										</tr>
-										<tr>
-											<td></td>
-											<td><%=tip%></td>
-										</tr>
-										<tr>
-											<td><label for="txtPassword"><fmt:message key="password"/></label></td>
-											<td><input type="password" id="txtPassword" name="password" tabindex="2"/></td>
-										</tr>
-										<tr>
-											<td></td>
-											<td><input type="submit" value="<fmt:message key="sign.in"/>" tabindex="3"/></td>
-										</tr>
-										<%
-										if (registerPath != null) {
-										%>
-										                                <tr>
-										                                    <td colspan="2">
-										                                        If your organization doesn't have an account, please <a href="<%=registerPath%>" alt="Go To Register Page">register</a>.
-										                                    </td>
-										                                </tr>
-										<%
-										}
-										%>
-										<tr>
-			                                                            <td colspan="2"><a tabindex="4" href="../tenant-login/docs/userguide.html" target="_blank" class="help"><fmt:message key="sign.in.help"/></a>&nbsp;|&nbsp;<a tabindex="5" class="help" href="<%=forgotPasswordPath%>" target="_blank" class="password">Forgot Password</a></td>
-			                                                        </tr>
-			                                                    </table>
-                                                    
-
-                                                    			</form>
-                                            			</td>
-                                        			<td class="google-app-td">
-			                                            <h3>Or login using Google Apps Account</h3>
-			
-			                                            <img alt="Google App Account"
-			                                                 src="../tenant-login/images/google-apps-login.gif"
-			                                                 onclick="showHidePanel()"/>
-			
-			                                            <div id="loginBoxGoogle">
-			                                                <div class="help_txt"> Enter Google App domain</div>
-			                                                <form action="../relyingparty/openid.jsp" name="googleAppLogin"
-			                                                      method="POST">
-			                                                    <table class="styledLeft noBorders">
-			                                                        <tbody>
-			                                                        <tr>
-			                                                            <td><input type="text" name="gAppDomainOpenId"
-			                                                                       tabindex="3"/></td>
-			                                                            <td><input type="button" class="button" value="GO" style="background-image:none"
-			                                                                       onclick="document.googleAppLogin.submit()"/></td>
-			                                                        </tr>
-			                                                        </tbody>
-			                                                    </table>
-			                                                </form>
-			                                            </div>
-			                                            <script type="text/javascript">
-			                                                function showHidePanel() {
-			                                                    jQuery('#loginBoxGoogle').slideToggle("fast");
-			                                                }
-			                                                jQuery(document).ready(function() {
-			                                                    jQuery('#loginBoxGoogle').hide();
-			                                                    document.getElementById('txtUserName').focus();
-			                                                });
-			
-			                                            </script>
-                                        			</td>
-                                    				</tr>
-                                    			</table>
-                                			</div>
-						</td>
-						</tr>
-					</table>
-				<div class="clear"></div>
-				<div id="footer">
-					<div class="powered">
-						<span>Powered by</span><a target="_blank" href="http://wso2.org/projects/stratos"><img src="../tenant-login/images/powered.gif"/></a>
-					</div>
-					&copy; appserver.stratoslive.wso2.com copyright 2010 WSO2, Inc. &nbsp;
-					<a target="_blank" href="http://www.wso2.com/cloud/services/terms-of-use">Terms of Service</a>
-					|
-					<a target="_blank"  href="http://www.wso2.com/cloud/services/privacy-policy">Privacy Policy</a>
-					|
-					<a target="_blank"  href="http://www.wso2.com/cloud/services/support">Support</a>
-				</div>
-			</div>
-
-
-
-
-		
-    <script type="text/javascript">
-
- function checkform()
-{
-    var username=document.getElementById('txtUserName').value;
-    username=username.trim();
-    document.getElementById('txtUserName').value=username;
-    return true;
-}                 
- String.prototype.trim = function ()
- {
-     return this.replace(/^\s*/, "").replace(/\s*$/, "");
- }
-
-        function init(loginStatus) {
-            // intialize the code and call to the back end
-            /*wso2.wsf.Util.initURLs();*/
-            /*Initialize the XSLT cache*/
-            /*wso2.wsf.XSLTHelper.init();*/
-
-            if (loginStatus == 'true') {
-            } else if (loginStatus == 'null') {
-            } else if (loginStatus == 'false') {
-                wso2.wsf.Util.alertWarning("Login failed. Please recheck the username and password and try again")
-            }
-        }
-        document.getElementById('txtUserName').focus();
-    </script>
-
-</fmt:bundle>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/policy.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/policy.html b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/policy.html
deleted file mode 100644
index b4358e0..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/policy.html
+++ /dev/null
@@ -1,71 +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.
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-
-<head><title>Governance.stratoslive.wso2.com - Privacy Policy</title>
-<link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" /></head>
-
-<body>
-
-<h1>Governance.stratoslive.wso2.com - Privacy Policy</h1>
-
-<p>Governance.stratoslive.wso2.com takes your privacy seriously. Please read the following to learn more about our privacy policy.</p>
-
-<p>INFORMATION COLLECTION AND USE</p>
-
-<ul><li><p>When you register with Governance.stratoslive.wso2.com we ask for personal information such as your name, email address, and
-       biographical information.  When you sign into Governance.stratoslive.wso2.com using your account, you are not anonymous to us.</p></li><li><p>Governance.stratoslive.wso2.com may collect information about your activities on the site from your computer and browser,
-        including your IP address, Governance.stratoslive.wso2.com cookie information, your software and hardware attributes, and the
-        content you access on our site.</p></li><li><p>Governance.stratoslive.wso2.com may use this information to customize content you see, to fulfil request for products or
-        services, to improve our services, and to provide anonymous reporting to internal and external clients.</p></li><li><p>Governance.stratoslive.wso2.com may also use this information to contact you or to conduct research.</p></li></ul><br>
-
-<p>INFORMATION DISCLOSURE</p>
-
-<p>Governance.stratoslive.wso2.com does not rent, sell or share personal information about you with others except to provide products or
-    services that you've requested, unless:</p>
-    <ul><li><p>You or your legal guardian authorize to do so.</p></li><li><p>The information is shared under a confidentiality agreement with a partner for the purpose of communicating
-        with you about Governance.stratoslive.wso2.com offers.  These partners are prohibited from sharing your information with others.</p></li><li><p>The information is requested under subpoena, court order or legal process.</p></li><li><p>The information is needed to establish or exercise our legal rights or defend against legal claims.</p></li><li><p>We believe the information is needed to investigate, prevent, or take action against illegal activities, violations
-        of our Terms of Service, or as otherwise required by law.</p></li><li><p>Governance.stratoslive.wso2.com or its owner WSO2, Inc. is acquired or merged with another company.  Governance.stratoslive.wso2.com will make efforts to
-            announce any such change of ownership and any consequent change of privacy policy.</p></li></ul>
-
-    <p>Governance.stratoslive.wso2.com may set and access Governance.stratoslive.wso2.com cookies on your computer.</p><p><br></p><p><br></p>
-
-<p>CHANGING PERSONAL INFORMATION</p>
-
-<p>You can change or delete your Governance.stratoslive.wso2.com account profile at any time.</p>   <p><br></p>
-
-<p>CONFIDENTIALITY AND SECURITY</p>
-
-<ul><li><p>Access to personal information about you is limited to WSO2 employees who we believe reasonably need to
-   access that information in order to maintain Governance.stratoslive.wso2.com, to fulfill services you've requested, or to
-   otherwise do their jobs.</p></li><li><p>Governance.stratoslive.wso2.com takes precautions to secure personal information against accidental or malicious release.</p></li></ul><p><br></p>
-
-<p>CHANGES TO THIS PRIVACY POLICY</p>
-
-<p>Governance.stratoslive.wso2.com may update this policy at any time.  We will notify you of significant changes in the policy by sending a
-notice to the email address associated with each account or by placing a prominent notice on our site.</p>
-
-<p>If you have questions or suggestions about our privacy policy, please contact Support.</p><p><br></p>
-
-        <p><i>Effective 1st November 2009</i></p>
-
-
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/support.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/support.html b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/support.html
deleted file mode 100644
index 50dba02..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/support.html
+++ /dev/null
@@ -1,38 +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.
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-    <title>Governance.stratoslive.wso2.com - Support</title>
-    <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-<div id="text-content">
-        <h1>Governance.stratoslive.wso2.com - Support</h1>
-
-        <p>Visit <a href="http://wso2.com/cloud/services/governance">http://wso2.com/cloud/services/governance</a> for more details about the Governance as as Service (GaaS) support.</p>
-        <p>For support with technical aspects of Governance.stratoslive.wso2.com or Governance Registry instance, visit the
-            <a href="http://wso2.org/forum/351">Governance Registry Forum</a>.</p>
-
-        <p>If you have suggestions on how to improve Governance.stratoslive.wso2.com or found bugs, please let us know in the registry user mailing list, <a href="mailto:registry-user@wso2.org">registry-user@wso2.org</a>.</p>
-
-    </div>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/terms.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/terms.html b/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/terms.html
deleted file mode 100644
index e5cb5d8..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/login/src/main/resources/web/tenant-login/terms/terms.html
+++ /dev/null
@@ -1,73 +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.
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-
-<head><title>Governance.stratoslive.wso2.com - Terms of Service</title>
-<link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" /></head>
-
-<body>
-
-<h1>Governance.stratoslive.wso2.com - Terms of Service</h1>
-
-<p>THE FOLLOWING TERMS AND CONDITIONS ARE APPLIED TO GOVERNANCE.CLOUD.WSO2.COM ACCOUNTS</p>
-<p><br></p>
-<p>1. ACCEPTANCE OF GOVERNANCE.CLOUD.WSO2.COM TERMS</p>
-
-<p>Welcome to Governance.stratoslive.wso2.com! By requesting a membership account on Governance.stratoslive.wso2.com, you agree to these terms. WSO2 Inc. (WSO2), as the owner of Governance.stratoslive.wso2.com, reserves the right to update and change these Terms and all documents incorporated by reference at any time. You can always find the most recent version of the Terms at http://www.Governance.stratoslive.wso2.com/carbon/tenant-login/terms/terms.html.</p>
-<p><br></p>
-<p>2. DESCRIPTION OF SERVICE</p>
-<p>2.1 GOVERNANCE.CLOUD.WSO2.COM</p>
-<p>Governance.stratoslive.wso2.com provides members with the ability to store the enterprise metadata in their SOA platform and govern them. WSO2 reserves the right to limit the amount of resources members under a particular domain can upload, the number of users, the roles or permission a domain can have, the available features, and particular accounts based on the processing power they require, the bandwidth they consume, or any other deleterious technical or social side effects it may cause. WSO2 reserves the right to remove or bar a member for any reason.</p>
-<p><br></p>
-
-<p>3. GOVERNANCE.CLOUD.WSO2.COM ACCOUNTS</p>
-<p>To participate in Governance.stratoslive.wso2.com, you must have a valid email address. In consideration of your use of Governance.stratoslive.wso2.com, you agree to: (a) provide true, accurate, current and complete information about yourself and (b) maintain and promptly update the Registration Data to keep it true, accurate, current and complete. If you provide any information that is untrue, inaccurate, not current or incomplete, or WSO2 has reasonable grounds to suspect that such information is untrue, inaccurate, not current or incomplete, WSO2 has the right to suspend or terminate your Governance.stratoslive.wso2.com account and delete any information or content therein without liability to WSO2.</p>
-<p>By providing us with a valid email address you agree that WSO2 may contact you at that address for purposes of managing and maintaining your Governance.stratoslive.wso2.com account. In addition we reserve the right to send announcements regarding Governance.stratoslive.wso2.com and WSO2 products or services to that account. WSO2 will not sell your email address or provide it to third parties without your prior approval.</p>
-<p><br></p>
-<p>4. PAYMENT TERMS</p>
-<p>4.1 General Terms</p>
-<p>Governance.stratoslive.wso2.com beta is currently a free service. WSO2 Inc. retains the right to cease offering free memberships at any time, to transition current accounts to paid subscriptions when the beta period ends, to convert existing features to premium (paid) features, or to introduce new premium features. Users of the beta are under no obligation to subscribe to a paid account, in which case Governance.stratoslive.wso2.com reserves the right to suspend or terminate the member account.</p>
-<p><br></p>
-<p>4.2 Cancellation of Membership</p>
-<p>Memberships can be cancelled online at any time. Any difficulty encountered with deleting a membership account should be addressed to the Governance.stratoslive.wso2.com support group, whose contact information can be found at http://www.Governance.stratoslive.wso2.com/carbon/tenant-login/terms/support.html.</p>
-
-<p><br></p>
-<p>5. GOVERNANCE.CLOUD.WSO2.COM's RESERVATION OF RIGHTS</p>
-<p>WSO2 expressly reserves the right to immediately modify, delete content from, suspend or terminate your account and refuse current or future use of Governance.stratoslive.wso2.com or any other service run by WSO2, if WSO2 in its sole discretion believes you have: (i) violated or tried to violate the rights of others; or (ii) acted inconsistently with the spirit or letter of these Terms of Service. In such event, your Governance.stratoslive.wso2.com account may be suspended or cancelled immediately in our discretion, all the information and content contained within it will be deleted permanently and you will not be entitled to any refund of any of the amounts you've paid for such account. WSO2 accepts no liability for information or content that is deleted.</p>
-<p>WSO2 also reserves the right to cease offering the Governance.stratoslive.wso2.com service, temporarily or permanently, at any time.</p>
-<p><br></p>
-<p>6. INDEMNITY</p>
-<p>You agree to indemnify and hold harmless WSO2, and its subsidiaries, affiliates, officers, agents, or other partners, and employees, from any claim or demand, including reasonable attorneys' fees, made by any third party due to or arising out of your use of and access to Governance.stratoslive.wso2.com, your violation of the Terms of Service, your violation of any rights of another person or entity, or your violation of any applicable laws or regulations.</p>
-<p><br></p>
-<p>7. PRIVACY</p>
-<p>Registration Data and certain other information about you are subject to our Privacy Policy. For more information, see our full privacy policy at http://www.Governance.stratoslive.wso2.com/carbon/tenant-login/privacy.html.</p>
-
-<p><br></p>
-<p>8. AGE REQUIREMENTS FOR USE OF GOVERNANCE.CLOUD.WSO2.COM</p>
-<p>Governance.stratoslive.wso2.com is available for individuals aged 13 years or older. If you are 13 or older but under the age of 18, you should review these terms and conditions with your parent or guardian to make sure that you and your parent or guardian understand and agree to these terms and conditions.</p>
-<p><br></p>
-<p>9. INTELLECTUAL PROPERTY RIGHTS</p>
-<p>Governance.stratoslive.wso2.com provides the capacity to store and host member content, including service meta data (WSDLS, Schemas, Policies), images and other media, and any other document type. By uploading and creating content on Governance.stratoslive.wso2.com, you assert that you are the copyright holder or licensee of that content.</p>
-<p><br></p>
-<p>10. LOCATION OF LAWSUIT</p>
-<p>By agreeing to these Terms of Service you agree in case of a legal dispute to submit to the personal and exclusive jurisdiction of the courts located within the county of Santa Clara, California.</p>
-<p><i>Effective 1st November 2009</i></p>
-    
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/p2-profile-gen/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/p2-profile-gen/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/p2-profile-gen/pom.xml
deleted file mode 100644
index 223d6ae..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/p2-profile-gen/pom.xml
+++ /dev/null
@@ -1,451 +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.stratos2</groupId>
-    	<artifactId>wso2stratos2-parent</artifactId>
-        <version>1.0.0</version>
-	<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2stratos-controller-profile-gen</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos Controller - Profile Generation</name>
-    <url>http://wso2.org</url>
-
-    <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>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.platform.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>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <publishArtifacts>true</publishArtifacts>
-                            <publishArtifactRepository>true</publishArtifactRepository>
-                            <featureArtifacts>
-				<!--**************************************************Manager features start*********************************************-->
-				<!--featureArtifactDef>org.wso2.carbon:org.wso2.carbon.tenant.activity.ui.feature:${stratos.component.version}</featureArtifactDef-->
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.tenant.activity.server.feature:${stratos.component.version}</featureArtifactDef	>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.logging.mgt.feature:4.1.1</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.databridge.datapublisher.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.ntask.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.coordination.core.feature:${carbon.version}</featureArtifactDef>
-				    <!--<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.bam.feature:${carbon.version}</featureArtifactDef>-->
-				    <!-- registry related features-->
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.registry.core.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature:${carbon.version}</featureArtifactDef>
-				    <!-- Features related to Cloud Manger -->
-				    <featureArtifactDef>
-					org.wso2.stratos2:org.wso2.stratos2.feature:${project.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.common.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.usage.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.usage.agent.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.throttling.manager.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.stratos.throttling.agent.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.billing.server.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <featuredArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.rule.service.server.feature:${carbon.version}
-				    </featuredArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.billing.ui.feature:${stratos.component.version}
-				    </featureArtifactDef>
-				    <!-- Security Mgt feature to manage key stores -->
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.security.mgt.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.webapp.mgt.server.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.admin.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.admin.mgt.ui.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.captcha.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <!-- start BAM feature -->
-				    <featureArtifactDef>org.wso2.carbon:org.apache.synapse.wso2.feature:2.1.1-wso2v4</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.task.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.datasource.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.transaction.manager.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.service.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.transport.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.common.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.reporting.server.feature:${carbon.version}</featureArtifactDef>
-				    <!--featureArtifactDef>org.wso2.carbon:org.wso2.carbon.gadget.editor.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.gadget.editor.ui.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.dashboard.dashboardpopulator.server.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.dashboard.server.feature:${carbon.version}</featureArtifactDef-->
-				    <!--  end BAM features -->
-				    <!-- GApp SSO features -->
-
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.identity.core.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <!-- End GApp SSO features -->
-
-				    <!--<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.datasource.feature:${carbon.version}
-				    </featureArtifactDef>-->
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.load.balance.agent.server.feature:${stratos.component.version}
-				    </featureArtifactDef>
-
-				    <!-- Status Monitor Feature. Uncomment, if you want the manager to be used as a Stratos Status Monitor -->
-				    <!--featureArtifactDef>org.wso2.carbon:org.wso2.carbon.status.monitor.feature:${stratos.version}</featurecomponent.ArtifactDef-->
-
-				    <!--Adding sso and registry ui features to make the manager self contained-->
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.stratos.identity.saml2.sso.mgt.feature:${stratos.component.version}
-				    </featureArtifactDef>
-
-				    <featureArtifactDef>
-					org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature:${carbon.version}
-				    </featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.module.mgt.server.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.throttle.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.caching.feature:${carbon.version}</featureArtifactDef>
-				    <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.rm.server.feature:4.0.0</featureArtifactDef>
-				    <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.adc.mgt.feature:${stratos.component.patch.version}
-                                </featureArtifactDef>
-				<featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.cartridge.mgt.ui.feature:${stratos.component.patch.version}
-                                </featureArtifactDef>
-				 <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:${carbon.platform.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature:${carbon.platform.version}
-                                </featureArtifactDef>
-				<!--**************************************************Manager features end*********************************************-->
-
-				
-			</featureArtifacts>
-        	</configuration>
-        	</execution>
-
-		
-
-		<execution>
-			<id>3-p2-profile-generation</id>
-			<phase>package</phase>
-			<goals>
-			    <goal>p2-profile-gen</goal>
-			</goals>
-			<configuration>
-			    <profile>WSO2CarbonProfile</profile>
-			    <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-			    <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>
-				<!--****************************************Manager features start*********************************************--> 
-				<feature>
-				    <id>org.wso2.carbon.registry.ui.menu.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.identity.sso.saml.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.stratos.identity.saml2.sso.mgt.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.logging.mgt.feature.group</id>
-				    <version>4.1.1</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.security.mgt.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.registry.core.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.registry.resource.properties.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.webapp.mgt.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.ntask.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.coordination.core.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-
-				<feature>
-				    <id>org.wso2.stratos2.feature.group</id>
-				    <version>${project.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.common.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<!-- start BAM -->
-				<feature>
-				    <id>org.apache.synapse.wso2.feature.group</id>
-				    <version>2.1.1-wso2v4</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.task.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<!--<feature>
-				    <id>org.wso2.carbon.datasource.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>-->
-				<feature>
-				    <id>org.wso2.carbon.transaction.manager.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.transport.mgt.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.event.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.event.common.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<!--
-						          <feature>
-						              <id>org.wso2.carbon.registry.core.server.feature.group</id>
-						              <version>${carbon.version}</version>
-						          </feature>
-					  -->
-				<!--<feature>
-				    <id>org.wso2.carbon.bam.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>-->
-				<feature>
-				    <id>org.wso2.carbon.admin.mgt.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.admin.mgt.ui.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.captcha.mgt.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-
-				<!-- Status Monitor Feature. Uncomment, if you want the manager to be used as a Stratos Status Monitor -->
-				<!--feature>
-				    <id>org.wso2.carbon.status.monitor.feature.group</id>
-				    <version>${stratos.version}</version>
-				</feature-->
-
-				<!--<feature>
-				    <id>org.wso2.carbon.datasource.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>-->
-				<!--feature>
-				    <id>org.wso2.carbon.gadget.editor.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.gadget.editor.ui.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.dashboard.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature-->
-				<!--end BAM -->
-				<!-- GApp SSO features -->
-				<!--
-					  <feature>
-						              <id>org.wso2.carbon.stratos.gapp.feature.group</id>
-						              <version>${stratos.version}</version>
-						          </feature>
-					  -->
-				
-							
-				<feature>
-				    <id>org.wso2.carbon.identity.core.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.identity.relying.party.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<!--End GApp SSO features -->
-
-				<feature>
-				    <id>org.wso2.carbon.load.balance.agent.server.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.usage.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.usage.agent.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.throttling.manager.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.stratos.throttling.agent.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.billing.server.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.billing.ui.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.rule.service.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<feature>
-				    <id>org.wso2.carbon.reporting.server.feature.group</id>
-				    <version>${carbon.version}</version>
-				</feature>
-				<!--feature>
-				    <id>org.wso2.carbon.tenant.activity.ui.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature-->
-				<feature>
-				    <id>org.wso2.carbon.tenant.activity.server.feature.group</id>
-				    <version>${stratos.component.version}</version>
-				</feature>
-				<feature>
-                                    <id>org.wso2.carbon.adc.mgt.feature.group</id>
-                                    <version>${stratos.component.patch.version}</version>
-                                </feature>
-				<feature>
-                                    <id>org.wso2.carbon.cartridge.mgt.ui.feature.group</id>
-                                    <version>${stratos.component.patch.version}</version>
-                                </feature>
-				 <feature>
-                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
-                                    <version>${carbon.platform.version}</version>
-                                </feature>
-				<!--****************************************Manager features end*********************************************--> 
-               		 </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>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/LICENSE
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/LICENSE b/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/LICENSE
deleted file mode 100644
index 753842b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/NOTICE
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/NOTICE b/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/NOTICE
deleted file mode 100644
index f394d86..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/NOTICE
+++ /dev/null
@@ -1,217 +0,0 @@
-Gitblit
-Copyright 2011 gitblit.com
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-This is an aggregated NOTICE file for the projects included
-in this distribution or linked to by this distribution.
-
----------------------------------------------------------------------------
-Bootstrap
----------------------------------------------------------------------------
-   Bootstrap, released under the
-   Apache Software License, Version 2.0.
-
-   http://twitter.github.com/bootstrap
-
----------------------------------------------------------------------------
-google-code-prettify
----------------------------------------------------------------------------
-   google-code-prettify, released under the
-   Apache Software License, Version 2.0.
-
-   http://code.google.com/p/google-code-prettify
-
----------------------------------------------------------------------------
-Commons Daemon
----------------------------------------------------------------------------
-   Commons Daemon, released under the
-   Apache Software License, Version 2.0.
-
-   http://commons.apache.org/daemon
-   
----------------------------------------------------------------------------
-JGit
----------------------------------------------------------------------------
-   JGit, released under the
-   Eclipse Distribution License 1.0.
-
-   http://eclipse.org/jgit
-   
----------------------------------------------------------------------------
-Apache Wicket
----------------------------------------------------------------------------
-   Apache Wicket, released under the
-   Apache Software License, Version 2.0.
-
-   http://wicket.apache.org
-   
----------------------------------------------------------------------------
-WicketStuff GoogleCharts
----------------------------------------------------------------------------
-   WicketStuff GoogleCharts, released under the
-   Apache Software License, Version 2.0.
-
-   https://github.com/wicketstuff/core/wiki/GoogleCharts   
-   
----------------------------------------------------------------------------
-MarkdownPapers
----------------------------------------------------------------------------
-   MarkdownPapers, released under the
-   Apache Software License, Version 2.0.
-
-   http://markdown.tautua.org
-   
----------------------------------------------------------------------------
-Jetty
----------------------------------------------------------------------------
-   Jetty, released under the
-   Apache Software License, Version 2.0.
-
-   http://eclipse.org/jetty
-
----------------------------------------------------------------------------
-Apache Lucene
----------------------------------------------------------------------------
-   Apache Lucene, released under the
-   Apache Software License, Version 2.0.
-
-   http://lucene.apache.org
-
----------------------------------------------------------------------------
-Groovy
----------------------------------------------------------------------------
-   Groovy, released under the
-   Apache Software License, Version 2.0.
-
-   http://groovy.codehaus.org
-
----------------------------------------------------------------------------
-SLF4J
----------------------------------------------------------------------------
-   SLF4J, released under the
-   MIT/X11 License.
-
-   http://www.slf4j.org
-   
----------------------------------------------------------------------------
-Log4j
----------------------------------------------------------------------------
-   Log4j, released under the
-   Apache Software License, Version 2.0.
-
-   http://logging.apache.org/log4j   
- 
----------------------------------------------------------------------------
-BouncyCastle
----------------------------------------------------------------------------
-   BouncyCastle, released under the
-   MIT/X11 License.
-
-   http://www.bouncycastle.org
-   
----------------------------------------------------------------------------
-JSch
----------------------------------------------------------------------------
-   JSch - Java Secure Channel, released under the
-   BSD License.
-
-   http://www.jcraft.com/jsch
-
----------------------------------------------------------------------------
-Rome
----------------------------------------------------------------------------
-   Rome RSS and Atom Java Utilities, released under the
-   Apache Software License, Version 1.1.
-
-   http://rome.dev.java.net
-
----------------------------------------------------------------------------
-jdom
----------------------------------------------------------------------------
-   jdom xml library, released under the
-   Apache-style Software License.
-
-   http://www.jdom.org
-
----------------------------------------------------------------------------
-google-gson
----------------------------------------------------------------------------
-   google-gson, released under the
-   Apache-style Software License.
-
-   http://code.google.com/p/google-gson
-
----------------------------------------------------------------------------
-javamail
----------------------------------------------------------------------------
-   javamail, released under multiple licenses
-   CDDL-1.0, BSD, GPL-2.0, GNU-Classpath.
-
-   http://kenai.com/projects/javamail
-
----------------------------------------------------------------------------
-JUnit
----------------------------------------------------------------------------
-   JUnit, released under the
-   Common Public License.
-
-   http://junit.org
-
----------------------------------------------------------------------------
-ant-googlecode
----------------------------------------------------------------------------
-   ant-googlecode, released under the
-   New BSD License
-   
-   http://code.google.com/p/ant-googlecode
-
----------------------------------------------------------------------------
-GenJar
----------------------------------------------------------------------------
-   GenJar, released under the
-   Apache Software License, Version 1.1.
-   
-   http://genjar.sourceforge.net
-   
----------------------------------------------------------------------------
-Fancybox image viewer
----------------------------------------------------------------------------
-   Fancybox image viewer, released under the
-   MIT and GPL Licenses.
-
-   http://fancybox.net
-   
----------------------------------------------------------------------------
-FatCow Icons
----------------------------------------------------------------------------
-   FatCow Icons, released under the
-   Creative Commons CC-BY License.
-
-   http://www.fatcow.com/free-icons
-
----------------------------------------------------------------------------
-Git logo
----------------------------------------------------------------------------
-   Git logo, released under the
-   Creative Commons CC-BY License.
-
-   http://henrik.nyh.se/2007/06/alternative-git-logo-and-favicon
-   
----------------------------------------------------------------------------
-magnifying glass search icon
----------------------------------------------------------------------------
-   magnifying glass search icon, released under the
-   Creative Commons CC-BY License.
-
-   http://gnome.org
-
----------------------------------------------------------------------------
-GLYHPICONS
----------------------------------------------------------------------------
-   GLPYHICONS, released under the
-   Creative Commons CC-BY License.
-
-   http://glyphicons.com
-      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/gitblit-manager-1.0.0.jar
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/gitblit-manager-1.0.0.jar b/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/gitblit-manager-1.0.0.jar
deleted file mode 100644
index ed54fa4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/s2-gitblit-plugin/lib/gitblit-manager-1.0.0.jar and /dev/null differ


[15/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery-ui-1.8.14.custom.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery-ui-1.8.14.custom.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery-ui-1.8.14.custom.css
deleted file mode 100755
index fe31070..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery-ui-1.8.14.custom.css
+++ /dev/null
@@ -1,568 +0,0 @@
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming/API
- */
-
-/* Layout helpers
-----------------------------------*/
-.ui-helper-hidden { display: none; }
-.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
-.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
-.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
-.ui-helper-clearfix { display: inline-block; }
-/* required comment for clearfix to work in Opera \*/
-* html .ui-helper-clearfix { height:1%; }
-.ui-helper-clearfix { display:block; }
-/* end clearfix */
-.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
-
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-disabled { cursor: default !important; }
-
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Overlays */
-.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
-
-
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming/API
- *
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHig
 hlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
- */
-
-
-/* Component containers
-----------------------------------*/
-.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
-.ui-widget .ui-widget { font-size: 1em; }
-.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
-.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
-.ui-widget-content a { color: #333333; }
-.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
-.ui-widget-header a { color: #ffffff; }
-
-/* Interaction states
-----------------------------------*/
-.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
-.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
-.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
-.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
-.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
-.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
-.ui-widget :active { outline: none; }
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
-.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
-.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
-.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
-.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
-.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
-.ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
-.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
-.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
-.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
-
-/* positioning */
-.ui-icon-carat-1-n { background-position: 0 0; }
-.ui-icon-carat-1-ne { background-position: -16px 0; }
-.ui-icon-carat-1-e { background-position: -32px 0; }
-.ui-icon-carat-1-se { background-position: -48px 0; }
-.ui-icon-carat-1-s { background-position: -64px 0; }
-.ui-icon-carat-1-sw { background-position: -80px 0; }
-.ui-icon-carat-1-w { background-position: -96px 0; }
-.ui-icon-carat-1-nw { background-position: -112px 0; }
-.ui-icon-carat-2-n-s { background-position: -128px 0; }
-.ui-icon-carat-2-e-w { background-position: -144px 0; }
-.ui-icon-triangle-1-n { background-position: 0 -16px; }
-.ui-icon-triangle-1-ne { background-position: -16px -16px; }
-.ui-icon-triangle-1-e { background-position: -32px -16px; }
-.ui-icon-triangle-1-se { background-position: -48px -16px; }
-.ui-icon-triangle-1-s { background-position: -64px -16px; }
-.ui-icon-triangle-1-sw { background-position: -80px -16px; }
-.ui-icon-triangle-1-w { background-position: -96px -16px; }
-.ui-icon-triangle-1-nw { background-position: -112px -16px; }
-.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
-.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
-.ui-icon-arrow-1-n { background-position: 0 -32px; }
-.ui-icon-arrow-1-ne { background-position: -16px -32px; }
-.ui-icon-arrow-1-e { background-position: -32px -32px; }
-.ui-icon-arrow-1-se { background-position: -48px -32px; }
-.ui-icon-arrow-1-s { background-position: -64px -32px; }
-.ui-icon-arrow-1-sw { background-position: -80px -32px; }
-.ui-icon-arrow-1-w { background-position: -96px -32px; }
-.ui-icon-arrow-1-nw { background-position: -112px -32px; }
-.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
-.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
-.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
-.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
-.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
-.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
-.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
-.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
-.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
-.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
-.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
-.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
-.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
-.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
-.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
-.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
-.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
-.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
-.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
-.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
-.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
-.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
-.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
-.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
-.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
-.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
-.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
-.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
-.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
-.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
-.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
-.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
-.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
-.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
-.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
-.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
-.ui-icon-arrow-4 { background-position: 0 -80px; }
-.ui-icon-arrow-4-diag { background-position: -16px -80px; }
-.ui-icon-extlink { background-position: -32px -80px; }
-.ui-icon-newwin { background-position: -48px -80px; }
-.ui-icon-refresh { background-position: -64px -80px; }
-.ui-icon-shuffle { background-position: -80px -80px; }
-.ui-icon-transfer-e-w { background-position: -96px -80px; }
-.ui-icon-transferthick-e-w { background-position: -112px -80px; }
-.ui-icon-folder-collapsed { background-position: 0 -96px; }
-.ui-icon-folder-open { background-position: -16px -96px; }
-.ui-icon-document { background-position: -32px -96px; }
-.ui-icon-document-b { background-position: -48px -96px; }
-.ui-icon-note { background-position: -64px -96px; }
-.ui-icon-mail-closed { background-position: -80px -96px; }
-.ui-icon-mail-open { background-position: -96px -96px; }
-.ui-icon-suitcase { background-position: -112px -96px; }
-.ui-icon-comment { background-position: -128px -96px; }
-.ui-icon-person { background-position: -144px -96px; }
-.ui-icon-print { background-position: -160px -96px; }
-.ui-icon-trash { background-position: -176px -96px; }
-.ui-icon-locked { background-position: -192px -96px; }
-.ui-icon-unlocked { background-position: -208px -96px; }
-.ui-icon-bookmark { background-position: -224px -96px; }
-.ui-icon-tag { background-position: -240px -96px; }
-.ui-icon-home { background-position: 0 -112px; }
-.ui-icon-flag { background-position: -16px -112px; }
-.ui-icon-calendar { background-position: -32px -112px; }
-.ui-icon-cart { background-position: -48px -112px; }
-.ui-icon-pencil { background-position: -64px -112px; }
-.ui-icon-clock { background-position: -80px -112px; }
-.ui-icon-disk { background-position: -96px -112px; }
-.ui-icon-calculator { background-position: -112px -112px; }
-.ui-icon-zoomin { background-position: -128px -112px; }
-.ui-icon-zoomout { background-position: -144px -112px; }
-.ui-icon-search { background-position: -160px -112px; }
-.ui-icon-wrench { background-position: -176px -112px; }
-.ui-icon-gear { background-position: -192px -112px; }
-.ui-icon-heart { background-position: -208px -112px; }
-.ui-icon-star { background-position: -224px -112px; }
-.ui-icon-link { background-position: -240px -112px; }
-.ui-icon-cancel { background-position: 0 -128px; }
-.ui-icon-plus { background-position: -16px -128px; }
-.ui-icon-plusthick { background-position: -32px -128px; }
-.ui-icon-minus { background-position: -48px -128px; }
-.ui-icon-minusthick { background-position: -64px -128px; }
-.ui-icon-close { background-position: -80px -128px; }
-.ui-icon-closethick { background-position: -96px -128px; }
-.ui-icon-key { background-position: -112px -128px; }
-.ui-icon-lightbulb { background-position: -128px -128px; }
-.ui-icon-scissors { background-position: -144px -128px; }
-.ui-icon-clipboard { background-position: -160px -128px; }
-.ui-icon-copy { background-position: -176px -128px; }
-.ui-icon-contact { background-position: -192px -128px; }
-.ui-icon-image { background-position: -208px -128px; }
-.ui-icon-video { background-position: -224px -128px; }
-.ui-icon-script { background-position: -240px -128px; }
-.ui-icon-alert { background-position: 0 -144px; }
-.ui-icon-info { background-position: -16px -144px; }
-.ui-icon-notice { background-position: -32px -144px; }
-.ui-icon-help { background-position: -48px -144px; }
-.ui-icon-check { background-position: -64px -144px; }
-.ui-icon-bullet { background-position: -80px -144px; }
-.ui-icon-radio-off { background-position: -96px -144px; }
-.ui-icon-radio-on { background-position: -112px -144px; }
-.ui-icon-pin-w { background-position: -128px -144px; }
-.ui-icon-pin-s { background-position: -144px -144px; }
-.ui-icon-play { background-position: 0 -160px; }
-.ui-icon-pause { background-position: -16px -160px; }
-.ui-icon-seek-next { background-position: -32px -160px; }
-.ui-icon-seek-prev { background-position: -48px -160px; }
-.ui-icon-seek-end { background-position: -64px -160px; }
-.ui-icon-seek-start { background-position: -80px -160px; }
-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
-.ui-icon-seek-first { background-position: -80px -160px; }
-.ui-icon-stop { background-position: -96px -160px; }
-.ui-icon-eject { background-position: -112px -160px; }
-.ui-icon-volume-off { background-position: -128px -160px; }
-.ui-icon-volume-on { background-position: -144px -160px; }
-.ui-icon-power { background-position: 0 -176px; }
-.ui-icon-signal-diag { background-position: -16px -176px; }
-.ui-icon-signal { background-position: -32px -176px; }
-.ui-icon-battery-0 { background-position: -48px -176px; }
-.ui-icon-battery-1 { background-position: -64px -176px; }
-.ui-icon-battery-2 { background-position: -80px -176px; }
-.ui-icon-battery-3 { background-position: -96px -176px; }
-.ui-icon-circle-plus { background-position: 0 -192px; }
-.ui-icon-circle-minus { background-position: -16px -192px; }
-.ui-icon-circle-close { background-position: -32px -192px; }
-.ui-icon-circle-triangle-e { background-position: -48px -192px; }
-.ui-icon-circle-triangle-s { background-position: -64px -192px; }
-.ui-icon-circle-triangle-w { background-position: -80px -192px; }
-.ui-icon-circle-triangle-n { background-position: -96px -192px; }
-.ui-icon-circle-arrow-e { background-position: -112px -192px; }
-.ui-icon-circle-arrow-s { background-position: -128px -192px; }
-.ui-icon-circle-arrow-w { background-position: -144px -192px; }
-.ui-icon-circle-arrow-n { background-position: -160px -192px; }
-.ui-icon-circle-zoomin { background-position: -176px -192px; }
-.ui-icon-circle-zoomout { background-position: -192px -192px; }
-.ui-icon-circle-check { background-position: -208px -192px; }
-.ui-icon-circlesmall-plus { background-position: 0 -208px; }
-.ui-icon-circlesmall-minus { background-position: -16px -208px; }
-.ui-icon-circlesmall-close { background-position: -32px -208px; }
-.ui-icon-squaresmall-plus { background-position: -48px -208px; }
-.ui-icon-squaresmall-minus { background-position: -64px -208px; }
-.ui-icon-squaresmall-close { background-position: -80px -208px; }
-.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
-.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
-.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
-.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
-.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
-.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Corner radius */
-.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
-.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
-
-/* Overlays */
-.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
-.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*
- * jQuery UI Resizable 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Resizable#theming
- */
-.ui-resizable { position: relative;}
-.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
-.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
-.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
-.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
-.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
-.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
-.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
-.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
-.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
-.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
- * jQuery UI Selectable 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Selectable#theming
- */
-.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
-/*
- * jQuery UI Accordion 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Accordion#theming
- */
-/* IE/Win - Fix animation bug - #4615 */
-.ui-accordion { width: 100%; }
-.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
-.ui-accordion .ui-accordion-li-fix { display: inline; }
-.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
-.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
-.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
-.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
-.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
-.ui-accordion .ui-accordion-content-active { display: block; }
-/*
- * jQuery UI Autocomplete 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Autocomplete#theming
- */
-.ui-autocomplete { position: absolute; cursor: default; }	
-
-/* workarounds */
-* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
-
-/*
- * jQuery UI Menu 1.8.14
- *
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Menu#theming
- */
-.ui-menu {
-	list-style:none;
-	padding: 2px;
-	margin: 0;
-	display:block;
-	float: left;
-}
-.ui-menu .ui-menu {
-	margin-top: -3px;
-}
-.ui-menu .ui-menu-item {
-	margin:0;
-	padding: 0;
-	zoom: 1;
-	float: left;
-	clear: left;
-	width: 100%;
-}
-.ui-menu .ui-menu-item a {
-	text-decoration:none;
-	display:block;
-	padding:.2em .4em;
-	line-height:1.5;
-	zoom:1;
-}
-.ui-menu .ui-menu-item a.ui-state-hover,
-.ui-menu .ui-menu-item a.ui-state-active {
-	font-weight: normal;
-	margin: -1px;
-}
-/*
- * jQuery UI Button 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Button#theming
- */
-.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
-.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
-button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
-.ui-button-icons-only { width: 3.4em; } 
-button.ui-button-icons-only { width: 3.7em; } 
-
-/*button text element */
-.ui-button .ui-button-text { display: block; line-height: 1.4;  }
-.ui-button-text-only .ui-button-text { padding: .4em 1em; }
-.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
-.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
-.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
-.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
-/* no icon support for input elements, provide padding by default */
-input.ui-button { padding: .4em 1em; }
-
-/*button icon element(s) */
-.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
-.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
-.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
-.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-
-/*button sets*/
-.ui-buttonset { margin-right: 7px; }
-.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
-
-/* workarounds */
-button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
-/*
- * jQuery UI Dialog 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Dialog#theming
- */
-.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
-.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
-.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } 
-.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
-.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
-.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
-.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
-.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
-.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
-.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
-.ui-draggable .ui-dialog-titlebar { cursor: move; }
-/*
- * jQuery UI Slider 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Slider#theming
- */
-.ui-slider { position: relative; text-align: left; }
-.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
-.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
-
-.ui-slider-horizontal { height: .8em; }
-.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
-.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
-.ui-slider-horizontal .ui-slider-range-min { left: 0; }
-.ui-slider-horizontal .ui-slider-range-max { right: 0; }
-
-.ui-slider-vertical { width: .8em; height: 100px; }
-.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
-.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
-.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
-.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
- * jQuery UI Tabs 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Tabs#theming
- */
-.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
-.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
-.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
-.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
-.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
-.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
-.ui-tabs .ui-tabs-hide { display: none !important; }
-/*
- * jQuery UI Datepicker 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Datepicker#theming
- */
-.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
-.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
-.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
-.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
-.ui-datepicker .ui-datepicker-prev { left:2px; }
-.ui-datepicker .ui-datepicker-next { right:2px; }
-.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
-.ui-datepicker .ui-datepicker-next-hover { right:1px; }
-.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
-.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
-.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
-.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
-.ui-datepicker select.ui-datepicker-month, 
-.ui-datepicker select.ui-datepicker-year { width: 49%;}
-.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
-.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
-.ui-datepicker td { border: 0; padding: 1px; }
-.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
-.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
-.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
-
-/* with multiple calendars */
-.ui-datepicker.ui-datepicker-multi { width:auto; }
-.ui-datepicker-multi .ui-datepicker-group { float:left; }
-.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
-.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
-.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
-.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
-.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
-
-/* RTL support */
-.ui-datepicker-rtl { direction: rtl; }
-.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-
-/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
-.ui-datepicker-cover {
-    display: none; /*sorry for IE5*/
-    display/**/: block; /*sorry for IE5*/
-    position: absolute; /*must have*/
-    z-index: -1; /*must have*/
-    filter: mask(); /*must have*/
-    top: -4px; /*must have*/
-    left: -4px; /*must have*/
-    width: 200px; /*must have*/
-    height: 200px; /*must have*/
-}/*
- * jQuery UI Progressbar 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Progressbar#theming
- */
-.ui-progressbar { height:2em; text-align: left; }
-.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.accordion.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.accordion.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.accordion.css
deleted file mode 100755
index aec1eb8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.accordion.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * jQuery UI Accordion 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Accordion#theming
- */
-/* IE/Win - Fix animation bug - #4615 */
-.ui-accordion { width: 100%; }
-.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
-.ui-accordion .ui-accordion-li-fix { display: inline; }
-.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
-.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
-.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
-.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
-.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
-.ui-accordion .ui-accordion-content-active { display: block; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.all.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.all.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.all.css
deleted file mode 100755
index 3b49352..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.all.css
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming
- */
-@import "jquery.ui.base.css";
-@import "jquery.ui.theme.css";

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.autocomplete.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.autocomplete.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.autocomplete.css
deleted file mode 100755
index 640cd86..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.autocomplete.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * jQuery UI Autocomplete 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Autocomplete#theming
- */
-.ui-autocomplete { position: absolute; cursor: default; }	
-
-/* workarounds */
-* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
-
-/*
- * jQuery UI Menu 1.8.14
- *
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Menu#theming
- */
-.ui-menu {
-	list-style:none;
-	padding: 2px;
-	margin: 0;
-	display:block;
-	float: left;
-}
-.ui-menu .ui-menu {
-	margin-top: -3px;
-}
-.ui-menu .ui-menu-item {
-	margin:0;
-	padding: 0;
-	zoom: 1;
-	float: left;
-	clear: left;
-	width: 100%;
-}
-.ui-menu .ui-menu-item a {
-	text-decoration:none;
-	display:block;
-	padding:.2em .4em;
-	line-height:1.5;
-	zoom:1;
-}
-.ui-menu .ui-menu-item a.ui-state-hover,
-.ui-menu .ui-menu-item a.ui-state-active {
-	font-weight: normal;
-	margin: -1px;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.base.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.base.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.base.css
deleted file mode 100755
index f52ee39..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.base.css
+++ /dev/null
@@ -1,11 +0,0 @@
-@import url("jquery.ui.core.css");
-@import url("jquery.ui.resizable.css");
-@import url("jquery.ui.selectable.css");
-@import url("jquery.ui.accordion.css");
-@import url("jquery.ui.autocomplete.css");
-@import url("jquery.ui.button.css");
-@import url("jquery.ui.dialog.css");
-@import url("jquery.ui.slider.css");
-@import url("jquery.ui.tabs.css");
-@import url("jquery.ui.datepicker.css");
-@import url("jquery.ui.progressbar.css");
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.button.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.button.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.button.css
deleted file mode 100755
index 55eddec..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.button.css
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * jQuery UI Button 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Button#theming
- */
-.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
-.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
-button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
-.ui-button-icons-only { width: 3.4em; } 
-button.ui-button-icons-only { width: 3.7em; } 
-
-/*button text element */
-.ui-button .ui-button-text { display: block; line-height: 1.4;  }
-.ui-button-text-only .ui-button-text { padding: .4em 1em; }
-.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
-.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
-.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
-.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
-/* no icon support for input elements, provide padding by default */
-input.ui-button { padding: .4em 1em; }
-
-/*button icon element(s) */
-.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
-.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
-.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
-.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-
-/*button sets*/
-.ui-buttonset { margin-right: 7px; }
-.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
-
-/* workarounds */
-button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.core.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.core.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.core.css
deleted file mode 100755
index b8ed6cd..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.core.css
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming/API
- */
-
-/* Layout helpers
-----------------------------------*/
-.ui-helper-hidden { display: none; }
-.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
-.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
-.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
-.ui-helper-clearfix { display: inline-block; }
-/* required comment for clearfix to work in Opera \*/
-* html .ui-helper-clearfix { height:1%; }
-.ui-helper-clearfix { display:block; }
-/* end clearfix */
-.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
-
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-disabled { cursor: default !important; }
-
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Overlays */
-.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.datepicker.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.datepicker.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.datepicker.css
deleted file mode 100755
index b52d402..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.datepicker.css
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * jQuery UI Datepicker 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Datepicker#theming
- */
-.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
-.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
-.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
-.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
-.ui-datepicker .ui-datepicker-prev { left:2px; }
-.ui-datepicker .ui-datepicker-next { right:2px; }
-.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
-.ui-datepicker .ui-datepicker-next-hover { right:1px; }
-.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
-.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
-.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
-.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
-.ui-datepicker select.ui-datepicker-month, 
-.ui-datepicker select.ui-datepicker-year { width: 49%;}
-.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
-.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
-.ui-datepicker td { border: 0; padding: 1px; }
-.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
-.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
-.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
-
-/* with multiple calendars */
-.ui-datepicker.ui-datepicker-multi { width:auto; }
-.ui-datepicker-multi .ui-datepicker-group { float:left; }
-.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
-.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
-.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
-.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
-.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
-
-/* RTL support */
-.ui-datepicker-rtl { direction: rtl; }
-.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-
-/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
-.ui-datepicker-cover {
-    display: none; /*sorry for IE5*/
-    display/**/: block; /*sorry for IE5*/
-    position: absolute; /*must have*/
-    z-index: -1; /*must have*/
-    filter: mask(); /*must have*/
-    top: -4px; /*must have*/
-    left: -4px; /*must have*/
-    width: 200px; /*must have*/
-    height: 200px; /*must have*/
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.dialog.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.dialog.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.dialog.css
deleted file mode 100755
index 531d11f..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.dialog.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * jQuery UI Dialog 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Dialog#theming
- */
-.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
-.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
-.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } 
-.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
-.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
-.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
-.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
-.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
-.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
-.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
-.ui-draggable .ui-dialog-titlebar { cursor: move; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.progressbar.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.progressbar.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.progressbar.css
deleted file mode 100755
index eb7d477..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.progressbar.css
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * jQuery UI Progressbar 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Progressbar#theming
- */
-.ui-progressbar { height:2em; text-align: left; }
-.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.resizable.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.resizable.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.resizable.css
deleted file mode 100755
index 3234d3f..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.resizable.css
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * jQuery UI Resizable 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Resizable#theming
- */
-.ui-resizable { position: relative;}
-.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
-.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
-.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
-.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
-.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
-.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
-.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
-.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
-.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
-.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.selectable.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.selectable.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.selectable.css
deleted file mode 100755
index 39ac84a..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.selectable.css
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * jQuery UI Selectable 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Selectable#theming
- */
-.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.slider.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.slider.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.slider.css
deleted file mode 100755
index c9d8b8b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.slider.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * jQuery UI Slider 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Slider#theming
- */
-.ui-slider { position: relative; text-align: left; }
-.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
-.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
-
-.ui-slider-horizontal { height: .8em; }
-.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
-.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
-.ui-slider-horizontal .ui-slider-range-min { left: 0; }
-.ui-slider-horizontal .ui-slider-range-max { right: 0; }
-
-.ui-slider-vertical { width: .8em; height: 100px; }
-.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
-.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
-.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
-.ui-slider-vertical .ui-slider-range-max { top: 0; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.tabs.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.tabs.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.tabs.css
deleted file mode 100755
index 0ef4507..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.tabs.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * jQuery UI Tabs 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Tabs#theming
- */
-.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
-.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
-.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
-.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
-.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
-.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
-.ui-tabs .ui-tabs-hide { display: none !important; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.theme.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.theme.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.theme.css
deleted file mode 100755
index 6b37962..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.theme.css
+++ /dev/null
@@ -1,249 +0,0 @@
-
-
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming/API
- *
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHig
 hlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
- */
-
-
-/* Component containers
-----------------------------------*/
-.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
-.ui-widget .ui-widget { font-size: 1em; }
-.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
-.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
-.ui-widget-content a { color: #333333; }
-.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
-.ui-widget-header a { color: #ffffff; }
-
-/* Interaction states
-----------------------------------*/
-.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
-.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
-.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
-.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
-.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
-.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
-.ui-widget :active { outline: none; }
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
-.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
-.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
-.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
-.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
-.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
-.ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
-.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
-.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
-.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
-
-/* positioning */
-.ui-icon-carat-1-n { background-position: 0 0; }
-.ui-icon-carat-1-ne { background-position: -16px 0; }
-.ui-icon-carat-1-e { background-position: -32px 0; }
-.ui-icon-carat-1-se { background-position: -48px 0; }
-.ui-icon-carat-1-s { background-position: -64px 0; }
-.ui-icon-carat-1-sw { background-position: -80px 0; }
-.ui-icon-carat-1-w { background-position: -96px 0; }
-.ui-icon-carat-1-nw { background-position: -112px 0; }
-.ui-icon-carat-2-n-s { background-position: -128px 0; }
-.ui-icon-carat-2-e-w { background-position: -144px 0; }
-.ui-icon-triangle-1-n { background-position: 0 -16px; }
-.ui-icon-triangle-1-ne { background-position: -16px -16px; }
-.ui-icon-triangle-1-e { background-position: -32px -16px; }
-.ui-icon-triangle-1-se { background-position: -48px -16px; }
-.ui-icon-triangle-1-s { background-position: -64px -16px; }
-.ui-icon-triangle-1-sw { background-position: -80px -16px; }
-.ui-icon-triangle-1-w { background-position: -96px -16px; }
-.ui-icon-triangle-1-nw { background-position: -112px -16px; }
-.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
-.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
-.ui-icon-arrow-1-n { background-position: 0 -32px; }
-.ui-icon-arrow-1-ne { background-position: -16px -32px; }
-.ui-icon-arrow-1-e { background-position: -32px -32px; }
-.ui-icon-arrow-1-se { background-position: -48px -32px; }
-.ui-icon-arrow-1-s { background-position: -64px -32px; }
-.ui-icon-arrow-1-sw { background-position: -80px -32px; }
-.ui-icon-arrow-1-w { background-position: -96px -32px; }
-.ui-icon-arrow-1-nw { background-position: -112px -32px; }
-.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
-.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
-.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
-.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
-.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
-.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
-.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
-.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
-.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
-.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
-.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
-.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
-.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
-.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
-.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
-.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
-.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
-.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
-.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
-.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
-.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
-.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
-.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
-.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
-.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
-.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
-.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
-.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
-.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
-.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
-.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
-.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
-.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
-.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
-.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
-.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
-.ui-icon-arrow-4 { background-position: 0 -80px; }
-.ui-icon-arrow-4-diag { background-position: -16px -80px; }
-.ui-icon-extlink { background-position: -32px -80px; }
-.ui-icon-newwin { background-position: -48px -80px; }
-.ui-icon-refresh { background-position: -64px -80px; }
-.ui-icon-shuffle { background-position: -80px -80px; }
-.ui-icon-transfer-e-w { background-position: -96px -80px; }
-.ui-icon-transferthick-e-w { background-position: -112px -80px; }
-.ui-icon-folder-collapsed { background-position: 0 -96px; }
-.ui-icon-folder-open { background-position: -16px -96px; }
-.ui-icon-document { background-position: -32px -96px; }
-.ui-icon-document-b { background-position: -48px -96px; }
-.ui-icon-note { background-position: -64px -96px; }
-.ui-icon-mail-closed { background-position: -80px -96px; }
-.ui-icon-mail-open { background-position: -96px -96px; }
-.ui-icon-suitcase { background-position: -112px -96px; }
-.ui-icon-comment { background-position: -128px -96px; }
-.ui-icon-person { background-position: -144px -96px; }
-.ui-icon-print { background-position: -160px -96px; }
-.ui-icon-trash { background-position: -176px -96px; }
-.ui-icon-locked { background-position: -192px -96px; }
-.ui-icon-unlocked { background-position: -208px -96px; }
-.ui-icon-bookmark { background-position: -224px -96px; }
-.ui-icon-tag { background-position: -240px -96px; }
-.ui-icon-home { background-position: 0 -112px; }
-.ui-icon-flag { background-position: -16px -112px; }
-.ui-icon-calendar { background-position: -32px -112px; }
-.ui-icon-cart { background-position: -48px -112px; }
-.ui-icon-pencil { background-position: -64px -112px; }
-.ui-icon-clock { background-position: -80px -112px; }
-.ui-icon-disk { background-position: -96px -112px; }
-.ui-icon-calculator { background-position: -112px -112px; }
-.ui-icon-zoomin { background-position: -128px -112px; }
-.ui-icon-zoomout { background-position: -144px -112px; }
-.ui-icon-search { background-position: -160px -112px; }
-.ui-icon-wrench { background-position: -176px -112px; }
-.ui-icon-gear { background-position: -192px -112px; }
-.ui-icon-heart { background-position: -208px -112px; }
-.ui-icon-star { background-position: -224px -112px; }
-.ui-icon-link { background-position: -240px -112px; }
-.ui-icon-cancel { background-position: 0 -128px; }
-.ui-icon-plus { background-position: -16px -128px; }
-.ui-icon-plusthick { background-position: -32px -128px; }
-.ui-icon-minus { background-position: -48px -128px; }
-.ui-icon-minusthick { background-position: -64px -128px; }
-.ui-icon-close { background-position: -80px -128px; }
-.ui-icon-closethick { background-position: -96px -128px; }
-.ui-icon-key { background-position: -112px -128px; }
-.ui-icon-lightbulb { background-position: -128px -128px; }
-.ui-icon-scissors { background-position: -144px -128px; }
-.ui-icon-clipboard { background-position: -160px -128px; }
-.ui-icon-copy { background-position: -176px -128px; }
-.ui-icon-contact { background-position: -192px -128px; }
-.ui-icon-image { background-position: -208px -128px; }
-.ui-icon-video { background-position: -224px -128px; }
-.ui-icon-script { background-position: -240px -128px; }
-.ui-icon-alert { background-position: 0 -144px; }
-.ui-icon-info { background-position: -16px -144px; }
-.ui-icon-notice { background-position: -32px -144px; }
-.ui-icon-help { background-position: -48px -144px; }
-.ui-icon-check { background-position: -64px -144px; }
-.ui-icon-bullet { background-position: -80px -144px; }
-.ui-icon-radio-off { background-position: -96px -144px; }
-.ui-icon-radio-on { background-position: -112px -144px; }
-.ui-icon-pin-w { background-position: -128px -144px; }
-.ui-icon-pin-s { background-position: -144px -144px; }
-.ui-icon-play { background-position: 0 -160px; }
-.ui-icon-pause { background-position: -16px -160px; }
-.ui-icon-seek-next { background-position: -32px -160px; }
-.ui-icon-seek-prev { background-position: -48px -160px; }
-.ui-icon-seek-end { background-position: -64px -160px; }
-.ui-icon-seek-start { background-position: -80px -160px; }
-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
-.ui-icon-seek-first { background-position: -80px -160px; }
-.ui-icon-stop { background-position: -96px -160px; }
-.ui-icon-eject { background-position: -112px -160px; }
-.ui-icon-volume-off { background-position: -128px -160px; }
-.ui-icon-volume-on { background-position: -144px -160px; }
-.ui-icon-power { background-position: 0 -176px; }
-.ui-icon-signal-diag { background-position: -16px -176px; }
-.ui-icon-signal { background-position: -32px -176px; }
-.ui-icon-battery-0 { background-position: -48px -176px; }
-.ui-icon-battery-1 { background-position: -64px -176px; }
-.ui-icon-battery-2 { background-position: -80px -176px; }
-.ui-icon-battery-3 { background-position: -96px -176px; }
-.ui-icon-circle-plus { background-position: 0 -192px; }
-.ui-icon-circle-minus { background-position: -16px -192px; }
-.ui-icon-circle-close { background-position: -32px -192px; }
-.ui-icon-circle-triangle-e { background-position: -48px -192px; }
-.ui-icon-circle-triangle-s { background-position: -64px -192px; }
-.ui-icon-circle-triangle-w { background-position: -80px -192px; }
-.ui-icon-circle-triangle-n { background-position: -96px -192px; }
-.ui-icon-circle-arrow-e { background-position: -112px -192px; }
-.ui-icon-circle-arrow-s { background-position: -128px -192px; }
-.ui-icon-circle-arrow-w { background-position: -144px -192px; }
-.ui-icon-circle-arrow-n { background-position: -160px -192px; }
-.ui-icon-circle-zoomin { background-position: -176px -192px; }
-.ui-icon-circle-zoomout { background-position: -192px -192px; }
-.ui-icon-circle-check { background-position: -208px -192px; }
-.ui-icon-circlesmall-plus { background-position: 0 -208px; }
-.ui-icon-circlesmall-minus { background-position: -16px -208px; }
-.ui-icon-circlesmall-close { background-position: -32px -208px; }
-.ui-icon-squaresmall-plus { background-position: -48px -208px; }
-.ui-icon-squaresmall-minus { background-position: -64px -208px; }
-.ui-icon-squaresmall-close { background-position: -80px -208px; }
-.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
-.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
-.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
-.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
-.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
-.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Corner radius */
-.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
-.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
-
-/* Overlays */
-.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
-.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
\ No newline at end of file


[35/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/features-dashboard.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/features-dashboard.xml b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/features-dashboard.xml
deleted file mode 100755
index 3041414..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/features-dashboard.xml
+++ /dev/null
@@ -1,762 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<data>
-	<service name="Cloud Services" link="https://cloud.wso2.com"
-		key="manager">
-		<story title="Billing">
-			<story-content>Billing is the process where the cloud computing
-				service subscribers are charged
-				based on the metered data. Billing
-				usually happens on a monthly basis.
-				Billing uses
-				pricing rates defined
-				against usage plans and compute the invoice against
-				the usage
-				data.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tenant-billing/past_invoice.jsp"> Billing...</link>
-				<link url="/carbon/tenant-billing/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Metering">
-			<story-content>Metering measures levels of resource utilization, such
-				as network bandwidth usage and
-				data storage volume, consumed by the
-				cloud services subscribers, aka
-				tenants.
-				Resource utilization's
-				(bandwidth and storage usage) are measured on the fly
-				and the
-				measured data is stored for summarizing and analyzing.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tenant-usage/tenant_usage.jsp">Go to Metering....</link>
-				<link url="/carbon/tenant-usage/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Account Management">
-			<story-content>Account management allows a tenant to update and
-				validate contact information,
-				update the usage plan, validate the
-				account and even de-activate the
-				account .</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Manage account...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Users and Roles">
-			<story-content>You can add users and define your own roles for a
-				tenant. The permission model is
-				role based. So a tenant admin can
-				define what actions a role can perform
-				by
-				configuring permissions for
-				that role.</story-content>
-			<story-links>
-				<link url="/carbon/account-mgt/account_mgt.jsp">Manage
-					users/roles...</link>
-				<link url="/carbon/account-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="MT-Logging">
-			<story-content>Flexible logging support with integration to
-				enterprise logging systems. This facilitate to monitor your system
-				and application logs through a log viewer.</story-content>
-			<story-links>
-				<link url="/carbon/log-view/index.jsp">Go to Log Viewer....</link>
-				<link url="/carbon/log-view/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Usage Metering and Throttling">
-			<story-content>&lt;a
-				href="http://wso2.org/library/articles/2011/09/usage-metering-throttling-cloud-computing"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/usage_metering_and_throttling.jpg"
-				alt=""/&gt;</story-content>
-		</story>
-		<story title="How WSO2 StratosLive meets Security Challenges in Cloud">
-			<story-content> &lt;a
-				href="http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/tenant_isolation.png"
-				alt=""/&gt;&lt;/a&gt; </story-content>
-		</story>
-	</service>
-	<service name="WSO2 Enterprise Service Bus" link="https://esb.cloud.wso2.com"
-		key="esb">
-		<story title="Proxy Service">
-			<story-content> Proxy services facilitate location transparency and
-				provides the means for the
-				integration between various other
-				services, on different formats
-			</story-content>
-			<story-links>
-				<link url="/carbon/proxyservices/templates.jsp">Got to services...</link>
-				<link url="/carbon/proxyservices/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Sequence">
-			<story-content>Sequence is a collection of mediators attached to
-				perform a given mediation flow in an
-				integration.
-			</story-content>
-			<story-links>
-				<link url="/carbon/sequences/list_sequences.jsp">Go to Web Applications...</link>
-				<link url="/carbon/sequences/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Endpoint">
-			<story-content>Endpoints represent the third party services or other
-				endpoints the ESB is talking to,
-				this configuration allows you to
-				record a set of meta data about the
-				external endpoint
-				apart from it's
-				EPR
-			</story-content>
-			<story-links>
-				<link url="/carbon/endpoints/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/endpoints/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Scheduled Tasks">
-			<story-content>Job scheduling facility in the ESB with quartz
-				scheduler, helping several tasks to be
-				initiated and scheduled by the
-				ESB.</story-content>
-			<story-links>
-				<link url="/carbon/task/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/task/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Store &amp; Forward">
-			<story-content>Message Stores and Processors can be used to persist
-				messages to queues and then process
-				preserving SLAs.</story-content>
-			<story-links>
-				<link url="/carbon/message_processor/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/message_processor/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Priority Execution">
-			<story-content>Ability to categorize mediation flows with a priority
-				allowing certain messages or
-				mediation paths to get a high priority
-				with compared to other messages or
-				paths.</story-content>
-			<story-links>
-				<link url="/carbon/executors/list_executors.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/executors/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Application Services" link="https://appserver.cloud.wso2.com"
-		key="as">
-		<story title="Service Hosting">
-			<story-content>Different types of Web Services such as Axis2
-				Services, JAXWS Services, Jar Services
-				or Spring Services can be
-				deployed in Application Server. All
-				configurations such as
-				QoS can be
-				easily configured here.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Web Applications">
-			<story-content>Web Application hosting features in AppServer
-				supports
-				deployment of Tomcat
-				compliant Webapps. Deployed Webapps can be
-				easily managed using the Webapp
-				management facilities available in
-				the management console.
-			</story-content>
-			<story-links>
-				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
-				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Tracing">
-			<story-content>Trace the request and responses to your service.
-				Message Tracing is a vital
-				debugging tool when you have clients from
-				heterogeneous platforms.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="WSDL2Java Tool">
-			<story-content>Use WSDL2Java tool in Web Application Server to
-				convert Web Service WSDL to a set of
-				Java objects.</story-content>
-			<story-links>
-				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Java2WSDL Tool">
-			<story-content>Use Java2WSDL tool in Web Application Server make it
-				easy to develop a new web service.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Data Services" link="https://dss.cloud.wso2.com"
-		key="dss">
-		<story title="Data Service Hosting">
-			<story-content>Data Web Services can be deployed in Data Services
-				Server. All configurations such as
-				QoS can be easily configured here.
-			</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Data as a Service">
-			<story-content>Create your databases on the cloud, and acess those as
-				you would do with regular
-				databases.</story-content>
-			<story-links>
-				<link url="/carbon/ds/scriptAddSource.jsp">Go to data sources...</link>
-				<link url="/carbon/ds/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service Testing">
-			<story-content>Tryit tool can be used as a simple Web Service client
-				which can be used to try your
-				services within AppServer itself.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tryit/index.jsp">Go
-					to Service Testing...</link>
-				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Tracing">
-			<story-content>Trace the request and responses to your service.
-				Message Tracing is a vital
-				debugging tool when you have clients from
-				heterogeneous platforms.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message
-					Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="DB Explorer">
-			<story-content>Explore your databases using the explorer tool on
-				the cloud.</story-content>
-			<story-links>
-				<link url="/carbon/adminconsole/databases.jsp">Go to DB
-					Explorer Tool...</link>
-				<link url="/carbon/adminconsole/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Relational Storage Solutions on Cloud">
-			<story-content>&lt;a
-				href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/configure_db.png"
-				alt=""/&gt;&lt;/a&gt;</story-content>
-			<story-links>
-				<link
-					url="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive">Read
-					online...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Governance Services" link="https://governance.cloud.wso2.com"
-		key="greg">
-		<story title="Service">
-			<story-content>Service is the basic entity of your SOA platform. You
-				can manage service metadata and
-				the service lifecycle as well as
-				maintain multiple versions of a given
-				service, and much
-				more.
-			</story-content>
-			<story-links>
-				<link url="/carbon/services/services.jsp">Got to services...</link>
-				<link url="/carbon/services/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="WSDL">
-			<story-content>WSDL defines the interface of a web service. You can
-				store, validate and manage WSDLs
-				with ease, keeping track of
-				dependencies and associations such as
-				services, schema and
-				policies.
-			</story-content>
-			<story-links>
-				<link url="/carbon/wsdl/wsdl.jsp">Go to WSDL</link>
-				<link url="/carbon/wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Schema">
-			<story-content>XML Schema defines data types in a WSDL. As in the
-				case of WSDLs, you can keep
-				associations of schema which helps in the
-				impact analysis process, when
-				maintaining the
-				data models associated
-				with your SOA.</story-content>
-			<story-links>
-				<link url="/carbon/schema/schema.jsp">Go to Schema...</link>
-				<link url="/carbon/schema/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Policy">
-			<story-content>Policies help standardize SOA behaviour. You can keep
-				track of the policies bound to a
-				service. It also supports policy
-				enforcement to control how SOA behaves as
-				desired by
-				both IT and
-				business personnel.</story-content>
-			<story-links>
-				<link url="/carbon/policy/policy.jsp">Go to Policy..</link>
-				<link url="/carbon/policy/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Search">
-			<story-content>The repository can store any arbitrary type of
-				resource. You can search for resources by
-				name, author, time created
-				or updated. You also can search for resources
-				by media type.
-			</story-content>
-			<story-links>
-				<link url="/carbon/search/advancedSearch.jsp">Go to Search...</link>
-				<link url="/carbon/search/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Activities">
-			<story-content>An activity log provide an invaluable insight to what
-				operations took place on the
-				repository. You can browse activities
-				while filtering them by date range, user
-				name, or
-				activity type.
-			</story-content>
-			<story-links>
-				<link url="/carbon/activities/activity.jsp">Go to Activities...</link>
-				<link url="/carbon/activities/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Notifications">
-			<story-content>The registry generates events when changes are made to
-				a particular resource or
-				collection. You can subscribe to these
-				events via e-mail, or forward them to a
-				web
-				service via SOAP or REST.
-			</story-content>
-			<story-links>
-				<link url="/carbon/notifications/notifications.jsp">Go to Notifications...</link>
-				<link url="/carbon/notifications/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Extensions">
-			<story-content>While we address most governance and registry related
-				scenarios out-of-the-box, you also
-				can upload your own extensions
-				that is capable of extending the basic
-				functionality of
-				the product
-			</story-content>
-			<story-links>
-				<link url="/carbon/extensions/add_extensions.jsp">Go to Activities...</link>
-				<link url="/carbon/extensions/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Identity Services" link="https://governance.cloud.wso2.com"
-		key="is">
-		<story title="User Profile">
-			<story-content>Update your user profile or add multiple user
-				profiles.The value from your profile will
-				be used to populate your
-				Information card and OpenID profiles.
-			</story-content>
-			<story-links>
-				<link url="/carbon/userprofile/index.jsp">Got to User Profile...</link>
-				<link url="/carbon/userprofile/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="OpenID">
-			<story-content>This OpenID can be used with any OpenID relying party
-				which trusts your domain for
-				login.</story-content>
-			<story-links>
-				<link url="/carbon/identity-provider/index.jsp">Go to OpenID...</link>
-				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Information Card">
-			<story-content>This card can be used with any identity selector that
-				supports Microsoft CardSpace
-				specifications and will allow you to
-				login to web applications that support
-				information
-				card logins.
-			</story-content>
-			<story-links>
-				<link url="/carbon/identity-provider/index.jsp">Go to Information Card...</link>
-				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="SAML 2.0 Single Sign-On">
-			<story-content>Use WSO2 Identity Server for Single Sign-on
-				configuration. Service Providers can be
-				added and removed.
-			</story-content>
-			<story-links>
-				<link url="/carbon/sso-saml/manage_service_providers.jsp">Go to SAML 2.0 Single Sign-On..</link>
-				<link url="/carbon/sso-saml/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Multifactor Authentication">
-			<story-content>Use WSO2 Identity Server to Enable XMPP based
-				multi-factor authentication.</story-content>
-			<story-links>
-				<link url="/carbon/multi-factor/xmpp-config.jsp">Go to Multifactor Authentication...</link>
-				<link url="/carbon/multi-factor/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Users and Roles">
-			<story-content>WSO2 Identity Server enables you to manage users and
-				roles in your system.</story-content>
-			<story-links>
-				<link url="/carbon/userstore/index.jsp">Go to Users and Roles...</link>
-				<link url="/carbon/userstore/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Relying Parties">
-			<story-content>Manage your Relying Parties with WSO2 Identity Server.
-			</story-content>
-			<story-links>
-				<link url="/carbon/identity-trusted-relying-parties/add-trusted-rp.jsp">Go to Relying Parties...</link>
-				<link url="/carbon/identity-trusted-relying-parties/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Key Stores">
-			<story-content>Manage your Key Stores with WSO2 Identity Server
-			</story-content>
-			<story-links>
-				<link url="/carbon/keystoremgt/keystore-mgt.jsp">Go to Activities...</link>
-				<link url="/carbon/keystoremgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Activity Monitor" link="https://bam.cloud.wso2.com"
-		key="bam">
-		<story title="Real Time Mediation Monitoring">
-			<story-content>Monitor proxy services, endpoints and sequences and
-				their operations in real time. The
-				results gathered from the
-				real-time monitoring are presented in a clear and
-				easy-to-view
-				format.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Mediation Analysis">
-			<story-content>Analyze the historical mediation trends over time with
-				the help of visualization
-				framework.</story-content>
-			<story-links>
-				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
-				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Summary Generation">
-			<story-content>Generate a summarised view of collected statistics and
-				write gadgets to display these
-				summarised data.</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service Invocation Analysis">
-			<story-content>rite gadgets to consume service statistics and present
-				to end user. Dashboard
-				support
-				Google Gadget specification.
-			</story-content>
-			<story-links>
-				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Dashboard">
-			<story-content>Monitor and correlate related business activities
-				across multiple server instances.
-				These activities can be used to
-				track and verify the smooth execution of
-				business.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Activity Correlation &amp; Monitoring">
-			<story-content>Monitor and correlate related business activities
-				across multiple server instances.
-				These activities can be used to
-				track and verify the smooth execution of
-				business.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Collection &amp; Archival">
-			<story-content>>Collect messages coming into your SOA, analyze and
-				archive for future retrieval.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Process Services" link="https://bps.cloud.wso2.com"
-		key="bps">
-		<story title="WS-BPEL 2.0 &amp; BPELWS 1.1">
-			<story-content>WSO2 BPS supports both WS-BPEL 2.0 and BPEL4WS 1.1
-				standards. It also includes WSO2 BPS
-				specific extensions to enhance
-				the features provide by WS-BPEL.
-			</story-content>
-			<story-links>
-				<link url="">Got to Business Process Services...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Instance Data Cleanup">
-			<story-content>Allows multiple levels of instance data cleanup which
-				are accumulated during process
-				instance lifetime. XPath extensions,
-				Iteratable ForEach, Flexible Assigns,
-				XQuery 1.0 support and various
-				other extensions to BPEL language.</story-content>
-			<story-links>
-				<link url="">Go to OpenID...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="BPEL Extensions">
-			<story-content>Hot update BPEL processes and allows you to maintain
-				multiple versions of processes.</story-content>
-			<story-links>
-				<link url="">Go to Information Card...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="WSO2 Business Rule Server" link="https://brs.cloud.wso2.com"
-		key="brs">
-		<story title="Service Hosting Support">
-			<story-content>Service Hosting feature in Business Rules Server
-				enables deployment of Rule Services.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to Business Process Services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Rule service creation support">
-			<story-content>Support for creating rule services with drools or
-				using rule services created with other
-				IDEs.</story-content>
-			<story-links>
-				<link url="/carbon/ruleservices/rule_service_wizard_step1.jsp">Go to Rule service creation...</link>
-				<link url="/carbon/ruleservices/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Registry as a Rule Repository">
-			<story-content>Registry as a Rule Repository.</story-content>
-			<story-links>
-				<link url="/carbon/resources/resource.jsp">Go to Registry Rule Repository..</link>
-				<link url="/carbon/resources/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service testing">
-			<story-content>Tryit tool can be used as a simple Web Service client
-				which can be used to try your
-				services within AppServer itself.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tryit/index.jsp">Go
-					to Service Testing...</link>
-				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Cloud Gateway" link="https://cg.stratoslive.wso2.com"
-		key="cg">
-		<story title="Cloud Service">
-			<story-content>Publish a service or data residing behind a firewall
-				in a secure and controlled manner as a Cloud Service.
-			</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Go to Cloud Services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Complex Event Processing Services" link="https://cep.cloud.wso2.com"
-		key="cep">
-		<story title="Bring CEP to SOA">
-			<story-content>Bring CEP to SOA by processing XML events and produce
-				results as XML events.</story-content>
-			<story-links>
-				<link url="/carbon/CEP/cep_queries.jsp">Go to CEP buckets list...</link>
-				<link url="/carbon/CEP/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Registry Storage">
-			<story-content>Ability to define different event streams, queries and
-				out put streams and store them in
-				the registry as a bucket.
-			</story-content>
-			<story-links>
-				<link url="/carbon/resources/resource.jsp">Go to Registry Storage...</link>
-				<link url="/carbon/messagebox/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Esper and Fusion">
-			<story-content>Support Esper and fusion back end runtimes..
-			</story-content>
-			<story-links>
-				<link url="">Go to Esper and Fusion..</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Filter data from the XML event">
-			<story-content>Ability to filter data from the XML event using xpath
-				and format the result as an XML
-				event.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to Filter data...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Support different types of brokers">
-			<story-content>Support different types of brokers WS-Event, JMS to
-				receive publish events.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to brokers...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Storing broker configurations">
-			<story-content>Define and store such different broker configurations.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to brokers...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Administrative Console support">
-			<story-content>Administrative Console to create buckets, add
-				subscriptions etc..
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to Administrative Console ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Specify CEP queries">
-			<story-content>Ability to specify CEP queries inline or pick from the
-				registry.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to CEP queries ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Message Broker Services" link="https://mb.cloud.wso2.com"
-		key="mb">
-		<story title="Publish/Subscribe to Topics">
-			<story-content>WS-Eventing to publish/subscribe to topics using web
-				service standards.</story-content>
-			<story-links>
-				<link url="">Go to topics...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="AMQP">
-			<story-content>MS support thorough AMQP to publish/subscribe to
-				topics and Queues.</story-content>
-			<story-links>
-				<link url="">Go to AMQP...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Topic Authorization">
-			<story-content>MS support thorough AMQP to publish/subscribe to
-				topics and Queues.</story-content>
-			<story-links>
-				<link url="">Go to Topic Authorization...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Manage topics and queues permissions">
-			<story-content>Administrative console support to manage topics and
-				queues permissions.</story-content>
-			<story-links>
-				<link url="">Go to Manage topics and queues permissions...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="SQS support">
-			<story-content>SQS support to store retrieve messages using a web
-				service API.</story-content>
-			<story-links>
-				<link url="">Go to SQS ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="User based authorization for queues">
-			<story-content>User based authorization for queues.</story-content>
-			<story-links>
-				<link url="">Go to User based authorization ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Manage message boxes">
-			<story-content>Administrative console support to manage message boxes
-				and store/retrieve messages.</story-content>
-			<story-links>
-				<link url="">Go to message boxes...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message box as event sink">
-			<story-content>Ability to use a message box as the event sink for a
-				subscription.</story-content>
-			<story-links>
-				<link url="">Go to event sink support...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-</data>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/pom.xml
deleted file mode 100755
index c6f899a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/pom.xml
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
-        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
-        xmlns="http://maven.apache.org/POM/4.0.0"
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
-	<parent>
-		<groupId>org.wso2.stratos2</groupId>
-		<artifactId>wso2stratos2-parent</artifactId>
-		<version>1.0.0</version>
-		<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.carbon</groupId>
-    <artifactId>features-dashboard</artifactId>
-    <packaging>war</packaging>
-    <version>1.0.0</version>
-    <name>features-dashboard-webapp</name>
-    <description>features-dashboard-webapp</description>
-
-
-
-    <properties>
-        <CApp.type>web/application</CApp.type>
-    </properties>
-    <repositories>
-        <repository>
-            <id>wso2-maven2-repository-1</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </repository>
-    </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>wso2-maven2-repository-1</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </pluginRepository>
-    </pluginRepositories>
-    <build>
-        <sourceDirectory>src</sourceDirectory>
-        <plugins>
-               <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Export-Package>
-                            org.wso2.stratos.manager.dashboard.ui.*,
-                        </Export-Package>
-                        <Import-Package>
-                            org.wso2.carbon.ui.servlets.*,
-                            javax.servlet; version=2.4.0,
-                            javax.servlet.http; version=2.4.0,
-                            org.apache.lucene.*,
-                            *;resolution:=optional
-                        </Import-Package>
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <configuration>
-                            <sources/>
-                        </configuration>
-                    </execution>
-                </executions>
-                <configuration/>
-            </plugin>
-            <plugin>
-                <artifactId>maven-war-plugin</artifactId>
-                <version>2.1.1</version>
-                <executions>
-                    <execution>
-                        <id>war</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>war</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <warSourceDirectory>WebContent</warSourceDirectory>
-                    <warName>features-dashboard</warName>
-                </configuration>
-            </plugin>
-            <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-     <dependencies>
-
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-        </dependency>
-       
-        
-    </dependencies>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Data.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Data.java b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Data.java
deleted file mode 100755
index 4aed361..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Data.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.beans;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-public class Data {
-	private Map<String, Service> service;
-
-	public Data() {
-		this.service = new HashMap<String, Service>();
-	}
-
-	public Map<String, Service> getServices() {
-		return service;
-	}
-
-	public String [] getKeys() {
-		Set<String>  temp = this.getServices().keySet();
-		return  temp.toArray(new String[0]);
-	}
-	
-	public  String [] getServiceNames() {
-		List <String> keyList = new ArrayList<String>();
-		for (Map.Entry<String, Service> entry : service.entrySet())
-		{
-			Service tempService = entry.getValue();
-			keyList.add(tempService.getName());
-		}
-		return keyList.toArray(new String[keyList.size()]);
-	}
-
-	public Service getService(String key) {
-		return this.getServices().get(key);
-	}
-
-	public void addService(Service service) {
-		this.getServices().put(service.getKey(), service);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Link.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Link.java b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Link.java
deleted file mode 100755
index a793ab7..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Link.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.beans;
-
-public class Link {
-	private String url;
-	private String description;
-
-	public String getUrl() {
-		return url;
-	}
-
-	public void setUrl(String url) {
-		this.url = url;
-	}
-
-	public String getDescription() {
-		return description;
-	}
-
-	public void setDescription(String description) {
-		this.description = description;
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Service.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Service.java b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Service.java
deleted file mode 100755
index 8367d57..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Service.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.beans;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class Service {
-
-	private String name;
-	private String link;
-	private String key;
-
-	public String getKey() {
-		return key;
-	}
-
-	public void setKey(String key) {
-		this.key = key;
-	}
-
-	public String getLink() {
-		return link;
-	}
-
-	public void setLink(String link) {
-		this.link = link;
-	}
-
-	private Map<String, Story> stories;
-
-	public Service() {
-		this.stories = new HashMap<String, Story>();
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public Map<String, Story> getStories() {
-		return stories;
-	}
-
-	public void setStories(Map<String, Story> stories) {
-		this.stories = stories;
-	}
-
-	public void addStories(Story story) {
-		this.getStories().put(story.getTitle(), story);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Story.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Story.java b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Story.java
deleted file mode 100755
index db00a22..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Story.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.beans;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class Story {
-	
-	private String title;
-	private Map<String, Link> links;
-	private String content;
-	
-	public Story () {
-		this.links =  new HashMap<String,Link>();
-	}
-	
-	public Map<String, Link> getLinks() {
-		return links;
-	}
-
-	public void setLinks(Map<String, Link> links) {
-		this.links = links;
-	}
-
-	public String getContent() {
-		return content;
-	}
-
-	public void setContent(String content) {
-		this.content = content;
-	}
-
-	public String getTitle() {
-		return title;
-	}
-
-	public void setTitle(String title) {
-		this.title = title;
-	}
-
-	public void addLink(Link link) {
-		this.getLinks().put(link.getUrl(), link);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/utils/Utils.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/utils/Utils.java b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/utils/Utils.java
deleted file mode 100755
index 773154d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/utils/Utils.java
+++ /dev/null
@@ -1,159 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.utils;
-import java.io.File;
-import java.io.FileInputStream;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.axiom.om.OMAttribute;
-import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.impl.builder.StAXOMBuilder;
-import org.wso2.stratos.manager.feature.dashbord.ui.beans.Data;
-import org.wso2.stratos.manager.feature.dashbord.ui.beans.Link;
-import org.wso2.stratos.manager.feature.dashbord.ui.beans.Service;
-import org.wso2.stratos.manager.feature.dashbord.ui.beans.Story;
-
-public class Utils {
-
-	public static Data pupulateDashboardFeatures() {
-		File featureDashboardXML = new File(getFeatureXMLFilePath());
-		//File featureDashboardXML = new File("features-dashboard.xml");
-		
-		Data data = new  Data();
-		try {
-			XMLStreamReader parser = xmlInputFactory.createXMLStreamReader(new FileInputStream(
-					featureDashboardXML));
-			StAXOMBuilder builder = new StAXOMBuilder(parser);
-			OMElement documentElement =  builder.getDocumentElement();
-			documentElement.build();
-			Iterator<OMElement> txElements = documentElement.getChildrenWithName(new QName("service"));
-		
-			while (txElements.hasNext()) {
-				OMElement txEle = txElements.next();
-				data.addService(getService(txEle));
-			}
-			Service service = data.getService("manager");
-
-//			Map<String, Story> stories = service.getStories();
-//			System.out.println(stories.size());
-//			int index = 1;
-//			for (Map.Entry<String, Story> entry : stories.entrySet()) {
-//				String divClassName = "story col" + index;
-//				Story tempStory = entry.getValue();
-//				String storyName = tempStory.getTitle();
-//				String storyContent = tempStory.getContent();
-//				System.out.println("Title : "+storyName+ " Content"+ storyContent);
-				//Map<String, Link> links = tempStory.getLinks();
-				//System.out.println("Size "+links.size());
-//			}
-//			String serviceNames [] = data.getKeys();
-//			for (String name : serviceNames) {
-//				System.out.println(name);
-				
-//				Service myservice =  data.getService(name);
-//				String name1 = myservice.getName();
-//				String link = myservice.getLink();
-//			    System.out.println(name1 + "/" + link);
-//			}
-//			 Map<String, Service> allServices= data.getServices();
-//			System.out.println(allServices.size());
-//			for (Map.Entry<String, Service> entry : allServices.entrySet())
-//			{
-//				Service myservice =  entry.getValue();
-//				String name = myservice.getName();
-//				String link = myservice.getLink();
-//			    System.out.println(name + "/" + link);
-//			}
-
-
-		 
-		} catch (Exception e) {
-			e.printStackTrace();
-		}
-		return data;
-	
-	}
-// + File.separator + "lib" + File.separator + 
-	public static String getFeatureXMLFilePath() {
-        String carbonHome = System.getProperty("carbon.home");
-        if (carbonHome == null) {
-            carbonHome = System.getenv("CARBON_HOME");
-            System.setProperty("carbon.home", carbonHome);
-        }
-        return carbonHome+"/repository/conf/multitenancy/features-dashboard.xml";
-    }
-	private static Service getService(OMElement txEle) {
-		OMAttribute serviceEle = txEle.getAttribute(new QName("name"));
-		OMAttribute serviceLinkEle = txEle.getAttribute(new QName("link"));
-		OMAttribute serviceKeyEle = txEle.getAttribute(new QName("key"));
-		Service serviceInfo = new Service();
-		serviceInfo.setName(serviceEle.getAttributeValue());
-		serviceInfo.setLink(serviceLinkEle.getAttributeValue());
-		serviceInfo.setKey(serviceKeyEle.getAttributeValue());
-		Iterator<OMElement> storyElements = txEle.getChildrenWithName(new QName("story"));
-		while (storyElements.hasNext()) {
-			OMElement storyEle = storyElements.next();
-     		serviceInfo.addStories(getStory(storyEle));
-		}
-		return serviceInfo;
-		
-	}
-	
-	private static Link getLink(OMElement linEle) {
-	//	OMElement linkContentEle = linEle.getFirstChildWithName(new QName("link"));
-		OMAttribute linkAttribtute = linEle.getAttribute(new QName("url"));
-		Link link = new Link();
-		link.setDescription(linEle.getText());
-		link.setUrl(linkAttribtute.getAttributeValue());
-		return link;
-	}
-	
-	private static Story getStory(OMElement storyEle) {
-		OMAttribute storyAttribtute = storyEle.getAttribute(new QName("title"));
-		Story storyInfo = new Story();
-		storyInfo.setTitle(storyAttribtute.getAttributeValue());
-		OMElement storyContentEle = storyEle.getFirstChildWithName(new QName("story-content"));
-		if (storyContentEle != null) {
-			storyInfo.setContent(storyContentEle.getText());
-		}
-		OMElement storyLinkEle = storyEle.getFirstChildWithName(new QName("story-links"));
-		if (storyLinkEle != null) {
-			Iterator<OMElement> linkElements = storyLinkEle.getChildrenWithName(new QName("link"));
-			while (linkElements.hasNext()) {
-				OMElement linkEle = linkElements.next();
-				storyInfo.addLink(getLink(linkEle));
-			}
-		}
-		
-		return storyInfo;
-	}
-	
-	public static void main(String args[]) {
-		pupulateDashboardFeatures();
-//		String mystr[] = {"a","b","c","d"};
-//		String wntedString="";
-//		for (int i =0; i< mystr.length; i++) {
-//		
-//			if (i == mystr.length-1) {
-//				wntedString = wntedString+mystr[i];
-//			} else {
-//				wntedString = wntedString+mystr[i]+",";
-//			}
-//		}
-//		System.out.println(wntedString);
-	}
-
-	private static XMLInputFactory xmlInputFactory;
-
-	/** pre-fetch the XMLInputFactory */
-	static {
-		xmlInputFactory = XMLInputFactory.newInstance();
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/features/pom.xml
deleted file mode 100755
index 76c9d27..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features/pom.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-    
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2stratos2-features-parent</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos2 - Features Parent</name>
-    <url>http://wso2.org/projects/wsas/java</url>
-    <description>WSO2 Stratos2 Features Parent</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>service</module>
-    </modules>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features/service/etc/feature.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features/service/etc/feature.properties b/products/stratos2/stratos_controller/1.0.0/modules/features/service/etc/feature.properties
deleted file mode 100755
index ad7a553..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features/service/etc/feature.properties
+++ /dev/null
@@ -1,242 +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.
-################################################################################
-
-providerName=WSO2 Inc.
-
-########################## license properties ##################################
-licenseURL=http://www.apache.org/licenses/LICENSE-2.0
-
-license=\
-                                 Apache License\n\
-                           Version 2.0, January 2004\n\
-                        http://www.apache.org/licenses/\n\
-\n\
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\
-\n\
-   1. Definitions.\n\
-\n\
-      "License" shall mean the terms and conditions for use, reproduction,\n\
-      and distribution as defined by Sections 1 through 9 of this document.\n\
-\n\
-      "Licensor" shall mean the copyright owner or entity authorized by\n\
-      the copyright owner that is granting the License.\n\
-\n\
-      "Legal Entity" shall mean the union of the acting entity and all\n\
-      other entities that control, are controlled by, or are under common\n\
-      control with that entity. For the purposes of this definition,\n\
-      "control" means (i) the power, direct or indirect, to cause the\n\
-      direction or management of such entity, whether by contract or\n\
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n\
-      outstanding shares, or (iii) beneficial ownership of such entity.\n\
-\n\
-      "You" (or "Your") shall mean an individual or Legal Entity\n\
-      exercising permissions granted by this License.\n\
-\n\
-      "Source" form shall mean the preferred form for making modifications,\n\
-      including but not limited to software source code, documentation\n\
-      source, and configuration files.\n\
-\n\
-      "Object" form shall mean any form resulting from mechanical\n\
-      transformation or translation of a Source form, including but\n\
-      not limited to compiled object code, generated documentation,\n\
-      and conversions to other media types.\n\
-\n\
-      "Work" shall mean the work of authorship, whether in Source or\n\
-      Object form, made available under the License, as indicated by a\n\
-      copyright notice that is included in or attached to the work\n\
-      (an example is provided in the Appendix below).\n\
-\n\
-      "Derivative Works" shall mean any work, whether in Source or Object\n\
-      form, that is based on (or derived from) the Work and for which the\n\
-      editorial revisions, annotations, elaborations, or other modifications\n\
-      represent, as a whole, an original work of authorship. For the purposes\n\
-      of this License, Derivative Works shall not include works that remain\n\
-      separable from, or merely link (or bind by name) to the interfaces of,\n\
-      the Work and Derivative Works thereof.\n\
-\n\
-      "Contribution" shall mean any work of authorship, including\n\
-      the original version of the Work and any modifications or additions\n\
-      to that Work or Derivative Works thereof, that is intentionally\n\
-      submitted to Licensor for inclusion in the Work by the copyright owner\n\
-      or by an individual or Legal Entity authorized to submit on behalf of\n\
-      the copyright owner. For the purposes of this definition, "submitted"\n\
-      means any form of electronic, verbal, or written communication sent\n\
-      to the Licensor or its representatives, including but not limited to\n\
-      communication on electronic mailing lists, source code control systems,\n\
-      and issue tracking systems that are managed by, or on behalf of, the\n\
-      Licensor for the purpose of discussing and improving the Work, but\n\
-      excluding communication that is conspicuously marked or otherwise\n\
-      designated in writing by the copyright owner as "Not a Contribution."\n\
-\n\
-      "Contributor" shall mean Licensor and any individual or Legal Entity\n\
-      on behalf of whom a Contribution has been received by Licensor and\n\
-      subsequently incorporated within the Work.\n\
-\n\
-   2. Grant of Copyright License. Subject to the terms and conditions of\n\
-      this License, each Contributor hereby grants to You a perpetual,\n\
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n\
-      copyright license to reproduce, prepare Derivative Works of,\n\
-      publicly display, publicly perform, sublicense, and distribute the\n\
-      Work and such Derivative Works in Source or Object form.\n\
-\n\
-   3. Grant of Patent License. Subject to the terms and conditions of\n\
-      this License, each Contributor hereby grants to You a perpetual,\n\
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n\
-      (except as stated in this section) patent license to make, have made,\n\
-      use, offer to sell, sell, import, and otherwise transfer the Work,\n\
-      where such license applies only to those patent claims licensable\n\
-      by such Contributor that are necessarily infringed by their\n\
-      Contribution(s) alone or by combination of their Contribution(s)\n\
-      with the Work to which such Contribution(s) was submitted. If You\n\
-      institute patent litigation against any entity (including a\n\
-      cross-claim or counterclaim in a lawsuit) alleging that the Work\n\
-      or a Contribution incorporated within the Work constitutes direct\n\
-      or contributory patent infringement, then any patent licenses\n\
-      granted to You under this License for that Work shall terminate\n\
-      as of the date such litigation is filed.\n\
-\n\
-   4. Redistribution. You may reproduce and distribute copies of the\n\
-      Work or Derivative Works thereof in any medium, with or without\n\
-      modifications, and in Source or Object form, provided that You\n\
-      meet the following conditions:\n\
-\n\
-      (a) You must give any other recipients of the Work or\n\
-          Derivative Works a copy of this License; and\n\
-\n\
-      (b) You must cause any modified files to carry prominent notices\n\
-          stating that You changed the files; and\n\
-\n\
-      (c) You must retain, in the Source form of any Derivative Works\n\
-          that You distribute, all copyright, patent, trademark, and\n\
-          attribution notices from the Source form of the Work,\n\
-          excluding those notices that do not pertain to any part of\n\
-          the Derivative Works; and\n\
-\n\
-      (d) If the Work includes a "NOTICE" text file as part of its\n\
-          distribution, then any Derivative Works that You distribute must\n\
-          include a readable copy of the attribution notices contained\n\
-          within such NOTICE file, excluding those notices that do not\n\
-          pertain to any part of the Derivative Works, in at least one\n\
-          of the following places: within a NOTICE text file distributed\n\
-          as part of the Derivative Works; within the Source form or\n\
-          documentation, if provided along with the Derivative Works; or,\n\
-          within a display generated by the Derivative Works, if and\n\
-          wherever such third-party notices normally appear. The contents\n\
-          of the NOTICE file are for informational purposes only and\n\
-          do not modify the License. You may add Your own attribution\n\
-          notices within Derivative Works that You distribute, alongside\n\
-          or as an addendum to the NOTICE text from the Work, provided\n\
-          that such additional attribution notices cannot be construed\n\
-          as modifying the License.\n\
-\n\
-      You may add Your own copyright statement to Your modifications and\n\
-      may provide additional or different license terms and conditions\n\
-      for use, reproduction, or distribution of Your modifications, or\n\
-      for any such Derivative Works as a whole, provided Your use,\n\
-      reproduction, and distribution of the Work otherwise complies with\n\
-      the conditions stated in this License.\n\
-\n\
-   5. Submission of Contributions. Unless You explicitly state otherwise,\n\
-      any Contribution intentionally submitted for inclusion in the Work\n\
-      by You to the Licensor shall be under the terms and conditions of\n\
-      this License, without any additional terms or conditions.\n\
-      Notwithstanding the above, nothing herein shall supersede or modify\n\
-      the terms of any separate license agreement you may have executed\n\
-      with Licensor regarding such Contributions.\n\
-\n\
-   6. Trademarks. This License does not grant permission to use the trade\n\
-      names, trademarks, service marks, or product names of the Licensor,\n\
-      except as required for reasonable and customary use in describing the\n\
-      origin of the Work and reproducing the content of the NOTICE file.\n\
-\n\
-   7. Disclaimer of Warranty. Unless required by applicable law or\n\
-      agreed to in writing, Licensor provides the Work (and each\n\
-      Contributor provides its Contributions) on an "AS IS" BASIS,\n\
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n\
-      implied, including, without limitation, any warranties or conditions\n\
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n\
-      PARTICULAR PURPOSE. You are solely responsible for determining the\n\
-      appropriateness of using or redistributing the Work and assume any\n\
-      risks associated with Your exercise of permissions under this License.\n\
-\n\
-   8. Limitation of Liability. In no event and under no legal theory,\n\
-      whether in tort (including negligence), contract, or otherwise,\n\
-      unless required by applicable law (such as deliberate and grossly\n\
-      negligent acts) or agreed to in writing, shall any Contributor be\n\
-      liable to You for damages, including any direct, indirect, special,\n\
-      incidental, or consequential damages of any character arising as a\n\
-      result of this License or out of the use or inability to use the\n\
-      Work (including but not limited to damages for loss of goodwill,\n\
-      work stoppage, computer failure or malfunction, or any and all\n\
-      other commercial damages or losses), even if such Contributor\n\
-      has been advised of the possibility of such damages.\n\
-\n\
-   9. Accepting Warranty or Additional Liability. While redistributing\n\
-      the Work or Derivative Works thereof, You may choose to offer,\n\
-      and charge a fee for, acceptance of support, warranty, indemnity,\n\
-      or other liability obligations and/or rights consistent with this\n\
-      License. However, in accepting such obligations, You may act only\n\
-      on Your own behalf and on Your sole responsibility, not on behalf\n\
-      of any other Contributor, and only if You agree to indemnify,\n\
-      defend, and hold each Contributor harmless for any liability\n\
-      incurred by, or claims asserted against, such Contributor by reason\n\
-      of your accepting any such warranty or additional liability.\n\
-\n\
-   END OF TERMS AND CONDITIONS\n\
-\n\
-   APPENDIX: How to apply the Apache License to your work.\n\
-\n\
-      To apply the Apache License to your work, attach the following\n\
-      boilerplate notice, with the fields enclosed by brackets "[]"\n\
-      replaced with your own identifying information. (Don't include\n\
-      the brackets!)  The text should be enclosed in the appropriate\n\
-      comment syntax for the file format. We also recommend that a\n\
-      file or class name and description of purpose be included on the\n\
-      same "printed page" as the copyright notice for easier\n\
-      identification within third-party archives.\n\
-\n\
-   Copyright [yyyy] [name of copyright owner]\n\
-\n\
-   Licensed under the Apache License, Version 2.0 (the "License");\n\
-   you may not use this file except in compliance with the License.\n\
-   You may obtain a copy of the License at\n\
-\n\
-       http://www.apache.org/licenses/LICENSE-2.0\n\
-\n\
-   Unless required by applicable law or agreed to in writing, software\n\
-   distributed under the License is distributed on an "AS IS" BASIS,\n\
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
-   See the License for the specific language governing permissions and\n\
-   limitations under the License.\n
-
-######################### copyright properties #################################
-copyrightURL=TODO
-
-copyright=\
-Copyright (c) WSO2 Inc. (http://wso2.com)\n\
-\n\
-Licensed under the Apache License, Version 2.0 (the "License");\n\
-you may not use this file except in compliance with the License.\n\
-You may obtain a copy of the License at\n\
-\n\
-http://www.apache.org/licenses/LICENSE-2.0\n\
-\n\
-Unless required by applicable law or agreed to in writing, software\n\
-distributed under the License is distributed on an "AS IS" BASIS,\n\
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
-See the License for the specific language governing permissions and\n\
-limitations under the License.\n
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.feature/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.feature/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.feature/pom.xml
deleted file mode 100755
index 5b6fe59..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.feature/pom.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.
--->
-
-<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.stratos2</groupId>
-        <artifactId>wso2stratos2-features-parent</artifactId>
-        <version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos2.feature</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos - Cloud Manager Composite Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the bundles required for Cloud Manager functionality
-    </description>
-
-     <dependencies>
-        <dependency>
-            <groupId>org.wso2.stratos2</groupId>
-            <artifactId>org.wso2.stratos2.server.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-        <dependency>
-            <groupId>org.wso2.stratos2</groupId>
-            <artifactId>org.wso2.stratos2.ui.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.stratos2</id>
-                            <propertiesFile>../etc/feature.properties</propertiesFile>
-                            <includedFeatures>
-                                <includedFeatureDef>
-                                    org.wso2.stratos2:org.wso2.stratos2.server.feature
-                                </includedFeatureDef>
-                                <includedFeatureDef>
-                                    org.wso2.stratos2:org.wso2.stratos2.ui.feature
-                                </includedFeatureDef>
-                            </includedFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.server.feature/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.server.feature/pom.xml b/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.server.feature/pom.xml
deleted file mode 100755
index 8f6f3e8..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features/service/org.wso2.stratos2.server.feature/pom.xml
+++ /dev/null
@@ -1,237 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!--
- ~ Copyright (c) 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.
--->
-
-<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.stratos2</groupId>
-        <artifactId>wso2stratos2-features-parent</artifactId>
-        <version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos2.server.feature</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0.0</version>
-    <name>WSO2 Stratos - Cloud Manager Core Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the core bundles required for Back-end Cloud Manager
-        functionality
-    </description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.account.mgt</artifactId>
-	    <version>${stratos.component.version}</version>
-        </dependency>
-        <!--<dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.common</artifactId>
-        </dependency>-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.email.sender</artifactId>
-	        <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt.core</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt.email.sender</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.theme.mgt</artifactId>
-	    <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.validate.domain</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.keystore.mgt</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.email.verification</artifactId>
-		<version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task</artifactId>
-	<version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.quartz-scheduler.wso2</groupId>
-            <artifactId>quartz</artifactId>
-	<version>2.1.1.wso2v1</version>
-        </dependency>
-        <!--<dependency>
-            <groupId>org.mvel.wso2</groupId>
-            <artifactId>mvel2</artifactId>
-            <version>2.0.10.wso2v1</version>
-        </dependency>-->
-        <dependency>
-            <groupId>joda-time.wso2</groupId>
-            <artifactId>joda-time</artifactId>
-            <version>1.6.0.wso2v1</version>
-        </dependency>
-        <!--<dependency>
-            <groupId>antlr.wso2</groupId>
-            <artifactId>antlr</artifactId>
-            <version>${antlr.wso2.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.antlr.wso2</groupId>
-            <artifactId>antlr-runtime</artifactId>
-            <version>3.2.0.wso2v1</version>
-        </dependency>-->
-        <dependency>
-            <groupId>janino.wso2</groupId>
-            <artifactId>janino</artifactId>
-            <version>2.5.15.wso2v1</version>
-        </dependency>
-	    <dependency>
-            <groupId>org.apache.axis.wso2</groupId>
-            <artifactId>axis</artifactId>
-            <version>1.4.0.wso2v1</version>
-        </dependency>
-
-
-        <!--<dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-core</artifactId>
-	<version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-commons</artifactId>
-	<version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-extensions</artifactId>
-	<version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-tasks</artifactId>
-	<version>${synapse.version}</version>
-        </dependency>-->
-        <dependency>
-            <groupId>kaptcha.wso2</groupId>
-            <artifactId>kaptcha</artifactId>
-	<version>2.3.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.security.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-   <dependency>
-                <groupId>org.wso2.stratos2</groupId>
-                <artifactId>org.wso2.stratos.manager.services.mgt</artifactId>
-                <version>${stratos.controller.version}</version>
-            </dependency>
-    </dependencies>
-
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.stratos2.server</id>
-                            <propertiesFile>../etc/feature.properties</propertiesFile>
-                            <adviceFile>
-                                <properties>
-                                    <propertyDef>org.wso2.carbon.p2.category.type:server
-                                    </propertyDef>
-                                    <propertyDef>org.eclipse.equinox.p2.type.group:false
-                                    </propertyDef>
-                                </properties>
-                            </adviceFile>
-                            <bundles>
-                                <bundleDef>org.quartz-scheduler.wso2:quartz</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.task:${carbon.version}</bundleDef>
-                                <!--<bundleDef>org.mvel.wso2:mvel2</bundleDef>-->
-                                <bundleDef>joda-time.wso2:joda-time</bundleDef>
-                                <!--<bundleDef>antlr.wso2:antlr</bundleDef>
-                                <bundleDef>org.antlr.wso2:antlr-runtime</bundleDef>-->
-                                <bundleDef>janino.wso2:janino:2.5.15.wso2v1</bundleDef>
-				<bundleDef>org.apache.axis.wso2:axis:1.4.0.wso2v1</bundleDef>
-
-                                <!--<bundleDef>org.apache.synapse:synapse-core:2.1.0-wso2v7</bundleDef>
-                                <bundleDef>org.apache.synapse:synapse-commons:2.1.0-wso2v7</bundleDef>
-                                <bundleDef>org.apache.synapse:synapse-extensions:2.1.0-wso2v7</bundleDef>
-                                <bundleDef>org.apache.synapse:synapse-tasks:2.1.0-wso2v7</bundleDef>-->
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.payment.paypal:${stratos.component.version}</bundleDef>
-				<bundleDef>com.paypal.sdk.wso2:paypal:1.1.0.wso2v1</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.business.messaging.paypal.integration.core:${carbon.version}</bundleDef>
-				
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.stratos.common</bundleDef>-->
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.email.sender:${stratos.component.version}</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.email.sender:${stratos.component.version}</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.account.mgt:${stratos.component.version}</bundleDef>
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt</bundleDef>-->
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.core</bundleDef>-->
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.theme.mgt</bundleDef>-->
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.validate.domain:${stratos.component.version}</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.email.verification:${carbon.version}</bundleDef>
-                                <bundleDef>org.wso2.stratos2:org.wso2.stratos.manager.services.mgt:1.0.0</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.keystore.mgt:${stratos.component.version}</bundleDef>
-                                <bundleDef>kaptcha.wso2:kaptcha:2.3.0.wso2v1</bundleDef>
-                                <!-- stubs -->
-                            </bundles>
-                            <importFeatures>
-                                <importFeatureDef>org.wso2.carbon.core.server:${carbon.version}</importFeatureDef>
-                                <importFeatureDef>org.wso2.carbon.security.mgt:${carbon.version}</importFeatureDef>
-                            </importFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>


[06/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
new file mode 100644
index 0000000..c2b3936
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
@@ -0,0 +1,243 @@
+<!--
+~ 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.
+-->
+<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
+<%@ page import="org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService" %>
+<%@ page import="org.wso2.carbon.registry.core.exceptions.RegistryException" %>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
+<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
+<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %>
+<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
+<%@ page import="org.wso2.carbon.account.mgt.ui.clients.AccountMgtClient" %>
+<%@ page import="org.wso2.carbon.utils.multitenancy.MultitenantConstants" %>
+<%@ page import="org.wso2.stratos.manager.dashboard.ui.utils.Util" %>
+
+<jsp:include page="../registry_common/registry_common-i18n-ajaxprocessor.jsp"/>
+<script type="text/javascript" src="../registry_common/js/registry_validation.js"></script>
+<script type="text/javascript" src="../registry_common/js/registry_common.js"></script>
+<script type="text/javascript" src="../tenant-dashboard/js/dashboard.js"></script>
+<link href="../tenant-dashboard/css/dashboard.css" rel="stylesheet" type="text/css" media="all"/>
+<script type="text/javascript" src="../tenant-dashboard/js/configurations.js"></script>
+
+
+
+<%
+
+    CloudManagerServiceClient cloudManagerClient;
+    CloudService[] cloudServices = null;
+    String error = "Error in getting the available and active service details.";
+    try {
+        cloudManagerClient = new CloudManagerServiceClient(request, config, session);
+        cloudServices = cloudManagerClient.retrieveCloudServiceInfo();
+    } catch (Exception e) {
+        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, CarbonUIMessage.ERROR, e));
+%>
+<jsp:include page="../admin/error.jsp"/>
+<%
+        return;
+    }
+%>
+<fmt:bundle basename="org.wso2.stratos.manager.dashboard.ui.i18n.Resources">
+    <carbon:jsi18n
+            resourceBundle="org.wso2.stratos.manager.dashboard.ui.i18n.JSResources"
+            request="<%=request%>" namespace="org.wso2.stratos.manager.dashboard.ui"/>
+
+    <div id="middle">
+        <h2><fmt:message key="cloud.services"/></h2>
+        <%
+            try {
+                // if the account management permission there, we are showing the message to validate email address
+                if (CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/account")) {
+                    try {
+                        AccountMgtClient client = new AccountMgtClient(config, session);
+                        boolean isEmailValidated = client.isEmailValidated();
+
+                        if (!isEmailValidated) {
+        %>
+
+        <div class="green-note">Your organization has not validated the contact email address
+            yet. Please validate it following
+            the instructions in the <a href="../account-mgt/account_mgt.jsp">Account
+                Management</a> page (Accessible from Configure-&gt;Account menu).
+        </div>
+        <%
+            }else{
+			%>
+			<div class="green-note"></div>
+			<%
+			}
+        } catch (Exception e) {
+            request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, error, null));
+        %>
+        <jsp:include page="../admin/error.jsp?<%=error%>"/>
+        <%
+                    return;
+                }
+            }
+            String tenantDomain;
+            if (session.getAttribute(MultitenantConstants.TENANT_DOMAIN) != null) {
+                tenantDomain = (String) session.getAttribute(MultitenantConstants.TENANT_DOMAIN);
+            } else {
+                // user is not logged in or just logged out, but still they are inside url own to the domain
+                tenantDomain = (String) request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
+            }
+            String linkSuffix = "";
+            if (tenantDomain != null) {
+                linkSuffix = "/" + MultitenantConstants.TENANT_AWARE_URL_PREFIX + "/" + tenantDomain;
+            }
+            %> <script type="text/javascript">
+            linkSuffix = '<%=linkSuffix%>';
+           </script> <%
+	  
+            for (CloudService cloudService : cloudServices) {
+                String name = cloudService.getName();
+                String projectPageUrl = cloudService.getProductPageURL();
+                String link = cloudService.getLink() + linkSuffix;
+                if (name.equals("WSO2 Stratos Application Server")) {
+        %>
+        <script type="text/javascript">
+            asUrl = '<%=link%>';
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Enterprise Service Bus")) {
+
+        %>
+        <script type="text/javascript">
+            esbUrl = '<%=link%>';
+        </script>
+        <%
+
+        } else if (name.equals("WSO2 Stratos Data Services Server")) {
+        %>
+        <script type="text/javascript">
+            dssUrl = '<%=link%>';
+
+        </script>
+        <%
+
+        } else if (name.equals("WSO2 Stratos Governance")) {
+
+        %>
+        <script type="text/javascript">
+            gregUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Identity")) {
+        %>
+        <script type="text/javascript">
+            isUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Business Process Server")) {
+        %>
+        <script type="text/javascript">
+            bpsUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Business Rules Server")) {
+        %>
+        <script type="text/javascript">
+            brsUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Mashup Server")) {
+        %>
+        <script type="text/javascript">
+            msUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Gadget Server")) {
+        %>
+        <script type="text/javascript">
+            gsUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Complex Event Processing Server")) {
+        %>
+        <script type="text/javascript">
+            cepUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Message Broker")) {
+        %>
+        <script type="text/javascript">
+            mbUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Business Activity Monitor")) {
+        %>
+        <script type="text/javascript">
+            bamUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else if (name.equals("WSO2 Stratos Cloud Gateway")) {
+        %>
+        <script type="text/javascript">
+            csgUrl = '<%=link%>';
+
+        </script>
+        <%
+        } else {
+        %>
+        <script type="text/javascript">
+            managerUrl = '<%=link%>';
+        </script>
+        <%
+                }
+            }
+        } catch (Exception e) {
+            request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, error, null));
+        %>
+        <jsp:include page="../admin/error.jsp?<%=error%>"/>
+        <%
+                return;
+            }
+
+        %>
+
+        <div id="workArea">
+
+
+            <div id="dashboard">
+
+            </div>
+
+            <script type="text/javascript">
+
+                jQuery(document).ready(function() {
+                    jQuery('#dashboard').load('../../../../features-dashboard/tenant-dashboard/index.jsp');
+                });
+
+                var menuPanel = document.getElementById('menu-panel');
+                var menuSlider0 = document.getElementById('menu-panel-button0');
+                jQuery(menuPanel).hide();
+                jQuery(menuSlider0).removeClass('showToHidden');
+                jQuery(menuSlider0).addClass('hiddenToShow');
+                document.cookie = "menuPanel=none;path=/;expires=" + cookie_date.toGMTString();
+            </script>
+        </div>
+    </div>
+</fmt:bundle>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
new file mode 100644
index 0000000..6a9d212
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/js/configurations.js
@@ -0,0 +1,381 @@
+//service urls
+var managerUrl;
+var asUrl;
+var dssUrl;
+var esbUrl;
+var gregUrl;
+var msUrl;
+var gsUrl;
+var mbUrl;
+var cepUrl;
+var isUrl;
+var bpsUrl;
+var brsUrl;
+var bamUrl;
+var csgUrl;
+var linkSuffix;
+
+// array definitions to store service feature urls
+var managerFeaturesURL=new Array;
+var asFeaturesUrl = new Array;
+var dssFeaturesUrl = new Array;
+var esbFeaturesUrl = new Array;
+var gregFeaturesUrl = new Array;
+var msFeaturesUrl = new Array;
+var gsFeaturesUrl = new Array;
+var mbFeaturesUrl = new Array;
+var cepFeaturesUrl = new Array;
+var isFeaturesUrl = new Array;
+var bpsFeaturesUrl = new Array;
+var brsFeaturesUrl = new Array;
+var bamFeaturesUrl = new Array;
+var csgFeaturesUrl = new Array;
+
+
+// urls of features
+
+// Manager
+managerFeaturesURL[0]="/carbon/tenant-billing/past_invoice.jsp"; // link to billing component
+managerFeaturesURL[1]="/carbon/tenant-billing/docs/userguide.html"; // billing component docs
+managerFeaturesURL[2]="/carbon/tenant-usage/tenant_usage.jsp" ; // link to metering component
+managerFeaturesURL[3]="/carbon/tenant-usage/docs/userguide.html"
+managerFeaturesURL[4]="/carbon/account-mgt/account_mgt.jsp"
+managerFeaturesURL[5]="/carbon/account-mgt/docs/userguide.html"
+managerFeaturesURL[6]="/carbon/userstore/index.jsp"
+managerFeaturesURL[7]="/carbon/userstore/docs/userguide.html"
+//app server
+asFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to web service hosting
+asFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //web service hosting docs
+asFeaturesUrl[2]="/carbon/webapp-mgt/upload.jsp";//web -app hosting
+asFeaturesUrl[3]="/carbon/webapp-mgt/docs/userguide.html";//web -app hosting docs
+asFeaturesUrl[4]="/carbon/tracer/index.jsp";//message tracing
+asFeaturesUrl[5]="/carbon/tracer/docs/userguide.html";//message tracing docs
+asFeaturesUrl[6]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
+asFeaturesUrl[7]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
+asFeaturesUrl[8]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
+asFeaturesUrl[9]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
+asFeaturesUrl[10]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
+asFeaturesUrl[11]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs
+asFeaturesUrl[12]="/carbon/modulemgt/index.jsp";//axis2 modules mgmnt
+asFeaturesUrl[13]="/carbon/modulemgt/docs/userguide.html";//axis2 modules mgmnt docs
+asFeaturesUrl[14]="/carbon/tryit/index.jsp";//Service testing
+asFeaturesUrl[15]="/carbon/tryit/docs/userguide.html";//service testing docs
+
+//bam server
+bamFeaturesUrl[0]="/carbon/bam-server-data/mediation_data.jsp";  // link to Real Time Mediation Monitoring
+bamFeaturesUrl[1]="/carbon/bam-server-data/docs/userguide.html";  // link to Real Time Mediation Monitoring docs
+bamFeaturesUrl[2]="/carbon/bam-server-data/mediation_analytics.jsp"; //link to Mediation Analysis
+bamFeaturesUrl[3]="/carbon/bam-server-data/docs/userguide.html"; //link to Mediation Analysis docs
+bamFeaturesUrl[4]="/carbon/bam-server-data/service_data.jsp";//link to Real time Service Monitoring
+bamFeaturesUrl[5]="/carbon/bam-server-data/docs/userguide.html";//link to Real time Service Monitoring docs
+bamFeaturesUrl[6]="";//link to Summary Generation
+bamFeaturesUrl[7]="";//link to Summary Generation
+bamFeaturesUrl[8]="/carbon/bam-server-data/service_stats.jsp";//link to Service Invocation Analysis
+bamFeaturesUrl[9]="/carbon/bam-server-data/docs/userguide.html";//link to Service Invocation Analysis docs
+bamFeaturesUrl[10]="/carbon/dashboard/index.jsp";//link to Dashboard
+bamFeaturesUrl[11]="/carbon/dashboard/docs/userguide.html";//link to Dashboard docs
+bamFeaturesUrl[12]="";//link to Activity Correlation and Monitoring
+bamFeaturesUrl[13]="";//link to Activity Correlation and Monitoring docs
+bamFeaturesUrl[14]="";//link to Message Collection and Archival
+bamFeaturesUrl[15]="";//link to Message Collection and Archival docs
+
+//bps server
+bpsFeaturesUrl[0]="";  // link to WS-BPEL 2.0 and BPELWS 1.1
+bpsFeaturesUrl[1]="/carbon/admin/docs/userguide.html";  // link to WS-BPEL 2.0 and BPELWS 1.1 docs
+bpsFeaturesUrl[2]="";  // link Secure Business Processes
+bpsFeaturesUrl[3]="/carbon/admin/docs/userguide.html";  // link Secure Business Processes docs
+bamFeaturesUrl[4]="";//link to Process Monitoring
+bamFeaturesUrl[5]="/carbon/admin/docs/userguide.html";//link to Process Monitoring docs
+bpsFeaturesUrl[6]=""; //link to Instance Data Cleanup
+bpsFeaturesUrl[7]="/carbon/admin/docs/userguide.html"; //link to Instance Data Cleanup docs
+bpsFeaturesUrl[8]=""; //link to BPEL Extensions
+bpsFeaturesUrl[9]="/carbon/admin/docs/userguide.html"; //link to BPEL Extensions docs
+bamFeaturesUrl[10]="";//link to Process Versioning
+bamFeaturesUrl[11]="/carbon/admin/docs/userguide.html";//link to Process Versioning docs
+
+//brs server
+brsFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to web service hosting support
+brsFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //web service hosting docs
+brsFeaturesUrl[2]="/carbon/ruleservices/rule_service_wizard_step1.jsp";//Rule service creation support
+brsFeaturesUrl[3]="/carbon/ruleservices/docs/userguide.html";//Rule service creation support docs
+brsFeaturesUrl[4]="/carbon/resources/resource.jsp";//Registry as a Rule Repository
+brsFeaturesUrl[5]="/carbon/resources/docs/userguide.html";//Registry as a Rule Repository docs
+brsFeaturesUrl[6]="/carbon/tryit/index.jsp";//Service testing
+brsFeaturesUrl[7]="/carbon/tryit/docs/userguide.html";//service testing docs
+/*brsFeaturesUrl[8]="/carbon/tracer/index.jsp";//message tracing
+brsFeaturesUrl[9]="/carbon/tracer/docs/userguide.html";//message tracing docs
+brsFeaturesUrl[10]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
+brsFeaturesUrl[11]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
+brsFeaturesUrl[12]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
+brsFeaturesUrl[13]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
+brsFeaturesUrl[14]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
+brsFeaturesUrl[15]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs */
+
+//cep server
+cepFeaturesUrl[0]="/carbon/CEP/cep_queries.jsp"; // link to CEP buckets list
+cepFeaturesUrl[1]="/carbon/CEP/docs/userguide.html"; // link to CEP buckets doc
+cepFeaturesUrl[2]= "/carbon/resources/resource.jsp?region=region3&item=resource_browser_menu&viewType=std&path=/_system/governance/message" ; // path to registry stored message boxes
+cepFeaturesUrl[3]="/carbon/messagebox/docs/userguide.html"; // message box docs
+
+//dss server
+dssFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  // link to Data Service Hosting
+dssFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; //Data Service Hosting docs
+dssFeaturesUrl[2]="/carbon/ds/scriptAddSource.jsp";//Data as a Service
+dssFeaturesUrl[3]="/carbon/ds/docs/userguide.html";//Data as a Service docs
+dssFeaturesUrl[4]="/carbon/tryit/index.jsp";//Service testing
+dssFeaturesUrl[5]="/carbon/tryit/docs/userguide.html";//service testing docs
+dssFeaturesUrl[6]="/carbon/tracer/index.jsp";//message tracing
+dssFeaturesUrl[7]="/carbon/tracer/docs/userguide.html";//message tracing docs
+dssFeaturesUrl[8]="/carbon/adminconsole/databases.jsp";//DB Explorer
+dssFeaturesUrl[9]="/carbon/adminconsole/docs/userguide.html";//DB Explorer docs
+/*dssFeaturesUrl[6]="/carbon/wsdl2code/index.jsp";//WSDL2Java Tool
+dssFeaturesUrl[7]="/carbon/wsdl2code/docs/userguide.html";//WSDL2Java Tool docs
+dssFeaturesUrl[8]="/carbon/java2wsdl/index.jsp";//Java2WSDL Tool
+dssFeaturesUrl[9]="/carbon/java2wsdl/docs/userguide.html";//Java2WSDL Tool docs
+dssFeaturesUrl[10]="/carbon/wsdl_validator/index.jsp";//WSDL Validator
+dssFeaturesUrl[11]="/carbon/wsdl_validator/docs/userguide.html";//WSDL Validator docs */
+
+//esb server
+esbFeaturesUrl[0]="/carbon/proxyservices/templates.jsp";  // Proxy Service
+esbFeaturesUrl[1]="/carbon/proxyservices/docs/userguide.html"; //Proxy Service docs
+esbFeaturesUrl[2]="/carbon/sequences/list_sequences.jsp";//Sequence
+esbFeaturesUrl[3]="/carbon/sequences/docs/userguide.html";//Sequence docs
+esbFeaturesUrl[4]="/carbon/endpoints/index.jsp";//Endpoint
+esbFeaturesUrl[5]="/carbon/endpoints/docs/userguide.html";//Endpoint docs
+esbFeaturesUrl[6]="/carbon/task/index.jsp";//Scheduled Tasks
+esbFeaturesUrl[7]="/carbon/task/docs/userguide.html";//Scheduled Tasks docs
+esbFeaturesUrl[8]="/carbon/message_processor/index.jsp";//Store and Forward
+esbFeaturesUrl[9]="/carbon/message_processor/docs/userguide.html";//Store and Forward docs
+esbFeaturesUrl[10]="/carbon/executors/list_executors.jsp";//Priority Execution
+esbFeaturesUrl[11]="/carbon/executors/docs/userguide.html";//Priority Execution docs
+esbFeaturesUrl[12]="/carbon/tryit/index.jsp";//Service testing
+esbFeaturesUrl[13]="/carbon/tryit/docs/userguide.html";//service testing docs
+esbFeaturesUrl[14]="/carbon/tracer/index.jsp";//message tracing
+esbFeaturesUrl[15]="/carbon/tracer/docs/userguide.html";//message tracing docs
+
+//greg server
+gregFeaturesUrl[0]="//carbon/services/services.jsp";  // Service
+gregFeaturesUrl[1]="/carbon/services/docs/userguide.html"; //Service docs
+gregFeaturesUrl[2]="/carbon/wsdl/wsdl.jsp";//WSDL
+gregFeaturesUrl[3]="/carbon/wsdl/docs/userguide.html";//WSDL docs
+gregFeaturesUrl[4]="/carbon/schema/schema.jsp";//Schema
+gregFeaturesUrl[5]="/carbon/schema/docs/userguide.html";//Schema docs
+gregFeaturesUrl[6]="/carbon/policy/policy.jsp";//Policy
+gregFeaturesUrl[7]="/carbon/policy/docs/userguide.html";//Policy docs
+gregFeaturesUrl[8]="/carbon/search/advancedSearch.jsp";//Search
+gregFeaturesUrl[9]="/carbon/search/docs/userguide.html";//Search docs
+gregFeaturesUrl[10]="/carbon/activities/activity.jsp";//Activities
+gregFeaturesUrl[11]="/carbon/activities/docs/userguide.html";//Activities docs
+gregFeaturesUrl[12]="/carbon/notifications/notifications.jsp";//Notifications
+gregFeaturesUrl[13]="/carbon/notifications/docs/userguide.html";//Notifications docs
+gregFeaturesUrl[14]="/carbon/extensions/add_extensions.jsp";//Extensions
+gregFeaturesUrl[15]="/carbon/extensions/docs/userguide.html";//Extensions docs
+
+//gs server
+gsFeaturesUrl[0]="";  // Enterprise Information Portal
+gsFeaturesUrl[1]=""; //Enterprise Information Portal docs
+gsFeaturesUrl[2]="";//Easy User Options
+gsFeaturesUrl[3]="";//Easy User Options docs
+gsFeaturesUrl[4]="";//Author Gadgets
+gsFeaturesUrl[5]="";//Author Gadgets docs
+gsFeaturesUrl[6]="";//Client-side Gadgets
+gsFeaturesUrl[7]="";//Client-side Gadgets docs
+gsFeaturesUrl[8]="";//Enterprise Gadget Repository
+gsFeaturesUrl[9]="";//Enterprise Gadget Repository docs
+gsFeaturesUrl[10]="";//Anonymous Mode
+gsFeaturesUrl[11]="";//Anonymous Mode docs
+gsFeaturesUrl[12]="";//Secure Sign-in Options
+gsFeaturesUrl[13]="";//Secure Sign-in Options docs
+gsFeaturesUrl[14]="";//Extensions Management Console
+gsFeaturesUrl[15]="";//Extensions Management Console docs
+
+//is server
+isFeaturesUrl[0]="/carbon/userprofile/index.jsp";  //User Profile
+isFeaturesUrl[1]="/carbon/userprofile/docs/userguide.html"; //User Profile docs
+isFeaturesUrl[2]="/carbon/identity-provider/index.jsp";//OpenID
+isFeaturesUrl[3]="/carbon/identity-provider/docs/userguide.html";//OpenID docs
+isFeaturesUrl[4]="/carbon/identity-provider/index.jsp";//Information Card
+isFeaturesUrl[5]="/carbon/identity-provider/docs/userguide.html";//Information Card docs
+isFeaturesUrl[6]="/carbon/sso-saml/manage_service_providers.jsp";//SAML 2.0 Single Sign-On
+isFeaturesUrl[7]="/carbon/sso-saml/docs/userguide.html";//SAML 2.0 Single Sign-On docs
+isFeaturesUrl[8]="/carbon/multi-factor/xmpp-config.jsp";//Multifactor Authentication
+isFeaturesUrl[9]="/carbon/multi-factor/docs/userguide.html";//Multifactor Authentication docs
+isFeaturesUrl[10]="/carbon/userstore/index.jsp";//Users and Roles
+isFeaturesUrl[11]="/carbon/userstore/docs/userguide.html";//Users and Roles docs
+isFeaturesUrl[12]="/carbon/identity-trusted-relying-parties/add-trusted-rp.jsp";//Relying Partie
+isFeaturesUrl[13]="/carbon/identity-trusted-relying-parties/docs/userguide.html";//Relying Partie docs
+isFeaturesUrl[14]="/carbon/keystoremgt/keystore-mgt.jsp";//Key Stores
+isFeaturesUrl[15]="/carbon/keystoremgt/docs/userguide.html";//Key Stores docs
+
+//mb server
+mbFeaturesUrl[0]="";  //Publish/Subscribe to Topics
+mbFeaturesUrl[1]=""; //Publish/Subscribe to Topics docs
+mbFeaturesUrl[2]="";//AMQP
+mbFeaturesUrl[3]="";//AMQP docs
+mbFeaturesUrl[4]="";//Topic Authorization
+mbFeaturesUrl[5]="";//Topic Authorization docs
+mbFeaturesUrl[6]="";//Manage topics and queues permissions
+mbFeaturesUrl[7]="";//Manage topics and queues permissions docs
+mbFeaturesUrl[8]="";//SQS support
+mbFeaturesUrl[9]="";//SQS support docs
+mbFeaturesUrl[10]="";//User based authorization for queues
+mbFeaturesUrl[11]="";//User based authorization for queues docs
+mbFeaturesUrl[12]="";//Manage message boxes
+mbFeaturesUrl[13]="";//Manage message boxes docs
+mbFeaturesUrl[14]="";//Message box as event sink
+mbFeaturesUrl[15]="";//Message box as event sink docs
+
+//ms server
+msFeaturesUrl[0]="/carbon/js_scraper/index.jsp";  //Scrape the Web
+msFeaturesUrl[1]="/carbon/js_scraper/docs/userguide.html"; //Scrape the Web docs
+msFeaturesUrl[2]="/carbon/js_service/newMashup.jsp";//Compose and Expose
+msFeaturesUrl[3]="/carbon/js_service/docs/userguide.html";//Compose and Expose docs
+msFeaturesUrl[4]="/carbon/task/index.jsp";//Schedule Tasks
+msFeaturesUrl[5]="/carbon/task/docs/userguide.html";//Schedule Tasks docs
+msFeaturesUrl[6]="";//Javascript Stubs
+msFeaturesUrl[7]="";//Javascript Stubs docs
+msFeaturesUrl[8]="/carbon/modulemgt/index.jsp";//Modules
+msFeaturesUrl[9]="/carbon/modulemgt/docs/userguide.html";//Modules docs
+msFeaturesUrl[10]="/carbon/tracer/index.jsp";//Message Tracing
+msFeaturesUrl[11]="/carbon/tracer/docs/userguide.html";//Message Tracing docs
+/*msFeaturesUrl[12]="";//Caching & Throttling
+msFeaturesUrl[13]="";//Caching & Throttling docs
+msFeaturesUrl[14]="";//service testing
+msFeaturesUrl[15]="";//service testing docs */
+
+
+//csg server
+csgFeaturesUrl[0]="/carbon/service-mgt/index.jsp";  
+csgFeaturesUrl[1]="/carbon/service-mgt/docs/userguide.html"; 
+
+// functions to generate urls of features upon onclick
+
+ function generateManagerFeatureUrl(which){
+	var featureUrl=managerFeaturesURL[which];
+	return window.open(featureUrl,'_self',false);
+ }
+
+
+function generateAsFeatureUrl(which){
+	var featureUrl=window.asUrl + asFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+
+function generateBamFeatureUrl(which){
+	var featureUrl=window.bamUrl + bamFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+
+function generateBpsFeatureUrl(which){
+	var featureUrl=window.bpsUrl + bpsFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+
+function generateBrsFeatureUrl(which){
+	var featureUrl=window.brsUrl + brsFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+function generateCepFeatureUrl(which){
+	var featureUrl=window.cepUrl + cepFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+function generateDssFeatureUrl(which){
+	var featureUrl=window.dssUrl + dssFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+function generateEsbFeatureUrl(which){
+	var featureUrl=window.esbUrl + esbFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+function generateGregFeatureUrl(which){
+	var featureUrl=window.gregUrl + gregFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+function generateGsFeatureUrl(which){
+	var featureUrl=window.gsUrl + gsFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+function generateIsFeatureUrl(which){
+	var featureUrl=window.isUrl + isFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+
+function generateMbFeatureUrl(which){
+	var featureUrl=window.mbUrl + mbFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+function generateMsFeatureUrl(which){
+	var featureUrl=window.msUrl + msFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+function generateCsgFeatureUrl(which){
+	var featureUrl=window.csgUrl + csgFeaturesUrl[which];
+	window.open(featureUrl);
+ }
+
+
+// functions to set the urls of services
+
+
+function gotoAppServer(){
+  window.open(asUrl,'_newtab')  ;
+}
+
+function gotoDss(){
+  window.open(dssUrl,'_newtab')  ;
+}
+
+function gotoEsb(){
+  window.open(esbUrl,'_newtab')  ;
+}
+
+
+function gotoMs(){
+  window.open(msUrl,'_newtab')  ;
+}
+
+function gotoIs(){
+  window.open(isUrl,'_newtab')  ;
+}
+
+function gotoGreg(){
+  window.open(gregUrl,'_newtab')  ;
+}
+
+function gotoGs(){
+  window.open(gsUrl,'_newtab')  ;
+}
+
+function gotoBam(){
+  window.open(bamUrl,'_newtab')  ;
+}
+
+
+function gotoBps(){
+  window.open(bpsUrl,'_newtab')  ;
+}
+
+
+function gotoBrs(){
+  window.open(brsUrl,'_newtab')  ;
+}
+
+function gotoCep(){
+  window.open(cepUrl,'_newtab')  ;
+}
+
+function gotoMb(){
+  window.open(mbUrl,'_newtab')  ;
+}
+
+function gotoCsg(){
+  window.open(csgUrl,'_newtab')  ;
+}
+
+
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
new file mode 100644
index 0000000..e294f8c
--- /dev/null
+++ b/products/stratos_controller/modules/dashboard/src/main/resources/web/tenant-dashboard/js/dashboard.js
@@ -0,0 +1,12 @@
+function execOnPageLoad() {
+    // currently not used
+}
+
+function onChangeServiceSubscription() {
+    sessionAwareFunction(function() {
+        
+        var cloudServiceForm = document.getElementById("cloudService");
+        cloudServiceForm.submit();
+        
+    }, org_wso2_stratos_manager_dashboard_ui_jsi18n["session.timed.out"]);
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/INSTALL.txt b/products/stratos_controller/modules/distribution/INSTALL.txt
new file mode 100755
index 0000000..461c63e
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/INSTALL.txt
@@ -0,0 +1,61 @@
+Installing  WSO2 Stratos Controller (SC) 1.0.1
+===============================================
+
+Standalone Mode
+===============
+1. The directory containing this INSTALL file will be the root and it will be
+   treated as Carbon home directory and let it be CARBON_HOME.
+
+2. All the shell scripts and .bat files are available in CARBON_HOME/bin directory.
+
+3. To start SC one can use either wso2server.sh or daemon.sh in all *nix
+   system & wso2server.bat file on Windows operating systems.
+
+4. Either of the following commands can be used to start Stratos-Manager
+      i)  ./wso2server.sh {console|start|stop|restart|status|dump|version}
+    ii)  wso2server.bat {start|stop|version}
+
+            Usage: wso2server.sh [command] [system-properties]
+
+            command:
+                --debug <port> 	Start the server in remote debugging mode.
+                        port: The remote debugging port.
+                --start		Start Carbon as a Unix daemon in the background
+                --stop		Stop the Carbon Unix daemon
+                --restart	Restart the Carbon Unix daemon
+                --cleanRegistry	Clean registry space. [CAUTION] All Registry data will be lost.
+                --version	What version of the product are you running?
+
+            system-properties:
+                -DhttpPort=<httpPort>		Overrides the HTTP port defined in the catalina-server.xml file
+                -DhttpsPort=<httpsPort>		Overrides the HTTPS port defined in the catalina-server.xml file
+                -DosgiConsole=[port]		Start Carbon with Equinox OSGi console.
+                                            If the optional 'port' parameter is provided, a telnet port will be opened
+                -DosgiDebugOptions=[options-file]
+                                            Start Carbon with OSGi debugging enabled.
+                                            If the optional 'options-file is provided, the OSGi debug options will be loaded from it.
+                -Dsetup				        Clean the Registry & other configuration, recreate DB, re-populate the configuration, and start Carbon
+                -DserverRoles=<roles>		A comma separated list of roles. Used in deploying cApps
+                -Dcarbon.use.registry.repo	Use registry based repository.
+                -DdisableHttpLog		    Disable HTTP access logging
+                -DapplyPatches			    Use this system property when there are patches to be applied/reverted to/from the system.
+                                            Drop the patches to $CARBON_HOME/repository/componenets/patches directory and restart the system with this property.
+                                            When you want to revert a patch, delete it from the patches directory and restart the system with this property
+                -DworkerNode=true			This is required in clustered setups with master and worker nodes, not applicable for Stratos Controller.
+
+
+
+System Requirements
+===================
+1. Minimum memory - 1 GB
+2. Processor      - Pentium 800MHz or equivalent at minimum
+3. JDK - 1.6.x (1.6.0_24 onwards recommended for production)
+4. The Management Console requires you to enable Javascript of the Web browser,
+   with MS IE 6 and 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.
+   NOTE:
+     On Windows Server 2003, it is not allowed to go below the medium security
+     level in Internet Explorer 6.x and the default medium security setting with
+     IE does not allow sufficient level of JS or ActiveX enablement for the
+     management console to run.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/LICENSE.txt b/products/stratos_controller/modules/distribution/LICENSE.txt
new file mode 100755
index 0000000..79ff255
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/LICENSE.txt
@@ -0,0 +1,488 @@
+
+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   
+addressing-1.6.1-wso2v9.mar                                                     bundle         apache2   
+ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
+andes-client_0.13.0.wso2v6.jar                                                  bundle         apache2   
+annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
+antlr-runtime_3.2.0.wso2v1.jar                                                  bundle         bsd       
+antlr_2.7.7.wso2v1.jar                                                          bundle         bsd       
+antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
+ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
+apache-cassandra_1.1.3.wso2v2.jar                                               bundle         apache2   
+apache-zookeeper_3.3.6.wso2v1.jar                                               bundle         apache2   
+atomikos_3.8.0.wso2v1.jar                                                       bundle         apache2   
+authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
+axiom_1.2.11.wso2v4.jar                                                         bundle         apache2   
+axis2-json_1.6.1.wso2v9.jar                                                     bundle         apache2   
+axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
+axis2_1.6.1.wso2v9.jar                                                          bundle         apache2   
+axis_1.4.0.wso2v1.jar                                                           bundle         apache2   
+backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
+batik-anim-1.7.jar                                                              jarinbundle    apache2   
+batik-awt-util-1.7.jar                                                          jarinbundle    apache2   
+batik-bridge-1.7.jar                                                            jarinbundle    apache2   
+batik-codec-1.7.jar                                                             jarinbundle    apache2   
+batik-css-1.7.jar                                                               jarinbundle    apache2   
+batik-dom-1.7.jar                                                               jarinbundle    apache2   
+batik-ext-1.7.jar                                                               jarinbundle    apache2   
+batik-extension-1.7.jar                                                         jarinbundle    apache2   
+batik-gui-util-1.7.jar                                                          jarinbundle    apache2   
+batik-gvt-1.7.jar                                                               jarinbundle    apache2   
+batik-js-1.7.jar                                                                jarinbundle    apache2   
+batik-parser-1.7.jar                                                            jarinbundle    apache2   
+batik-script-1.7.jar                                                            jarinbundle    apache2   
+batik-slideshow-1.7.jar                                                         jarinbundle    apache2   
+batik-svg-dom-1.7.jar                                                           jarinbundle    apache2   
+batik-svggen-1.7.jar                                                            jarinbundle    apache2   
+batik-swing-1.7.jar                                                             jarinbundle    apache2   
+batik-transcoder-1.7.jar                                                        jarinbundle    apache2   
+batik-util-1.7.jar                                                              jarinbundle    apache2   
+batik-xml-1.7.jar                                                               jarinbundle    apache2   
+batik_1.7.0.wso2v1.jar                                                          bundle         apache2   
+bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
+bcprov-jdk15-132.jar                                                            jar            bouncy    
+bcprov-jdk15.jar                                                                jar            mit       
+com.google.gson_2.1.0.jar                                                       bundle         apache2   
+commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
+commons-beanutils-1.8.0.jar                                                     jarinbundle    apache2   
+commons-beanutils_1.8.0.wso2v1.jar                                              bundle         apache2   
+commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
+commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
+commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
+commons-configuration_1.6.0.wso2v1.jar                                          bundle         apache2   
+commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
+commons-digester-1.8.1.jar                                                      jarinbundle    apache2   
+commons-digester-1.8.jar                                                        jarinbundle    apache2   
+commons-digester_1.8.1.wso2v1.jar                                               bundle         apache2   
+commons-discovery-0.2.jar                                                       jarinbundle    apache2   
+commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
+commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
+commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
+commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
+commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
+commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
+compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
+drools_5.2.1.wso2v1.jar                                                         bundle         apache2   
+ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
+el-impl_2.2.0.wso2v1.jar                                                        bundle         cddl1     
+fop-0.94.jar                                                                    jarinbundle    apache2   
+geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
+geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
+geronimo-stax-api_1.0_spec-1.0.1.wso2v2.jar                                     bundle         apache2   
+gitblit_1.2.0.wso2v1.jar                                                        bundle         apache2   
+guava_12.0.0.wso2v1.jar                                                         bundle         apache2   
+guice_3.0.0.wso2v1.jar                                                          bundle         apache2   
+h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
+h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
+hadoop-core_0.20.203.wso2v2.jar                                                 bundle         apache2   
+hector-core_1.1.0.wso2v1.jar                                                    bundle         mit       
+high-scale-lib_1.1.2.wso2v1.jar                                                 bundle         public    
+httpclient-4.1.1-wso2v1.jar                                                     bundle         apache2   
+httpclient_4.1.1.wso2v1.jar                                                     bundle         apache2   
+httpcore_4.1.0.wso2v1.jar                                                       bundle         apache2   
+httpcore_4.2.3.wso2v1.jar                                                       bundle         apache2   
+infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
+itext-2.1.7.jar                                                                 jarinbundle    mpl10     
+itext_2.1.7.wso2v1.jar                                                          bundle         mpl11     
+janino_2.5.15.wso2v1.jar                                                        bundle         bsd       
+jasper-jdt_6.0.18.wso2v1.jar                                                    bundle         apache2   
+jasperreports_4.5.0.wso2v1.jar                                                  bundle         lgpl3     
+javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
+javax.el_2.2.0.v201108011116.jar                                                bundle         cddl1     
+javax.servlet.jsp_2.2.0.v201112011158.jar                                       bundle         cddl1     
+javax.servlet_3.0.0.v201112011016.jar                                           bundle         cddl1     
+jaxb-api-2.2.6.jar                                                              jar            cddl+gpl  
+jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
+jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
+jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
+jcommon-1.0.15.jar                                                              jarinbundle    lgpl2     
+jcommon_1.0.15.wso2v1.jar                                                       bundle         lgpl2     
+jdbc-pool_7.0.34.wso2v1.jar                                                     bundle         apache2   
+jdom_1.0.0.wso2v1.jar                                                           bundle         jdom      
+jericho-html-2.4.jar                                                            jarinbundle    epl1      
+jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
+jfreechart-1.0.13.jar                                                           jarinbundle    lgpl2     
+jfreechart_1.0.13.wso2v1.jar                                                    bundle         lgpl2     
+jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
+joda-time_1.6.0.wso2v1.jar                                                      bundle         apache2   
+jsch_0.1.49.wso2v1.jar                                                          bundle         apache2   
+json_2.0.0.wso2v1.jar                                                           bundle         json      
+jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
+jsr94_1.1.0.wso2v1.jar                                                          bundle         beajsr94  
+jstl_1.2.1.wso2v1.jar                                                           bundle         cddl1     
+jxl_2.6.8.wso2v1.jar                                                            bundle         lgpl2     
+kaptcha_2.3.0.wso2v1.jar                                                        bundle         apache2   
+libthrift_0.7.0.wso2v2.jar                                                      bundle         apache2   
+log4j-1.2.13.jar                                                                jar            apache2   
+marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
+mvel2_2.1.0.wso2v1.jar                                                          bundle         apache2   
+neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
+nekohtml-1.9.7.jar                                                              jarinbundle    apache2   
+opencsv-1.8.jar                                                                 jarinbundle    apache2   
+opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
+openid4java-nodeps_0.9.6.wso2v2.jar                                             bundle         apache2   
+opensaml-1.1.406.jar                                                            jarinbundle    apache2   
+opensaml-2.4.1.jar                                                              jarinbundle    apache2   
+opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
+openws-1.4.1.jar                                                                jarinbundle    apache2   
+openxri-client-1.2.0.jar                                                        jarinbundle    apache2   
+openxri-syntax-1.2.0.jar                                                        jarinbundle    apache2   
+org.apache.felix.gogo.command_0.8.0.v201108120515.jar                           bundle         apache2   
+org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar                           bundle         apache2   
+org.apache.felix.gogo.shell_0.8.0.v201110170705.jar                             bundle         apache2   
+org.apache.jasper.glassfish_2.2.2.v201205150955.jar                             bundle         apache2   
+org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar                         bundle         epl1      
+org.eclipse.core.expressions_3.4.401.v20120627-124442.jar                       bundle         epl1      
+org.eclipse.core.jobs_3.5.300.v20120622-204750.jar                              bundle         epl1      
+org.eclipse.core.runtime_3.8.0.v20120521-2346.jar                               bundle         epl1      
+org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
+org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
+org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
+org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
+org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
+org.eclipse.equinox.app_1.3.100.v20120522-1841.jar                              bundle         epl1      
+org.eclipse.equinox.common_3.6.100.v20120522-1841.jar                           bundle         epl1      
+org.eclipse.equinox.concurrent_1.0.300.v20120522-2049.jar                       bundle         epl1      
+org.eclipse.equinox.console_1.0.0.v20120522-1841.jar                            bundle         epl1      
+org.eclipse.equinox.ds_1.4.0.v20120522-1841.jar                                 bundle         epl1      
+org.eclipse.equinox.frameworkadmin.equinox_1.0.400.v20120428-0117.jar           bundle         epl1      
+org.eclipse.equinox.frameworkadmin_2.0.100.v20120606-175127.jar                 bundle         epl1      
+org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar                                bundle         epl1      
+org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar                     bundle         epl1      
+org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar                       bundle         epl1      
+org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar                           bundle         epl1      
+org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
+org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
+org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
+org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
+org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
+org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
+org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
+org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
+org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
+org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
+org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
+org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
+org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
+org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
+org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
+org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
+org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
+org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
+org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
+org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
+org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar                        bundle         epl1      
+org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar                         bundle         epl1      
+org.eclipse.equinox.security_1.1.100.v20120522-1841.jar                         bundle         epl1      
+org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657.jar     bundle         epl1      
+org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635.jar             bundle         epl1      
+org.eclipse.equinox.util_1.0.400.v20120522-2049.jar                             bundle         epl1      
+org.eclipse.jgit_2.1.0.wso2v1.jar                                               bundle         apache2   
+org.eclipse.osgi.services_3.3.100.v20120522-1822.jar                            bundle         epl1      
+org.eclipse.osgi_3.8.1.v20120830-144521.jar                                     bundle         epl1      
+org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
+org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
+org.wso2.carbon.account.mgt.stub_4.1.3.jar                                      bundle         apache2   
+org.wso2.carbon.account.mgt.ui_2.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.account.mgt_2.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.activation_2.1.2.jar                                            bundle         apache2   
+org.wso2.carbon.adc.mgt.stub_4.1.3.jar                                          bundle         apache2   
+org.wso2.carbon.adc.mgt_2.1.3.jar                                               bundle         apache2   
+org.wso2.carbon.adc.reponotification.service.stub_4.1.1.jar                     bundle         apache2   
+org.wso2.carbon.adc.topology.mgt_2.1.3.jar                                      bundle         apache2   
+org.wso2.carbon.addressing_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.admin.mgt.stub_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.admin.mgt.ui_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.admin.mgt_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.apache.jasper.fragment_4.1.0.jar                                bundle         apache2   
+org.wso2.carbon.application.deployer_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.application.upload_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.authenticator.proxy_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.authenticator.stub_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.base_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.billing.core_2.1.3.jar                                          bundle         apache2   
+org.wso2.carbon.billing.mgt.stub_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.billing.mgt.ui_2.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.billing.mgt_2.1.3.jar                                           bundle         apache2   
+org.wso2.carbon.bootstrap-4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.bridge-4.1.0.jar                                                bundle         apache2   
+org.wso2.carbon.business.messaging.paypal.integration.core_4.1.0.jar            bundle         apache2   
+org.wso2.carbon.caching.core_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.captcha.mgt_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.cartridge.mgt.ui_2.1.3.jar                                      bundle         apache2   
+org.wso2.carbon.cluster.mgt.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.coordination.common_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.coordination.core_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.core.bootup.validator_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.core.commons.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.core.common_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.core.services_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.core_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.databridge.agent.thrift_4.1.0.jar                               bundle         apache2   
+org.wso2.carbon.databridge.commons.thrift_4.1.0.jar                             bundle         apache2   
+org.wso2.carbon.databridge.commons_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.email.sender_2.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.email.verification.stub_4.1.0.jar                               bundle         apache2   
+org.wso2.carbon.email.verification.ui_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.email.verification_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.event.admin_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.event.client.stub-4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.event.client.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.event.client_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.event.common_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.event.core_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.event.ws_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.feature.mgt.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.feature.mgt.services_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.feature.mgt.stub_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.feature.mgt.ui_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.framework.exporter_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.google.analytics.ui_2.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.http.bridge-4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.i18n_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.identity.authenticator.saml2.sso.common_4.1.0.jar               bundle         apache2   
+org.wso2.carbon.identity.authenticator.saml2.sso.stub_4.1.0.jar                 bundle         apache2   
+org.wso2.carbon.identity.authenticator.saml2.sso.ui_4.1.0.jar                   bundle         apache2   
+org.wso2.carbon.identity.authenticator.saml2.sso_4.1.0.jar                      bundle         apache2   
+org.wso2.carbon.identity.base_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.identity.core_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.identity.menu.ui_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.identity.provider.openid.stub_4.1.0.jar                         bundle         apache2   
+org.wso2.carbon.identity.provider.openid.ui_4.1.0.jar                           bundle         apache2   
+org.wso2.carbon.identity.provider.openid_4.1.0.jar                              bundle         apache2   
+org.wso2.carbon.identity.provider_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.identity.relyingparty.stub_4.1.0.jar                            bundle         apache2   
+org.wso2.carbon.identity.relyingparty.ui_4.1.0.jar                              bundle         apache2   
+org.wso2.carbon.identity.relyingparty_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.identity.sso.saml.stub_4.1.0.jar                                bundle         apache2   
+org.wso2.carbon.identity.sso.saml.ui_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.identity.sso.saml_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.jasper.patch_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.keystore.mgt_2.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.lb.common_4.1.3.jar                                             bundle         apache2   
+org.wso2.carbon.load.balance.agent_2.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub_4.1.3.jar        bundle         apache2   
+org.wso2.carbon.logging-4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.logging.admin.stub_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.logging.admin.ui_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.logging.service_4.1.1.jar                                       bundle         apache2   
+org.wso2.carbon.logging.view.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.logging.view.ui_4.1.1.jar                                       bundle         apache2   
+org.wso2.carbon.logging_4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.mediator.bridge-4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.ndatasource.common_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.ndatasource.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.ndatasource.rdbms_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.ntask.common_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.ntask.core_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.ntask.solutions_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.osgi.security_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.payment.paypal_2.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.payment.stub_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.payment.ui_2.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.qpid.stub_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.queuing_4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.redirector.servlet.stub_4.1.0.jar                               bundle         apache2   
+org.wso2.carbon.redirector.servlet.ui_2.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.redirector.servlet_2.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.register.ui_2.1.1.jar                                           bundle         apache2   
+org.wso2.carbon.registry.admin.api_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.registry.api_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.registry.common.ui_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.registry.common_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.registry.core_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.registry.properties.stub_4.1.0.jar                              bundle         apache2   
+org.wso2.carbon.registry.properties.ui_4.1.0.jar                                bundle         apache2   
+org.wso2.carbon.registry.properties_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.registry.resource.stub_4.1.0.jar                                bundle         apache2   
+org.wso2.carbon.registry.resource.ui_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.registry.resource_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.registry.search.stub_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.registry.search.ui_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.registry.search_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.registry.server_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.registry.servlet_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.remote-tasks.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.reporting.api_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.reporting.core_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.reporting.util_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.roles.mgt.stub_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.roles.mgt.ui_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.roles.mgt_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.rule.backend_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.rule.common_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.rule.kernel_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.rule.ws.admin_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.rule.ws_4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.securevault_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.security.mgt.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.security.mgt.ui_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.security.mgt_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.server-4.1.0.jar                                                bundle         apache2   
+org.wso2.carbon.server.admin.common_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.server.admin.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.server.admin.ui_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.server.admin_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.service.mgt_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.servletbridge-4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.sso.redirector.ui_2.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.stratos.common.stub_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.stratos.common_2.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.stratos.landing.page.deployer_2.1.0.jar                         bundle         apache2   
+org.wso2.carbon.stratos.manager.dashboard.stub_4.1.0.jar                        bundle         apache2   
+org.wso2.carbon.task.services_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.task_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.tenant.activity_2.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.tenant.dispatcher_2.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.tenant.mgt.core_2.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.tenant.mgt.email.sender_2.1.0.jar                               bundle         apache2   
+org.wso2.carbon.tenant.mgt.stub_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.tenant.mgt.ui_2.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.tenant.mgt_2.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.tenant.register.stub_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.theme.mgt.stub_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.theme.mgt.ui_2.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.theme.mgt_2.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.throttling.agent.stub_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.throttling.agent_2.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.throttling.manager_2.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.throttling.stub_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.throttling.ui_2.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.tomcat.ext_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.tomcat.fragment.dummy_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.tomcat.patch_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.tomcat_4.1.0.jar                                                bundle         apache2   
+org.wso2.carbon.transaction.manager_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.transport.https_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.transport.http_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.transport.local_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.transport.mgt_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.ui.menu.general_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.ui.menu.registry_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.ui.menu.tools_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.ui_4.1.0.jar                                                    bundle         apache2   
+org.wso2.carbon.usage.agent_2.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.usage.stub_4.1.3.jar                                            bundle         apache2   
+org.wso2.carbon.usage.ui_2.1.3.jar                                              bundle         apache2   
+org.wso2.carbon.usage_2.1.3.jar                                                 bundle         apache2   
+org.wso2.carbon.user.api_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.user.core_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.user.mgt.common_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.user.mgt.stub_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.user.mgt.ui_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.user.mgt_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.utils_4.1.0.jar                                                 bundle         apache2   
+org.wso2.carbon.validate.domain.stub_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.validate.domain.ui_2.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.validate.domain_2.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.webapp.deployer_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.webapp.mgt_4.1.0.jar                                            bundle         apache2   
+org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
+org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
+org.wso2.stratos.identity.saml2.sso.mgt.ui_2.1.0.jar                            bundle         apache2   
+org.wso2.stratos.identity.saml2.sso.mgt_2.1.0.jar                               bundle         apache2   
+org.wso2.stratos.manager.dashboard.ui_1.0.1.jar                                 bundle         apache2   
+org.wso2.stratos.manager.login.ui_1.0.1.jar                                     bundle         apache2   
+org.wso2.stratos.manager.services.mgt_1.0.1.jar                                 bundle         apache2   
+org.wso2.stratos.manager.styles_1.0.1.jar                                       bundle         apache2   
+paypal-1.1.0.wso2v1.jar                                                         bundle         apache2   
+paypal_1.1.0.wso2v1.jar                                                         bundle         apache2   
+pdepublishing-ant.jar                                                           jar            epl1      
+pdepublishing.jar                                                               jar            epl1      
+perf4j_0.9.12.wso2v1.jar                                                        bundle         apache2   
+poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
+poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
+poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
+quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
+rampart-1.6.1-wso2v1.mar                                                        bundle         apache2   
+rampart-core_1.6.1.wso2v8.jar                                                   bundle         apache2   
+rampart-policy_1.6.1.wso2v8.jar                                                 bundle         apache2   
+rampart-trust_1.6.1.wso2v8.jar                                                  bundle         apache2   
+saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
+slf4j-1.5.10.wso2v1.jar                                                         bundle         apache2   
+smack_3.0.4.wso2v1.jar                                                          bundle         apache2   
+spring.framework_3.1.0.wso2v1.jar                                               bundle         apache2   
+step2-common-1.0.0-wso2v1.jar                                                   bundle         apache2   
+step2-consumer-1.0.0-wso2v1.jar                                                 bundle         apache2   
+step2_1.0.0.wso2v1.jar                                                          bundle         apache2   
+synapse-commons_2.1.1.wso2v4.jar                                                bundle         apache2   
+synapse-core_2.1.1.wso2v4.jar                                                   bundle         apache2   
+synapse-extensions_2.1.1.wso2v4.jar                                             bundle         apache2   
+synapse-samples_2.1.1.wso2v4.jar                                                bundle         apache2   
+synapse-tasks_2.1.1.wso2v4.jar                                                  bundle         apache2   
+synapse-tasks_2.1.1.wso2v5.jar                                                  bundle         apache2   
+tcpmon-1.0.jar                                                                  jar            apache2   
+tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
+tomcat-ha_7.0.34.wso2v1.jar                                                     bundle         apache2   
+tomcat-juli-7.0.34.jar                                                          jar            apache2   
+tomcat_7.0.34.wso2v1.jar                                                        bundle         apache2   
+tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
+woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
+wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
+wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
+xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
+xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
+xkms_2.4.0.wso2v1.jar                                                           bundle         apache2   
+xml-apis-1.3.04.jar                                                             jarinbundle    unknown   
+xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
+xml-apis-ext-1.3.04.jar                                                         jarinbundle    unknown   
+xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
+xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
+xmlgraphics-commons-1.3.1.jar                                                   jarinbundle    apache2   
+XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
+xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
+
+
+
+The license types used by the above libraries and their information is given below:
+
+lgpl3          GNU LESSER GENERAL PUBLIC LICENSE  Version 3
+               http://www.gnu.org/licenses/lgpl-3.0.txt
+epl1           Eclipse Public License
+               http://www.eclipse.org/legal/epl-v10.html
+lgpl2          Lesser GPL v2.1
+               http://www.opensource.org/licenses/lgpl-2.1.php
+mpl11          Mozilla Public License 1.1
+               http://www.mozilla.org/MPL/MPL-1.1.html
+mpl10          Mozilla Public License 1.0
+               http://www.mozilla.org/MPL/
+mit            MIT License
+               http://www.opensource.org/licenses/mit-license.php
+unknown        
+               unknown
+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
+cpl1           Common Public License 1.0
+               http://www.eclipse.org/legal/cpl-v10.html
+json           JSON.org License
+               null
+jsmon          ThoughtWorks Javasysmon License
+               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
+jdom           JDOM License - Apache Styled
+               null
+apache2        Apache License Version 2.0
+               http://www.apache.org/licenses/LICENSE-2.0.html
+bsd            Berkeley License
+               http://www.opensource.org/licenses/bsd-license.php
+bouncy         Bouncy Castle License
+               http://www.bouncycastle.org/licence.html
+beajsr94       BEA License for JSR94 API
+               http://download.oracle.com/otndocs/jcp/jreng-1_0a-fr-spec-api-oth-JSpec/jreng-1_0a-fr-spec-api-oth-JSpec-license.html
+public         Public Domain
+               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/README.txt
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/README.txt b/products/stratos_controller/modules/distribution/README.txt
new file mode 100755
index 0000000..ddd2116
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/README.txt
@@ -0,0 +1,69 @@
+WSO2 Stratos Controller
+-----------------------
+
+Welcome to the WSO2 Stratos Controller
+
+The Stratos Controller (SC) mainly consists of the graphical user interface (GUI) and The Artifact Distribution 
+Coordinator that is responsible for the distribution of artifacts has been embedded into the Stratos Controller. 
+
+The Stratos Controller also defines the autoscaling policies that are defined for the Cartridges. 
+
+For more information about Stratos Controller, please refer WSO2 Stratos Wiki Docs:
+http://docs.wso2.org/wiki/display/Stratos200/WSO2+Stratos+Documentation
+
+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:
+
+   Apacge Rampart   : http://ws.apache.org/rampart/
+   Apache WSS4J     : http://ws.apache.org/wss4j/
+   Apache Santuario : http://santuario.apache.org/
+   Bouncycastle     : http://www.bouncycastle.org/
+
+
+
+Support
+-------
+As a fully open source solution WSO2 Stratos does not require any licensing fees. 
+
+WSO2 offers a range of service and support options, including evaluation support, CloudStart(SM) 
+consulting program, development support, and production support. 
+
+For additional support information please visit  http://wso2.com/support/
+
+About WSO2
+----------
+WSO2 is the lean enterprise middleware company. It delivers the only complete open source enterprise 
+SOA middleware stack purpose-built as an integrated platform to support today.s heterogeneous 
+enterprise environments.internally and in the cloud. WSO2.s service and support team is led by 
+technical experts who have proven success in deploying enterprise SOAs and contribute to the technology 
+standards that enable them. 
+
+For more information, visit http://wso2.com and the WSO2 Oxygen Tank developer portal at http://wso2.org
+
+---------------------------------------------------------------------------------------------------
+
+WSO2 Stratos Team
+
+(c) 2009 - 2013, WSO2 Inc.


[21/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/bin.xml b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/bin.xml
deleted file mode 100755
index 54ac045..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/bin.xml
+++ /dev/null
@@ -1,570 +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>
-    <!--<id>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>**/*.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>**/INSTALL.txt</exclude>
-                <exclude>**/LICENSE.txt</exclude>
-                <exclude>**/release-notes.html</exclude>
-                <exclude>**/carbon.xml</exclude>
-                <exclude>**/README*</exclude>
-		<!--Removing relying party ui bundle to fix STRATOS-1149 -->
-                <exclude>**/org.wso2.carbon.identity.relyingparty.ui_4.1.0-SNAPSHOT.jar</exclude>
-                <exclude>**/org.wso2.carbon.identity.relyingparty.stub_4.1.0-SNAPSHOT.jar</exclude>
-		<!--Removing roles mgt ui to fix STRATOS-2114-->
-                <exclude>**/org.wso2.carbon.roles.mgt.ui_4.1.0-SNAPSHOT.jar</exclude>
-                <exclude>**/org.wso2.carbon.roles.mgt.stub_4.1.0-SNAPSHOT.jar</exclude>
-               <exclude>**/log4j.properties</exclude>
-            </excludes>
-        </fileSet>	
-        <fileSet>
-            <directory>target/shopping-cart-global-${shoppingcart.global.version}</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/samples/bin</outputDirectory>
-            <includes>
-                <include>**/*.car</include>
-                <include>**/*.properties</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <excludes>
-                <exclude>**/daemon.sh</exclude>
-                <exclude>**/wso2server.bat</exclude>
-		<exclude>**/wso2server.sh</exclude>
-		 <exclude>**/log4j.properties</exclude>
-            </excludes>
-            <includes>
-                <include>**/*.sh</include>
-                <include>**/native/*</include>
-            </includes>
-            <fileMode>755</fileMode>
-        </fileSet>
-	<fileSet>
-            <directory>../../conf/synapse-configs</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/synapse-configs
-            </outputDirectory>
-        </fileSet>
-        <fileSet>
-            <directory>../../conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-            <excludes>
-                <exclude>**/samples-desc.xml</exclude>
-                <exclude>**/identity.xml</exclude>
-                <exclude>**/user-mgt.xml</exclude>
-                <exclude>**/datasources.properties</exclude>
-                <exclude>.svn</exclude>
-                <exclude>email-bill-generated.xml</exclude>
-                <exclude>email-billing-notifications.xml</exclude>
-                <exclude>email-new-tenant-activation.xml</exclude>
-                <exclude>email-new-tenant-registration.xml</exclude>
-                <exclude>email-password-reset.xml</exclude>
-                <exclude>email-payment-received-customer.xml</exclude>
-				<exclude>email-registration-payment-received-customer.xml</exclude>
-                <exclude>email-payment-received-wso2.xml</exclude>
-                <exclude>email-registration-complete.xml</exclude>
-                <exclude>email-registration-moderation.xml</exclude>
-                <exclude>email-registration.xml</exclude>
-                <exclude>email-update.xml</exclude>
-		<exclude>tenant-reg-agent.xml</exclude>
-                <exclude>features-dashboard.xml</exclude>
-            </excludes>
-        </fileSet>
-        <fileSet>
-            <directory>../../conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/email</outputDirectory>
-            <includes>
-                <include>email-bill-generated.xml</include>
-                <include>email-billing-notifications.xml</include>
-                <include>email-new-tenant-activation.xml</include>
-                <include>email-new-tenant-registration.xml</include>
-                <include>email-password-reset.xml</include>
-                <include>email-payment-received-customer.xml</include>
-                <include>email-registration-payment-received-customer.xml</include>
-				<include>email-payment-received-wso2.xml</include>
-                <include>email-registration-complete.xml</include>
-                <include>email-registration-moderation.xml</include>
-                <include>email-registration.xml</include>
-                <include>email-update.xml</include>
-            </includes>
-        </fileSet>
-	<fileSet>
-            <directory>../../conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/multitenancy</outputDirectory>
-            <includes>
-                <include>tenant-reg-agent.xml</include>
-                <include>features-dashboard.xml</include>
-            </includes>
-        </fileSet>
-	<fileSet>
-            <directory>../../conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources</outputDirectory>
-            <includes>
-                <include>stratos-datasources.xml</include>
-            </includes>
-        </fileSet>
-
-        <!-- copy documentation -->
-        <fileSet>
-            <directory>target/site</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/docs</outputDirectory>
-            <fileMode>755</fileMode>
-        </fileSet>
-
-        <!-- Copying themes, cloud icons-->
-         <fileSet>
-            <directory>../../resources</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/resources</outputDirectory>
-            <fileMode>755</fileMode>
-            <includes>
-                <include>allthemes/**</include>
-                <include>powerded-by-logos/**</include>
-            </includes>
-            <excludes>
-                <exclude>.svn</exclude>
-            </excludes>
-        </fileSet>
-
-        <!--start BAM related files -->
-        <!--<fileSet>
-            <directory>resources/dataservices</directory>
-            <outputDirectory>
-                ${pom.artifactId}-${pom.version}/repository/deployment/server/dataservices
-            </outputDirectory>
-            <includes>
-                <include>*.dbs</include>
-                <include>*.xml</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>resources/dataservices/bam</directory>
-            <outputDirectory>
-                ${pom.artifactId}-${pom.version}/repository/deployment/server/dataservices
-            </outputDirectory>
-            <includes>
-                <include>*.dbs</include>
-                <include>*.xml</include>
-            </includes>
-        </fileSet>-->
-
-        <fileSet>
-            <directory>resources</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/resources</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-	<!--fileSet>
-            <directory>resources/dbscripts</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet-->
-        <!--end BAM related files -->
-
-	<!--qpid related files -->
-	<fileSet>
-           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/advanced/</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/advanced</outputDirectory>
-	   <includes>
-               <include>**/*</include>
-           </includes>
-	    <excludes>
-                <exclude>**/jmx.xml</exclude>
-		<exclude>**/tenant-axis2.xml</exclude>
-		<exclude>**/authenticators.xml</exclude>
-		<exclude>**/logging-config.xml</exclude>
-            </excludes>
-        </fileSet>
-	<!-- end of qpid related files -->
-
-	<!-- adc.mgt related files -->
-	<fileSet>
-           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-	   <includes>
-               <include>cartridge-config.properties</include>
-               <include>policies.xml</include>
-           </includes>
-        </fileSet>
-        <fileSet>
-           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-	   <includes>
-               <include>policies.xsd</include>
-           </includes>
-        </fileSet>
-	<!-- end of adc.mgt related files -->
-
-	 <fileSet>
-           <directory>../p2-profile/target/wso2carbon-core-${carbon.platform.version}/repository/conf/etc/</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-           <includes>
-               <include>**/cassandra.yaml</include>
-           </includes>
-        </fileSet>
-	<fileSet>
-           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
-	   <includes>
-       		<include>**/identity.xml</include>
-		<include>**/rule-engine-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/multitenancy/</outputDirectory>
-           <includes>
-                <include>**/multitenancy-packages.xml</include>
-                <include>**/stratos.xml</include>
-                <include>**/eula.xml</include>
-                <include>**/usage-throttling-agent-config.xml</include>
-		<!--include>**/cloud-services-desc.xml</include-->
-           </includes>
-        </fileSet>
-
-		<!-- copy the landing page webapp -->
-        <fileSet>
-			<directory>lib/home</directory>
-			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps/STRATOS_ROOT</outputDirectory>
-		</fileSet>
-
-		<fileSet>
-			<directory>../../modules/features-dashboard/target/</directory>
-			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
-			<includes>
-				<include>**/*.war</include>
-			</includes>
-		</fileSet>
-        <fileSet>
-			<directory>../../resources/cloud-services-icons/target/</directory>
-			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
-			<includes>
-				<include>**/*.war</include>
-			</includes>
-		</fileSet>
-		<fileSet>
-            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/identity</outputDirectory>
-            <includes>
-                <include>**/**.sql</include>
-            </includes>
-		</fileSet>
-
-		<!-- copy the billing h2 db -->
-		<fileSet>
-			<directory>target/database</directory>
-			<outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory>
-		</fileSet>
-		<!-- get axis2_1.6.1.wso2v9.jar from carbon kernel patch 0002 -->
-                <fileSet>
-                   <directory>../p2-profile-gen/target/WSO2-CARBON-PATCH-4.1.0-0002/</directory>
-                   <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/patches</outputDirectory>
-                   <includes>
-                       <include>**/patch0002/axis2_1.6.1.wso2v9.jar</include>
-                   </includes>
-                </fileSet>
-		<fileSet>
-                   <directory>../../billing-script/</directory>
-                   <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts</outputDirectory>
-                </fileSet>
- 
-    </fileSets>
-
-    <dependencySets>
-        <dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-        </dependencySet>
-	<!-- use the new tool to create a bundles -->
-        <dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
-            <includes>
-                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
-            </includes>
-        </dependencySet>
-        <!--dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/samples/axis2Client/client_repo/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2elb-${pom.version}/samples/axis2Server/repository/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet-->
-        <dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/axis2/client/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/client/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.rampart:rampart:mar</include>
-            </includes>
-        </dependencySet>
-	<dependencySet>
-            <outputDirectory>${pom.artifactId}-${pom.version}/client-lib</outputDirectory>
-            <includes>
-                <include>org.wso2.andes: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>
-            </includes>
-        </dependencySet>
-	
-	<!--<dependencySet>
-		<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
-		<includes>
-                    <include>org.wso2.carbon:features-dashboard:war</include>
-		</includes>
-	</dependencySet>-->
-    </dependencySets>
-
-    <files>
-        <file>
-            <source>INSTALL.txt</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../conf/samples-desc.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../conf/datasources.properties</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-	<!--file>
-            <source>../../conf/cartridge-config.properties</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file-->
-	<file>
-            <source>../../conf/cloud-services-desc.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/multitenancy</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>README.txt</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>LICENSE.txt</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>release-notes.html</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>target/wso2carbon-core-${carbon.kernel.version}/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}/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>target/wso2carbon-core-${carbon.kernel.version}/bin/wso2server.bat</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file-->
-	<!--file>
-            <source>bam-resources/bam.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/resources/security/userRP.jks</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/resources/security/</outputDirectory>
-            <fileMode>644</fileMode>
-        </file>
-	<!--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-->
-	
-	<!-- Including logging-config.xml 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>
-	<file>
-            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/log4j.properties</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
-        </file>
-	<file>
-            <source>src/bin/wso2server.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/git-folder-structure.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/manage-git-repo.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/set-mysql-password.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-        <file>
-            <source>src/bin/add_entry_zone_file.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-        <file>
-            <source>src/bin/remove_entry_zone_file.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/update-instance.sh</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-	<file>
-            <source>src/bin/wso2server.bat</source>
-            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>755</fileMode>
-        </file>
-         <!-- Including log4j.properties file -->
-        <!--file>
-            <source>
-                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/log4j.properties
-
-            </source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-        </file-->      
-	<file>
-            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/claim-config.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/sso-idp-config.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
-        </file-->
-
-	<!-- Including coordination-client-config.xml file -->
-        <file>
-            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/coordination-client-config.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-	<!-- Ntask config file -->
-	<file>
-            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/tasks-config.xml</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-	<file>
-            <source>../../conf/zoo.cfg</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
-        </file>
-	<file>
-            <source>../../conf/jaas.conf</source>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/security</outputDirectory>
-	    <destName>jaas.conf</destName>
-            <filtered>true</filtered>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/dist.xml b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/dist.xml
deleted file mode 100755
index c0df315..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/dist.xml
+++ /dev/null
@@ -1,44 +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-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components</outputDirectory>
-            <excludes>
-                <exclude>**/eclipse.ini</exclude>
-                <exclude>**/*.lock</exclude>
-                <exclude>**/.data</exclude>
-                <exclude>**/.settings</exclude>
-            </excludes>
-        </fileSet>
-        <fileSet>
-            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf</directory>
-            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
-            <includes>
-                <include>**/claim-config.xml</include>
-            </includes>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/filter.properties b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/filter.properties
deleted file mode 100755
index 5cb2ce8..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/assembly/filter.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-product.name=WSO2 Stratos Controller
-product.key=SCC
-product.version=1.0.1
-hotdeployment=true
-hotupdate=false
-carbon.version=4.1.3
-default.server.role=Stratos Controller

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/add_entry_zone_file.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/add_entry_zone_file.sh b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/add_entry_zone_file.sh
deleted file mode 100755
index 63fa028..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/add_entry_zone_file.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-zone_file=$3
-subdomain=$1
-ip=$2
-
-# check the file
-if [ -f {$zone_file} ]; then
-	echo "Error: zone does not exist"
-	exit 1
-fi
-echo "File $zone_file exists"
-
-#appending the zone file
-echo "$subdomain IN A $ip">> $zone_file
-echo "Added subdomain to the file"
-
-# get serial number
-serial=$(grep 'Serial' $zone_file | awk '{print $1}')
-echo "Serial number " $serial
-# get serial number's date
-serialdate=$(echo $serial | cut -b 1-8)
-# get today's date in same style
-date=$(date +%Y%m%d)
-
-
-#Serial number's date
-serialdate=$(echo $serial | cut -b 1-8)
-echo "serial date" $serialdate
-# get today's date in same style
-date=$(date +%Y%m%d)
-echo "Now date" $date
-
-# compare date and serial date
-if [ $serialdate = $date ]
-	then
-		# if equal, just add 1
-		newserial=$(expr $serial + 1)
-		echo "same date"
-	else
-		# if not equal, make a new one and add 00
-		newserial=$(echo $date"00")
-fi
-
-echo "Adding subdomain $1 and ip $2 to $3"
-sed -i "s/.*Serial.*/ \t\t\t\t$newserial ; Serial./" $zone_file
-
-
-
-#reloading bind server
-/etc/init.d/bind9 reload

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/git-folder-structure.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/git-folder-structure.sh b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/git-folder-structure.sh
deleted file mode 100755
index 2b5439b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/git-folder-structure.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-tenant=""
-cartridge=""
-ads_git_url="localhost"
-
-function help {
-    echo "Usage:git-folder-structure  <mandatory arguments>"
-    echo "    Usage:"
-    echo "    	  git-folder-structure <tenant> <cartridge> [webapp=readme file description with space replace with #] "
-    echo "    eg:"
-    echo "    	  git-folder-structure tenant1 as webapp=copy#war#files#here"
-    echo ""
-}
-
-function main {
-
-if [[ (-z $tenant || -z $cartridge ) ]]; then
-    help
-    exit 1
-fi
-
-}
-
-tenant=$1
-cartridge=$2
-
-if [[ (-n $tenant && -n $cartridge) ]]; then
-	cd /tmp/
-	rm -fr ${tenant}/${cartridge}
-	git clone git@localhost:${tenant}/${cartridge}
-	cd ${cartridge}
-	git pull origin master
-	shift
-	shift
-	for IN in "$@"; do
-		IFS='=' read -ra ADDR <<< "$IN"
-		mkdir -p ${ADDR[0]}
-		echo ${ADDR[1]} | sed -e 's/#/ /g' > ${ADDR[0]}/README.txt
-		git add ${ADDR[0]}
-		git commit -a -m 'Folder structure commit'
-		git push origin master
-	done
-	rm -fr ${cartridge}	
-fi	
-
-main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/manage-git-repo.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/manage-git-repo.sh b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/manage-git-repo.sh
deleted file mode 100755
index b0dfa80..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/manage-git-repo.sh
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/bash
-
-user="wso2"
-action=""
-username=""
-tenant_domain=""
-cartridge=""
-tenant_key=""
-cartridge_key=""
-gitolite_admin="/home/wso2/gitolite-admin/"
-git_domain=""
-git_repo="/home/git/repositories/"
-ADC_repo_notification_url=""
-
-
-function help {
-    echo "Usage: manage-git-repo <action> <mandatory arguments>"
-    echo "    Action can be one of the following"
-    echo "        create : create git repo"
-    echo "        destroy: destroy git repo"
-    echo "        delete : delete user from a git repo"
-    echo "    Usage:"
-    echo "    	  manage-git-repo create <username> <tenant domain> <cartridge alias/name> <ADC repo notification url> <git_domain>"
-    echo "    	  manage-git-repo destroy <username> <tenant domain> <cartridge alias/name>"
-    echo "    eg:"
-    echo "    	  manage-git-repo create foo abc.com myphp https://localhost:9445/services/RepoNotificationService/"
-    echo ""
-}
-
-function main {
-
-if [[ ( -z $action || ( -n $action && $action == "help" ) ) ]]; then
-    help
-    exit 1
-fi
-if [[ (( -n $action && $action == "create") && ( -z $tenant_domain || -z $username || -z $cartridge || -z $ADC_repo_notification_url)) ]]; then
-    help
-    exit 1
-fi
-
-if [[ (( -n $action && $action == "destroy") && ( -z $tenant_domain || -z $username || -z $cartridge)) ]]; then
-    help
-    exit 1
-fi
-
-}
-
-action=$1
-username=$2
-tenant_domain=$3
-cartridge=$4
-ADC_repo_notification_url=$5
-git_domain=$6
-if [[ $action == "create" ]]; then
-
-     # hack until stratos manager support key pair for every user
-     rm -fr /tmp/${username}*
-     ssh-keygen -t rsa -N ''  -f /tmp/${username}
-     cd ${gitolite_admin}
-     git pull
-     # set public keys
-     cp -f /tmp/${username}.pub keydir/${username}.pub
-     #remove temparaly created files
-     rm /tmp/${username}.pub
-     # add repo and permission to conf 
-
-
-     echo "" > conf/repos/${tenant_domain}-${cartridge}.conf 
-     echo "repo ${tenant_domain}/${cartridge}.git" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "	RW+    = ${username} ${user}  daemon" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "     config  gitweb.url                  = git@${git_domain}:${tenant_domain}/${cartridge}" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "     config  receive.denyNonFastforwards = true" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "     config  receive.denyDeletes         = true" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     echo "" >> conf/repos/${tenant_domain}-${cartridge}.conf
-     # git operations
-     git add keydir/${username}.pub
-     git add conf/repos/${tenant_domain}-${cartridge}.conf
-     git commit -a -m "${username} keys added and ${tenant_domain}/${cartridge} repo created"
-     git pull
-     git push
-     # set git push trigger
-    
-   echo "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://org.apache.axis2/xsd\">
-   <soapenv:Header/>
-   <soapenv:Body>
-      <xsd:notifyRepoUpdate>
-         <xsd:tenantDomain>${tenant_domain}</xsd:tenantDomain>
-         <xsd:cartridgeType>${cartridge}</xsd:cartridgeType>
-      </xsd:notifyRepoUpdate>
-   </soapenv:Body>
-</soapenv:Envelope>" > /tmp/${tenant_domain}-request.xml
-   
-    echo "#!/bin/bash" > /tmp/${tenant_domain}-post-update
-    echo "curl -X POST -H \"Content-Type: text/xml\"   -d @${git_repo}${tenant_domain}/${cartridge}.git/hooks/request.xml \"${ADC_repo_notification_url}\" --insecure" >> /tmp/${tenant_domain}-post-update
-    echo "exec git update-server-info" >> /tmp/${tenant_domain}-post-update
-    
-    sudo mv /tmp/${tenant_domain}-request.xml ${git_repo}${tenant_domain}/${cartridge}.git/hooks/request.xml
-    sudo mv /tmp/${tenant_domain}-post-update ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
-    sudo chown git:git ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
-    sudo chmod 700 ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
-fi
-if [[ $action == "destroy" ]]; then
- 
-     cd ${gitolite_admin}
-     # remove user keys
-     git rm keydir/${username}.pub
-     # remove repo from config
-     git rm conf/repos/${tenant_domain}-${cartridge}.conf
-     # git push to execute
-     git pull
-     git push
-     # remove repo from repository. ** this should done from above. but it doesnt happend. So removing manualy.
-     sudo rm -fr /home/git/repositories/${tenant_domain}/${cartridge}.git
-
-fi
-
-
-main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/remove_entry_zone_file.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/remove_entry_zone_file.sh b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/remove_entry_zone_file.sh
deleted file mode 100755
index 7c08abc..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/remove_entry_zone_file.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-zone_file=$2
-subdomain=$1
-
-# check the file
-if [ -f {$zone_file} ]; then
-	echo "Error: zone does not exist"
-	exit 1
-fi
-echo "File $zone_file exists"
-
-# find entry to delete
-entry=$(grep $subdomain $zone_file)
-#sed "/$entry/d" $zone_file 
-
-sed "/$entry/d" $zone_file >tmp
-mv tmp $zone_file
-
-echo "entry to delete  $entry"
-
-
-# get serial number
-serial=$(grep 'Serial' $zone_file | awk '{print $1}')
-echo "Serial number " $serial
-# get serial number's date
-serialdate=$(echo $serial | cut -b 1-8)
-# get today's date in same style
-date=$(date +%Y%m%d)
-
-
-#Serial number's date
-serialdate=$(echo $serial | cut -b 1-8)
-echo "serial date" $serialdate
-# get today's date in same style
-date=$(date +%Y%m%d)
-echo "Now date" $date
-
-# compare date and serial date
-if [ $serialdate = $date ]
-	then
-		# if equal, just add 1
-		newserial=$(expr $serial + 1)
-		echo "same date"
-	else
-		# if not equal, make a new one and add 00
-		newserial=$(echo $date"00")
-fi
-
-echo "Adding subdomain $1 and ip $2 to $3"
-sed -i "s/.*Serial.*/ \t\t\t\t$newserial ; Serial./" $zone_file
-
-
-
-#reloading bind server
-/etc/init.d/bind9 reload

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/set-mysql-password.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/set-mysql-password.sh b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/set-mysql-password.sh
deleted file mode 100755
index b18fd0d..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/set-mysql-password.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-user="ubuntu"
-instance_ip=""
-cartridge_private_key=""
-password=""
-
-
-function help {
-    echo "Usage: set-mysql-password <mandatory arguments>"
-    echo "    Usage:"
-    echo "    	  set-mysql-password <instance ip> <cartridge private key> <password>"
-    echo "    eg:"
-    echo "    	  set-mysql-password 172.17.1.2 /tmp/foo-php qazxsw"
-    echo ""
-}
-
-function main {
-
-if [[ (-z $password || -z $instance_ip) ]]; then
-    help
-    exit 1
-fi
-
-}
-
-instance_ip=$1
-cartridge_private_key=$2
-password=$3
-
-echo "#!/bin/bash
-echo \"GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'   IDENTIFIED BY '${password}' WITH GRANT OPTION;flush privileges;\" | mysql -uroot -p${password}
-" > /tmp/${password}.sh
-
-if [[ (-n $password && -n $instance_ip) ]]; then
-	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} mysqladmin -u root password "${password}"
-#	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} echo "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'   IDENTIFIED BY '${password}' WITH GRANT OPTION;flush privileges;" | mysql -u root -p"${password}"
-	scp -i ${cartridge_private_key} /tmp/${password}.sh ${user}@${instance_ip}:
-	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} chmod 755 /home/${user}/${password}.sh
-	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} /home/${user}/${password}.sh
-	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} rm /home/${user}/${password}.sh
-fi
-rm /tmp/${password}.sh
-
-main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/update-instance.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/update-instance.sh b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/update-instance.sh
deleted file mode 100755
index 3935dd1..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/update-instance.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-user="ubuntu"
-instance_ip=""
-app_path=""
-cartridge_private_key=""
-
-function help {
-    echo "Usage: update-instance <mandatory arguments>"
-    echo "    Usage:"
-    echo "    	  update-instance <instance_ip> <app path> <cartridge_private_key>"
-    echo "    eg:"
-    echo "    	  update-instance 172.17.1.1 /var/www/myapp /tmp/foo-php"
-    echo ""
-}
-
-function main {
-
-if [[ (-z $instance_ip || -z $app_path || -z $cartridge_private_key ) ]]; then
-    help
-    exit 1
-fi
-
-}
-
-instance_ip=$1
-app_path=$2
-cartridge_private_key=$3
-
-if [[ (-n $instance_ip && -n $app_path && -n $cartridge_private_key ) ]]; then
-    ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} /opt/git.sh
-fi
-
-main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/wso2server.bat
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/wso2server.bat b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/wso2server.bat
deleted file mode 100644
index ee4cbc3..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/wso2server.bat
+++ /dev/null
@@ -1,170 +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
-
-
-: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 %*
-
-:checkJdk16
-"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
-IF ERRORLEVEL 1 goto unknownJdk
-goto jdk16
-
-:unknownJdk
-echo Starting WSO2 Carbon (in unsupported JDK)
-echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
-goto jdk16
-
-:jdk16
-goto runServer
-
-rem ----------------- Execute The Requested Command ----------------------------
-
-:runServer
-cd %CARBON_HOME%
-
-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%" -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" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -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.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 -Dloadbalancer.conf="%CARBON_HOME%\repository\conf\loadbalancer.conf"
-
-: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

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/wso2server.sh b/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/wso2server.sh
deleted file mode 100755
index d71351d..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/src/bin/wso2server.sh
+++ /dev/null
@@ -1,298 +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 ----------------------------------------------
-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"
-    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 >&- ; then
-      echo "Process is already running"
-      exit 0
-    fi
-  fi
-  export CARBON_HOME=$CARBON_HOME
-# using nohup bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/wso2server.sh > /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 bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/wso2server.sh > /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_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
-if [ "$jdk_16" = "" ]; then
-   echo " Starting WSO2 Carbon (in unsupported JDK)"
-   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
-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"
-
-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" \
-    -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" \
-    -Djava.util.logging.config.file="$CARBON_HOME/repository/conf/log4j.properties" \
-    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
-    -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.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 \
-    -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
-    org.wso2.carbon.bootstrap.Bootstrap $*
-    status=$?
-done

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/META-INF/MANIFEST.MF b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/META-INF/MANIFEST.MF
deleted file mode 100755
index 5e94951..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: 
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/WEB-INF/web.xml b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/WEB-INF/web.xml
deleted file mode 100755
index 5c68b6f..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/WEB-INF/web.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-	<display-name>service-dashboard-webapp</display-name>
-	<welcome-file-list>
-		<welcome-file>index.jsp</welcome-file>
-	</welcome-file-list>
-</web-app>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/as.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/as.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/as.html
deleted file mode 100755
index c2f18e5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/as.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-
-    <div class="story-title">Service Hosting</div>
-
-
-    <div class="story-content">
-        Different types of Web Services such as Axis2 Services, JAXWS Services, Jar Services
-        or Spring Services can be deployed in Application Server. All configurations such as
-        QoS can be easily configured here.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(0)" class="blocklink">Got to services...</a>
-        <a href="javascript:generateAsFeatureUrl(1)">Read more (docs)...</a>
-    </div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Web Applications</div>
-
-
-    <div class="story-content">
-        Web Application hosting features in AppServer supports deployment of Tomcat
-        compliant Webapps. Deployed Webapps can be easily managed using the Webapp
-        management facilities available in the management console.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(2)" target="_blank">Go to Web Applications...</a>
-        <a href="javascript:generateAsFeatureUrl(3)" target="_blank">Read more (docs)...</a>
-    </div>
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Message Tracing</div>
-    <div class="story-content">
-        Trace the request and responses to your service. Message Tracing is a vital
-        debugging tool when you have clients from heterogeneous platforms.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(4)">Go to Message Tracing...</a>
-        <a href="javascript:generateAsFeatureUrl(5)">Read more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">WSDL2Java Tool</div>
-    <div class="story-content">
-        Use WSDL2Java tool in Web Application Server to convert Web Service WSDL to a set of
-        Java objects.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(6)">Go to WSDL2Java Tool...</a>
-        <a href="javascript:generateAsFeatureUrl(7)">Read more (docs)...</a>
-    </div>
-</div>
-
-<div class="story col1">
-    <div class="story-title">Java2WSDL Tool</div>
-
-    <div class="story-content">
-        Use Java2WSDL tool in Web Application Server make it easy to develop a new web service.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateAsFeatureUrl(8)">Go to Java2WSDL Tool...</a>
-        <a href="javascript:generateAsFeatureUrl(9)">Read more (docs)...</a>
-    </div>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/bam.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/bam.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/bam.html
deleted file mode 100755
index 140e284..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/bam.html
+++ /dev/null
@@ -1,88 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Real Time Mediation Monitoring</div>
-    <div class="story-content">Monitor proxy services, endpoints and sequences and their operations in real time. The
-        results gathered from the real-time monitoring are presented in a clear and easy-to-view
-        format.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateBamFeatureUrl(0)">Go to Web Applications...</a>
-        <a href="javascript:generateBamFeatureUrl(1)">Read more (docs)...</a>
-    </div>
-</div>
-
-<div class="story col1">
-    <div class="story-title">Mediation Analysis</div>
-    <div class="story-content">Analyze the historical mediation trends over time with the help of visualization
-        framework.
-    </div>
-    <div class="story-links">
-        <a href=javascript:generateBamFeatureUrl(2)">Go
-        to Web Applications...</a>
-        <a href=javascript:generateBamFeatureUrl(3)">Read
-        more (docs)...</a>
-    </div>
-</div>
-
-<div class="story col1">
-    <div class="story-title">Summary Generation</div>
-    <div class="story-content">Generate a summarised view of collected statistics & write gadgets to display these
-        summarised data.
-    </div>
-    <div class="story-links">
-        <a href="javascript:generateBamFeatureUrl(6)">Go
-            to Web Applications...</a>
-        <a href="javascript:generateBamFeatureUrl(7)">Read
-            more (docs)...</a>
-    </div>
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Service Invocation Analysis</div>
-    <div class="story-content"> Write gadgets to consume service statistics and present to end user. Dashboard
-        support
-        Google Gadget specification.
-    </div>
-    <div class="story-links"><a href="javascript:generateBamFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateBamFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Dashboard</div>
-    <div class="story-content">Monitor and correlate related business activities across multiple server instances.
-        These activities can be used to track and verify the smooth execution of business.
-    </div>
-    <div class="story-links"><a href="javascript:generateBamFeatureUrl(12)">Go
-        to Web Applications...</a><a href="javascript:generateBamFeatureUrl(13)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Activity Correlation &amp; Monitoring</div>
-    <div class="story-content"> Monitor and correlate related business activities across multiple server instances.
-        These activities can be used to track and verify the smooth execution of business.
-    </div>
-    <div class="story-links"><a href="#"
-            >Go
-        to Web Applications...</a><a href="#"
-                                     onclick="alert('This link goes to Web Applications docs page!');">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Message Collection &amp; Archival</div>
-    <div class="story-content">Collect messages coming into your SOA, analyze & archive for future retrieval.</div>
-    <div class="story-links"><a href="#"
-            >Go
-        to Web Applications...</a><a href="#"
-                                     onclick="alert('This link goes to Web Applications docs page!');">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/bps.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/bps.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/bps.html
deleted file mode 100755
index 392a1f1..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/bps.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">WS-BPEL 2.0 &amp; BPELWS 1.1</div>
-    <div class="story-content">WSO2 BPS supports both WS-BPEL 2.0 and BPEL4WS 1.1 standards. It also includes WSO2 BPS
-        specific extensions to enhance the features provide by WS-BPEL.
-    </div>
-    <div class="story-links"><a href="javascript:generateBpsFeatureUrl(0)">Go
-        to Web Applications...</a>
-        <a href="javascript:generateBpsFeatureUrl(1)">Read
-            more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Instance Data Cleanup</div>
-    <div class="story-content">Allows multiple levels of instance data cleanup which are accumulated during process
-        instance lifetime.
-        <p>
-            XPath extensions, Iteratable ForEach, Flexible Assigns, XQuery 1.0 support and various
-            other extensions to BPEL language.
-        </p>
-    </div>
-    <div class="story-links"><a href="javascript:generateBpsFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateBpsFeatureUrl(9)">Read
-        more (docs)...</a>
-    </div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">BPEL Extensions</div>
-    <div class="story-content">Hot update BPEL processes and allows you to maintain multiple versions of processes</div>
-    <div class="story-links"><a href="javascript:generateBpsFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateBpsFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col2">
-    <div class="story-title">Process Versioning</div>
-    <div class="story-content"></div>
-    <div class="story-links"><a href="#"
-            >Go
-        to Web Applications...</a><a href="#"
-            >Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/brs.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/brs.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/brs.html
deleted file mode 100755
index b9be165..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/brs.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Service Hosting Support</div>
-    <div class="story-content"> Service Hosting feature in Business Rules Server enables deployment of Rule Services.
-    </div>
-    <div class="story-links"><a href="javascript:generateBrsFeatureUrl(0)">Go
-        to Web Applications...</a><a href="javascript:generateBrsFeatureUrl(1)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col2">
-    <div class="story-title">Rule service creation support</div>
-    <div class="story-content"> Support for creating rule services with drools or using rule services created with other
-        IDEs
-    </div>
-    <div class="story-links"><a href="javascript:generateBrsFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateBrsFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/cep.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/cep.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/cep.html
deleted file mode 100755
index 54bbfb4..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/cep.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Bring CEP to SOA</div>
-    <div class="story-content">Bring CEP to SOA by processing XML events and produce results as XML events</div>
-    <div class="story-links">
-        <a href="javascript:generateCepFeatureUrl(0)">Go
-            to Web Applications...</a><a href="javascript:generateCepFeatureUrl(1)">Read
-        more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Registry Storage</div>
-    <div class="story-content">Ability to define different event streams, queries and out put streams and store them in
-        the registry as a bucket.
-    </div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(2)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(3)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Esper and Fusion</div>
-    <div class="story-content">Support Esper and fusion back end runtimes.</div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(4)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(5)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Filter data from the XML event</div>
-    <div class="story-content">Ability to filter data from the XML event using xpath and format the result as an XML
-        event.
-    </div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(6)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(7)">Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Support different types of brokers</div>
-    <div class="story-content">Support different types of brokers WS-Event, JMS to receive publish events.</div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(8)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(9)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Storing broker configurations</div>
-    <div class="story-content">Define and store such different broker configurations.</div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(10)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(11)">Read
-        more (docs)...</a></div>
-
-</div>
-
-
-<div class="story col1">
-    <div class="story-title">Administrative Console support</div>
-    <div class="story-content">Administrative Console to create buckets, add subscriptions etc..</div>
-    <div class="story-links">
-        <a href="javascript:generateCepFeatureUrl(12)">Go
-            to Web Applications...</a><a href="javascript:generateCepFeatureUrl(13)">Read
-        more (docs)...</a>
-    </div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Specify CEP queries</div>
-    <div class="story-content">Ability to specify CEP queries inline or pick from the registry.</div>
-    <div class="story-links"><a href="javascript:generateCepFeatureUrl(14)">Go
-        to Web Applications...</a><a href="javascript:generateCepFeatureUrl(15)">Read
-        more (docs)...</a></div>
-
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/csg.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/csg.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/csg.html
deleted file mode 100755
index 7392c72..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/csg.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Cloud Service</div>
-    <div class="story-content">Publish a service or data residing behind a firewall in a secure and controlled manner as a Cloud Service.
-    </div>
-    <div class="story-links"><a href="javascript:generateCsgFeatureUrl(0)">Go
-        to Cloud Services...</a><a href="javascript:generateCsgFeatureUrl(1)">Read
-        more (docs)...</a></div>
-</div>
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/css/features-dashboard.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/css/features-dashboard.css b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/css/features-dashboard.css
deleted file mode 100755
index a0558a4..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/css/features-dashboard.css
+++ /dev/null
@@ -1,55 +0,0 @@
-.story {
-  width: 220px;
-  margin: 15px;
-  float: left;
-    line-height:23px;
-    background:#fff;
-}
-.story h2{
-
-}
-.story p,.story blockquote{
-       margin:0px;
-}
-.story img{
-    width:200px;
-}
-.story-title {
-    color: #444;
-    padding:5px 15px;
-    font-size: 18px;
-    display: block;
-    border-left:dotted 1px #ddd;
-    border-right:dotted 1px #ddd;
-    border-top:dotted 1px #ddd;
-}
-
-.story-content {
-    padding:15px;
-    color:#333;
-    border-left:dotted 1px #ddd;
-    border-right:dotted 1px #ddd;
-}
-.story-links{
-    /*background:transparent url(../images/black.png) repeat left top;*/
-    padding:3px 15px;
-    border:dotted 1px #ddd;
-    /*-moz-box-shadow: 3px 3px 2px #000;*/
-    /*-webkit-box-shadow: 3px 3px 2px #000;*/
-    /*box-shadow: 3px 3px 2px #000;*/
-}
-.story-links a{
-    /*text-shadow: 0px -2px 1px #000;*/
-    display:block;
-    font-weight:bold;
-    text-transform:uppercase;
-    text-decoration:none;
-
-}
-.story-links a:hover{
-    color: #003366;
-}
-.story-content a{
-    color:#0d2a51;
-    margin:10px;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/dss.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/dss.html b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/dss.html
deleted file mode 100755
index f6912cc..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/dashboards/dss.html
+++ /dev/null
@@ -1,75 +0,0 @@
-<link type="text/css" href="../../../../features-dashboard/dashboards/css/features-dashboard.css" rel="stylesheet"/>
-<div class="story col1">
-    <div class="story-title">Data Service Hosting</div>
-    <div class="story-content">>Data Web Services can be deployed in Data Services Server. All configurations such as
-        QoS can be easily configured here.
-    </div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(0)"
-            >Go
-        to Services...</a><a href="javascript:generateDssFeatureUrl(1)"
-            >Read
-        more (docs)...</a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Data as a Service</div>
-    <div class="story-content"> Create your databases on the cloud, and acess those as you would do with regular
-        databases.
-    </div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(2)"
-            >Go
-        to Web Applications...</a><a href="javascript:generateDssFeatureUrl(3)"
-            >Read
-        more (docs)...</a></div>
-
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">Service Testing</div>
-    <div class="story-content">Tryit tool can be used as a simple Web Service client which can be used to try your
-        services within AppServer itself.
-    </div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(4)"
-            >Go
-        to Service Testing...</a><a href="javascript:generateDssFeatureUrl(5)"
-            >Read
-        more (docs)...</a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Message Tracing</div>
-    <div class="story-content">Trace the request and responses to your service. Message Tracing is a vital
-        debugging tool when you have clients from heterogeneous platforms.
-    </div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(6)"
-            >Go to Message
-        Tracing...</a><a href="javascript:generateDssFeatureUrl(7)"
-            >Read
-        more (docs)...</a></div>
-
-</div>
-
-<div class="story col1">
-    <div class="story-title">DB Explorer</div>
-    <div class="story-content"> Explore your databases using the explorer tool on the cloud.</div>
-    <div class="story-links"><a href="javascript:generateDssFeatureUrl(8)"
-            >Go to DB
-        Explorer Tool...</a><a href="javascript:generateDssFeatureUrl(9)"
-            >Read
-        more (docs)...</a></div>
-</div>
-
-<div class="story col2">
-    <div class="story-title">Relational Storage Solutions on Cloud</div>
-    <div class="story-content"><a
-            href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive"><img
-            src="../../../../features-dashboard/dashboards/images/configure_db.png"
-            alt=""/></a></div>
-    <div class="story-links">
-        <a
-                href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive">Read
-            online...</a>
-    </div>
-
-</div>


[05/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/faq.html
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/faq.html b/products/stratos_controller/modules/distribution/lib/home/faq.html
new file mode 100755
index 0000000..1aa750c
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/lib/home/faq.html
@@ -0,0 +1,392 @@
+<!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 src="js/ga.js" async="" type="text/javascript"></script>
+
+
+
+	
+		<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>WSO2 StratosLive – the most complete open PaaS powered by the multi-tenant WSO2 Stratos cloud middleware platform,  and WSO2 Carbon enterprise middleware platform</title>
+		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
+		<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, multi-tenant, cloud enterprise middleware, SOA, open source PaaS" />
+	 	<link rel="stylesheet" href="js/orbit-1.2.3.css">
+		<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
+		<script type="text/javascript" src="js/jquery.orbit-1.2.3.min.js"></script>	
+		
+		
+			<!--[if IE]>
+			     <style type="text/css">
+			         .timer { display: none !important; }
+			         div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
+			    </style>
+			<![endif]-->
+		
+		<script type="text/javascript">
+			$(window).load(function() {
+				$('#featured').orbit({
+					timer: false
+				});
+			});
+		</script>
+	<style type="text/css" charset="utf-8">/* See license.txt for terms of usage */
+</style></head><body dir="LTR" lang="en-US" text="#000000">
+		<div id="main-content">
+			<div id="header">
+				<div class="top-nav">
+					<ul>
+						<li><a href="http://stratoslive.wso2.com/" target="_blank">Stratoslive</a></li>
+						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/">Stratoslive home</a></li>
+						<li><a href="http://wso2.com/cloud/stratoslive/pricing/" target="_blank">Pricing</a></li>
+						<li class="right"><a href="http://www.wso2.com/cloud/services/support" target="_blank">Support</a></li>
+					</ul>
+				</div>
+<div class="logo"><img src="images/logo.gif"></div>
+
+			
+			</div>
+<p style="text-decoration: none;" align="JUSTIFY">
+<b><a name="faqs"></a>StratosLive Frequently Asked Questions</b>
+</p>
+
+
+			<div id="content">
+
+
+					
+					
+					<div class="banner">
+						
+					</div>
+
+	
+	
+	
+	
+	
+	
+	<style type="text/css">
+	<!--
+		P { color: #000000; font-family: "Arial"; font-size: 11pt }
+	-->
+	</style>
+
+<p style="text-decoration: none;" align="JUSTIFY"><br>
+</p>
+<pre><p align="JUSTIFY"><a href="#startup"><strong>	StratosLive Start-up Questions</strong></a>
+    </p><p align="JUSTIFY"><a href="#general"><strong>	Using StratosLive - General Questions</strong></a>
+    </p><p align="JUSTIFY"><a href="#features"><strong>	StratosLive Features</strong></a>
+    </p><p align="JUSTIFY"><a href="#private"><strong>	Stratos Private Set up</strong></a>
+</p></pre>
+<br><br>
+<p style="font-style: normal; font-weight: normal;" align="JUSTIFY"><a name="startup"></a><u><strong>StratosLive
+Start-up Questions</strong></u></p>
+<ol>
+	<li><p align="JUSTIFY"><strong>I have registered an account just now. Why am I
+	unable to log in yet?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Please make sure that you have validated the
+registration, by clicking the validation link in the email sent to
+you. Also make sure that you have entered the username (in the form
+of adminname@domainname) and password correct.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="2">
+	<li><p align="JUSTIFY"><strong>Why should I validate my domain?</strong></p>
+</li></ol>
+<p align="JUSTIFY">While domain validation is optional, you can prove
+the ownership of the domain by validating the domain. Otherwise, you
+may have to lose your account, if the legitimate owner of the domain
+claims it. You might skip this step at the time of registration, and
+validate the domain at a later time from your account.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="3">
+	<li><p align="JUSTIFY"><strong>I have registered for a particular Stratos
+	Service. Now do I have to register for the other services?</strong></p>
+</li></ol>
+<p align="JUSTIFY">No, you don't have to. Stratos tenants are centrally
+managed. That means, if you have registered from a service, you will
+be able to use all the Stratos services. However, as the tenant
+admin, you will be able to activate and deactivate the Stratos
+services, from Stratos Manager.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="4">
+	<li><p align="JUSTIFY"><strong>I didn't get any email after registering or
+	after resetting my password?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Please check your spam folder, in case if the mail
+had been treated as a spam by your mail server. If it is still not
+there, you may need to contact WSO2 Support on sorting this out. We
+are glad to help from our end.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="5">
+	<li><p align="JUSTIFY"><strong>How do I get any further assistance on using
+	Stratos/StratosLive?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Please contact WSO2 using <a href="http://wso2.com/contact/">http://wso2.com/contact/</a>, if
+you need further assistance. StratosLive forum can be found at
+<a href="http://wso2.org/forum/1241">http://wso2.org/forum/1241</a>.
+You also can send your queries to the stratos-dev mailing list (stratos-dev@wso2.org) regarding
+StratosLive PaaS or Stratos Cloud Middleware Platform.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="6">
+	<li><p align="JUSTIFY"><strong>I have registered for a 'Demo/Free'
+	account. Will I be charged, if I exceed the usage limits?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Free/Demo accounts are never charged. Anyway, you
+can upgrade and downgrade your usage plan at any time.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="7">
+	<li><p align="JUSTIFY"><strong>Now I have registered for an account. What's
+	next?</strong></p>
+</li></ol>
+<p align="JUSTIFY">If you are familiar with the WSO2 Carbon based
+products, there is nothing new to learn for StratosLive. StratosLive
+is simply the WSO2 Carbon Middleware Platform as a Service, with all
+the WSO2 Carbon based products available publicly over the cloud as
+services. For a detailed introduction to the Platform aspect of
+Carbon and StratosLive, refer to the article, <a href="http://wso2.org/library/blog-post/2011/08/wso2-stratoslive-enterprise-ready-java-paas">“WSO2
+StratosLive - An Enterprise Ready Java PaaS</a>.”</p>
+    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
+<p align="JUSTIFY"><br><br>
+</p>
+<p align="JUSTIFY"><a name="general"></a><u><strong>Using StratosLive - General Questions</strong></u></p>
+<ol>
+	<li><p align="JUSTIFY"><strong>Does Stratos support multi-tenant model?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Yes, Stratos supports a multi-tenant model. In
+StratosLive PaaS, WSO2 is the super admin, and you have register a
+tenant. You can OEM Stratos, by setting up a private cloud for your
+own. In that case, you would be the super tenant and you can decide
+what level of functionality you want to allow your tenants.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="2">
+	<li><p align="JUSTIFY"><strong>How does Stratos overcome the inherent security
+	challenges of the cloud?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Tenants are isolated from each other in Stratos.
+Data processing code is protected by java security manager, hence the
+custom code deployed by tenants (such as web applications and web
+services) does not have access to it. Tenants are also prevented from
+executing the priviledged actions, such as opening the ports and
+accessing the file system. For more insights, please refer to the
+article, “<a href="http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud">How
+WSO2 StratosLive meets Security Challenges in Cloud</a>.”</p>
+<p align="JUSTIFY">
+</p>
+<ol start="3">
+	<li><p align="JUSTIFY"><strong>How is multi-tenancy achieved in Stratos? Is it
+	at the Database level or the application level?</strong></p>
+</li></ol>
+<p align="JUSTIFY">It is multi-tenanted at the database level, as far
+as the data stored by Stratos is concerned. For user data, we are
+currently working on a polyglot data architecture which will allow a
+range of choices from a share, multi-tenant NoSQL feature (based on
+Cassandra) to a per-tenant database model.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="4">
+	<li><p align="JUSTIFY"><strong>Do we have the opportunity to customize or
+	extend Stratos as appropriate?</strong></p>
+</li></ol>
+<p align="JUSTIFY">StratosLive is a publicly hosted Stratos Cloud
+Middleware Platform-as-a-Service, where you are using the services as
+a tenant. Tenants have limited access due to the security and the
+other concerns. But if you host Stratos in your own data center and
+OEM Stratos, as super tenant you will be able to extend Stratos and
+customize it more, as you prefer.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="5">
+	<li><p align="JUSTIFY"><strong>What are the developer frameworks supported by
+	Stratos/StratosLive?</strong></p>
+</li></ol>
+<p align="JUSTIFY">StratosLive is a Java Platform as a Service. We
+currently support any Java developer framework as we are currently
+only supporting deploying Java webapps (WAR files). 
+</p>
+<p align="JUSTIFY">
+</p>
+<ol start="6">
+	<li><p align="JUSTIFY"><strong>Does Stratos support secure tunneling?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Yes, Stratos supports secure tunneling via the <a href="http://wso2.com/cloud/connectors/services-gateway/">Cloud
+Services Gateway</a>. Cloud Services Gateway is used to create a
+managed, secured channel for business processes and other tasks
+running in a public cloud to get access to enterprise data and
+services. It allows the service and data owners inside the enterprise
+to selectively publish services and data to the cloud. The resulting
+services can be fully protected – authentication, authorization,
+confidentiality, integrity and more. Here only the approved messages
+are delivered to access the services.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="7">
+	<li><p align="JUSTIFY"><strong>Does Stratos support elasticity?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Yes, we do support elasticity with the cloud
+provider. In StratosLive, the services are fronted by WSO2 Load
+Balancer, which balances the load across the service instances and
+scales the services automatically according to the load. Stratos
+services also can scale with the other load balancers including the
+hardware loadbalancers.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="8">
+	<li><p align="JUSTIFY"><strong>Does Stratos support single sign-on?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Yes, single sign-on and single sign-out are
+supported by design. Once you have logged into any of the Stratos
+services, you will not need to sign in to the other services.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="9">
+	<li><p align="JUSTIFY"><strong>Does Stratos support integration with
+	customer's on-premise Identity Management?</strong> 
+	</p>
+</li></ol>
+<p align="JUSTIFY">Yes. It is possible, and we will need to work with
+the customer to do this.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="10">
+	<li><p align="JUSTIFY"><strong>What lag times can we expect in different
+	parts of the globe?</strong> 
+	</p>
+</li></ol>
+<p align="JUSTIFY">This depends on the clients' deployment
+infrastructure, and where they decide to host it. We are currently
+working on support for Amazon's availability zones, so that we can
+isolate tenants to specific data centers.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="11">
+	<li><p align="JUSTIFY"><strong>Is there any speed issues reported with any
+	specific data types or streams?</strong> 
+	</p>
+</li></ol>
+<p align="JUSTIFY">No issues yet. Our architecture is 100% streaming,
+so we do not expect any issues either. EBay uses WSO2 Eneterprise
+Service Bus for 600 million messages/day and has flat line memory for
+messages ranging from 1kB to 100MB.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="12">
+	<li><p align="JUSTIFY"><strong>What are the supported cloud-providers? 
+	</strong></p>
+</li></ol>
+<p align="JUSTIFY">StratosLive is deployed on our co-lo servers over the
+ native hardware. We also have had the public cloud deployed on top of 
+Amazon’s EC2. We also have a private cloud setup that is deployed on 
+Eucalyptus. Stratos follows the open standards, and is not coded for any
+ particular cloud provider. Hence it is expected to work on any 
+Infrastructure as a Service.</p>
+    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
+<p align="JUSTIFY"><br><br>
+</p>
+<p align="JUSTIFY"><a name="features"></a><u><strong>StratosLive Features</strong></u></p>
+<ol>
+	<li><p align="JUSTIFY"><strong>Does Stratos support encrypted communications?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Yes, it does. Data communication from the browser to
+back-end Admin Services happens over https (encrypted), which
+provides transport-level protection. 
+</p>
+<p align="JUSTIFY">
+</p>
+<ol start="2">
+	<li><p align="JUSTIFY"><strong>Does StratosLive support metering?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Yes, it does. Tenants are metered and billed for
+their usage. Tenants can view their usage information from Stratos
+Manager. For more insights on the metering, throttling, and billing,
+refer to the article “<a href="http://wso2.org/library/articles/2011/08/metering-throttling-billing-stratoslive">Metering,
+Throttling and Billing in StratosLive</a>”.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="3">
+	<li><p align="JUSTIFY"><strong>Do you support Memcache?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Yes, we have a scalable distributed cache using
+EHCache that we expose via the Java caching API.</p>
+    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
+<p align="JUSTIFY"><br><br>
+</p>
+<p align="JUSTIFY"><a name="private"></a><u><strong>Stratos Private Set up</strong></u></p>
+<ol>
+	<li><p align="JUSTIFY"><strong>Can we set up our Stratos locally or as a PaaS?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Sure. StratosLive is a publicly hosted PaaS by WSO2.
+Similarly, you can deploy Stratos publicly over the cloud for your
+organization or for the public. In this case, you will be the super
+tenant. You can also deploy Stratos as a private cloud for your
+organization. Hybrid cloud set ups too are possible.</p>
+<p align="JUSTIFY">
+</p>
+<ol start="2">
+	<li><p align="JUSTIFY"><strong>Is it possible to migrate our services and data
+	from our tenant in StratosLive to our private Stratos cloud setup?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Migrating from StratosLive to your private Stratos
+cloud setup is possible, since StratosLive is the same Stratos Cloud
+Middleware platform hosted as StratosLive Platform as a Service. 
+</p>
+<p align="JUSTIFY">
+</p>
+<ol start="3">
+	<li><p align="JUSTIFY"><strong>Can we isolate specific accounts for throttling
+	or increase bandwidth?</strong></p>
+</li></ol>
+<p align="JUSTIFY">Yes, the load balancing logic and throttling logic
+are tenant aware. So if you are deploying Stratos locally, as the
+super tenant, you will be able to throttle the tenants. 
+</p>
+<p align="JUSTIFY">
+</p>
+<ol start="4">
+	<li><p align="JUSTIFY"><strong>Can we setup Stratos in a personal computer?</strong></p>
+</li></ol>
+<p align="JUSTIFY">You can setup Stratos in a computer with all the
+services, given that the computer has the required memory, processor,
+and disk space. For example, Stratos requires 4 GB memory, and at
+least 8 GB is recommended. You may also find it convenient to run
+only the services that you require at once, if you have limited
+resources.</p>
+
+    </p><p align="JUSTIFY"><a href="#faqs"><strong>	Back To Top</strong></a>
+<p align="JUSTIFY"><br><br>
+</p>
+<div class="clear"></div>
+				<div id="bottom">
+					
+					
+					
+					<div class="clear"></div>
+				</div>
+			</div>
+			<div id="footer">
+				<div class="footer-links">
+					<a target="_blank" href="http://www.wso2.com/cloud/services/terms-of-use">Terms of Use</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/privacy-policy">Privacy Policy</a> | <a target="_blank" href="http://wso2.com/cloud/services/sla/">Service Level Agreement</a> | <a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/support">Support</a>
+				</div>
+				<div class="powered">
+						<span>Powered by</span><img src="images/powered-logo.gif" alt="ESB">
+					</div>
+					<span class="copyright">©stratoslive.wso2.com copyright 2010-2012 WSO2, Inc. </span>
+				</div>
+			</div>
+		
+	</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/bottom.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/bottom.gif b/products/stratos_controller/modules/distribution/lib/home/images/bottom.gif
new file mode 100755
index 0000000..5679266
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/bottom.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/bullet-01.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/bullet-01.gif b/products/stratos_controller/modules/distribution/lib/home/images/bullet-01.gif
new file mode 100755
index 0000000..7148f4d
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/bullet-01.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/content-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/content-bg.gif b/products/stratos_controller/modules/distribution/lib/home/images/content-bg.gif
new file mode 100755
index 0000000..6d0a579
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/content-bg.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/favicon.ico
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/favicon.ico b/products/stratos_controller/modules/distribution/lib/home/images/favicon.ico
new file mode 100755
index 0000000..f7b2bbf
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/favicon.ico differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/feature-01-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/feature-01-icon.gif b/products/stratos_controller/modules/distribution/lib/home/images/feature-01-icon.gif
new file mode 100755
index 0000000..ff3ba26
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/feature-01-icon.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/feature-02-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/feature-02-icon.gif b/products/stratos_controller/modules/distribution/lib/home/images/feature-02-icon.gif
new file mode 100755
index 0000000..ee4cb66
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/feature-02-icon.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/feature-03-icon.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/feature-03-icon.gif b/products/stratos_controller/modules/distribution/lib/home/images/feature-03-icon.gif
new file mode 100755
index 0000000..8f3c2a1
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/feature-03-icon.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/feature-middle-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/feature-middle-bg.gif b/products/stratos_controller/modules/distribution/lib/home/images/feature-middle-bg.gif
new file mode 100755
index 0000000..d2fb97e
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/feature-middle-bg.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/intro-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/intro-bg.gif b/products/stratos_controller/modules/distribution/lib/home/images/intro-bg.gif
new file mode 100755
index 0000000..a38a0df
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/intro-bg.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/intro-text.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/intro-text.gif b/products/stratos_controller/modules/distribution/lib/home/images/intro-text.gif
new file mode 100755
index 0000000..61441a2
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/intro-text.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/left-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/left-bg.gif b/products/stratos_controller/modules/distribution/lib/home/images/left-bg.gif
new file mode 100755
index 0000000..72dc051
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/left-bg.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/logo.gif b/products/stratos_controller/modules/distribution/lib/home/images/logo.gif
new file mode 100755
index 0000000..1e7b2ce
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/powered-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/powered-logo.gif b/products/stratos_controller/modules/distribution/lib/home/images/powered-logo.gif
new file mode 100755
index 0000000..fb478bf
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/powered-logo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/register.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/register.gif b/products/stratos_controller/modules/distribution/lib/home/images/register.gif
new file mode 100755
index 0000000..3260908
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/register.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/sign-in.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/sign-in.gif b/products/stratos_controller/modules/distribution/lib/home/images/sign-in.gif
new file mode 100755
index 0000000..ae2a4d7
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/sign-in.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/stratos-products-new.jpg
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/stratos-products-new.jpg b/products/stratos_controller/modules/distribution/lib/home/images/stratos-products-new.jpg
new file mode 100755
index 0000000..bbbdb00
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/stratos-products-new.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/title-bg.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/title-bg.gif b/products/stratos_controller/modules/distribution/lib/home/images/title-bg.gif
new file mode 100755
index 0000000..2d539a7
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/title-bg.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/top.gif
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/top.gif b/products/stratos_controller/modules/distribution/lib/home/images/top.gif
new file mode 100755
index 0000000..9ed482c
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/top.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/webinar.png
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/webinar.png b/products/stratos_controller/modules/distribution/lib/home/images/webinar.png
new file mode 100755
index 0000000..434f660
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/webinar.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/images/white-paper.png
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/images/white-paper.png b/products/stratos_controller/modules/distribution/lib/home/images/white-paper.png
new file mode 100755
index 0000000..3fb643e
Binary files /dev/null and b/products/stratos_controller/modules/distribution/lib/home/images/white-paper.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/lib/home/index.html
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/lib/home/index.html b/products/stratos_controller/modules/distribution/lib/home/index.html
new file mode 100755
index 0000000..b186b76
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/lib/home/index.html
@@ -0,0 +1,119 @@
+<!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>
+		<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>WSO2 StratosLive – the most complete open PaaS powered by the multi-tenant WSO2 Stratos cloud middleware platform,  and WSO2 Carbon enterprise middleware platform</title>
+		<link href="style.css" rel="stylesheet" type="text/css" media="all" />
+		<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, multi-tenant, cloud enterprise middleware, SOA, open source PaaS" />
+	 	<link rel="stylesheet" href="js/orbit-1.2.3.css">
+		<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
+		<script type="text/javascript" src="js/jquery.orbit-1.2.3.min.js"></script>	
+		
+			<!--[if IE]>
+			     <style type="text/css">
+			         .timer { display: none !important; }
+			         div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
+			    </style>
+			<![endif]-->
+		
+		<script type="text/javascript">
+			$(window).load(function() {
+				$('#featured').orbit({
+					timer: false
+				});
+			});
+		</script>
+	</head>
+
+	<body>
+		<div id="main-content">
+			<div id="header">
+				<div class="top-nav">
+					<ul>
+						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/">StratosLive Home</a></li>
+						<li><a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a></li>
+						<li><a target="_blank" href="http://docs.wso2.org/display/stratos/Stratos+Frequently+Asked+Questions">FAQ</a></li>
+						<li><a target="_blank" href="http://www.wso2.com/cloud/services/support">Support</a></li>
+						<li class="right"><a target="_blank" href="mailto:support+stratoslive@wso2.com">Contact</a></li>
+					</ul>
+				</div>
+				<div class="logo"><img src="images/logo.gif"/></div>
+			</div>
+			<div id="content">
+				<div id="left">
+					<div class="stratos-products">
+						<div class="title">
+							<img src="images/intro-text.gif" alt="Get instant access right now to enterprise-grade Middleware Platform-as-a-Service:"/>
+						</div>
+						<div class="products">
+							<a href="http://appserver.stratoslive.wso2.com/" class="as-new"></a>
+							<a href="http://data.stratoslive.wso2.com/" class="dss-new"></a>
+							<a href="http://identity.stratoslive.wso2.com/" class="is-new"></a>
+							<a href="http://governance.stratoslive.wso2.com/" class="greg-new"></a>
+							<a href="http://monitor.stratoslive.wso2.com/" class="bam-new"></a>
+							<a href="http://process.stratoslive.wso2.com/" class="bps-new"></a>
+							<a href="http://rule.stratoslive.wso2.com/" class="brs-new"></a>
+							<a href="http://esb.stratoslive.wso2.com/" class="esb-new"></a>
+							<a href="http://messaging.stratoslive.wso2.com/" class="mb-new"></a>
+							<a href="http://cep.stratoslive.wso2.com/" class="cep-new"></a>
+							<a href="http://cg.stratoslive.wso2.com/" class="cg-new"></a>
+							<a href="http://ss.stratoslive.wso2.com/" class="ss-new"></a>
+							<a href="http://ts.stratoslive.wso2.com/" class="ts-new"></a>
+						</div>
+					</div>
+				</div>
+				<div id="right">
+					<div class="register">
+						<a href="https://stratoslive.wso2.com/carbon/tenant-register/select_domain.jsp"><img src="images/register.gif"/></a>
+						<a href="https://stratoslive.wso2.com/carbon/sso-acs/redirect_ajaxprocessor.jsp"><img src="images/sign-in.gif"/></a>
+					</div>
+					
+					<div class="banner">
+						<div id="featured"> 
+							<div class="screencast">
+								<h2>Introducing WSO2 Stratos</h2>
+								<object height="265" width="440"><param value="https://www.youtube.com/v/hF0u6tvDoLQ?fs=1&amp;hl=en_US&amp;fs=1&amp;showinfo=0" name="movie"><param value="true" name="allowFullScreen"><param value="always" name="allowscriptaccess"><embed height="265" width="440" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="https://www.youtube.com/v/hF0u6tvDoLQ?fs=1&amp;hl=en_US&amp;fs=1&amp;showinfo=0&amp;rel=0"></object>
+							</div>
+							<div class="whitepaper">
+								<a target="_blank" href="http://wso2.com/casestudies/effective-cloud-enablement-with-wso2-stratos/"><img src="images/white-paper.png"/></a>
+							</div>
+							<div class="webinar">
+								<a target="_blank"href="http://wso2.org/library/webinars/2011/05/lean-cloud-platform"><img src="images/webinar.png"/></a>
+							</div>
+						</div>
+					</div>
+				</div>
+				<div class="clear"></div>
+				<div id="bottom">
+					<div class="feature">
+						Build composite applications that automatically scale
+					</div>
+					<div class="feature">
+						Pay just for the services you use
+					</div>
+					<div class="feature">
+						Freedom to move applications and data to WSO2 Stratos in your own datacenter
+					</div>
+					<div class="clear"></div>
+				</div>
+			</div>
+			<div id="footer">
+				<div class="footer-links">
+					<a target="_blank" href="http://www.wso2.com/cloud/services/terms-of-use">Terms of Use</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/privacy-policy">Privacy Policy</a> | <a target="_blank" href="http://wso2.com/cloud/services/sla/">Service Level Agreement</a> | <a target="_blank" href="http://wso2.com/cloud/stratoslive/pricing/">Pricing</a> | <a target="_blank" href="http://www.wso2.com/cloud/services/support">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-2012 WSO2, Inc. </span>
+				</div>
+			</div>
+		</div>
+	</body>
+
+</html>


[02/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/assembly/bin.xml b/products/stratos_controller/modules/distribution/src/assembly/bin.xml
new file mode 100755
index 0000000..54ac045
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/assembly/bin.xml
@@ -0,0 +1,570 @@
+<!--
+ ~ 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>
+    <!--<id>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>**/*.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>**/INSTALL.txt</exclude>
+                <exclude>**/LICENSE.txt</exclude>
+                <exclude>**/release-notes.html</exclude>
+                <exclude>**/carbon.xml</exclude>
+                <exclude>**/README*</exclude>
+		<!--Removing relying party ui bundle to fix STRATOS-1149 -->
+                <exclude>**/org.wso2.carbon.identity.relyingparty.ui_4.1.0-SNAPSHOT.jar</exclude>
+                <exclude>**/org.wso2.carbon.identity.relyingparty.stub_4.1.0-SNAPSHOT.jar</exclude>
+		<!--Removing roles mgt ui to fix STRATOS-2114-->
+                <exclude>**/org.wso2.carbon.roles.mgt.ui_4.1.0-SNAPSHOT.jar</exclude>
+                <exclude>**/org.wso2.carbon.roles.mgt.stub_4.1.0-SNAPSHOT.jar</exclude>
+               <exclude>**/log4j.properties</exclude>
+            </excludes>
+        </fileSet>	
+        <fileSet>
+            <directory>target/shopping-cart-global-${shoppingcart.global.version}</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/samples/bin</outputDirectory>
+            <includes>
+                <include>**/*.car</include>
+                <include>**/*.properties</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
+            <excludes>
+                <exclude>**/daemon.sh</exclude>
+                <exclude>**/wso2server.bat</exclude>
+		<exclude>**/wso2server.sh</exclude>
+		 <exclude>**/log4j.properties</exclude>
+            </excludes>
+            <includes>
+                <include>**/*.sh</include>
+                <include>**/native/*</include>
+            </includes>
+            <fileMode>755</fileMode>
+        </fileSet>
+	<fileSet>
+            <directory>../../conf/synapse-configs</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/synapse-configs
+            </outputDirectory>
+        </fileSet>
+        <fileSet>
+            <directory>../../conf</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+            <excludes>
+                <exclude>**/samples-desc.xml</exclude>
+                <exclude>**/identity.xml</exclude>
+                <exclude>**/user-mgt.xml</exclude>
+                <exclude>**/datasources.properties</exclude>
+                <exclude>.svn</exclude>
+                <exclude>email-bill-generated.xml</exclude>
+                <exclude>email-billing-notifications.xml</exclude>
+                <exclude>email-new-tenant-activation.xml</exclude>
+                <exclude>email-new-tenant-registration.xml</exclude>
+                <exclude>email-password-reset.xml</exclude>
+                <exclude>email-payment-received-customer.xml</exclude>
+				<exclude>email-registration-payment-received-customer.xml</exclude>
+                <exclude>email-payment-received-wso2.xml</exclude>
+                <exclude>email-registration-complete.xml</exclude>
+                <exclude>email-registration-moderation.xml</exclude>
+                <exclude>email-registration.xml</exclude>
+                <exclude>email-update.xml</exclude>
+		<exclude>tenant-reg-agent.xml</exclude>
+                <exclude>features-dashboard.xml</exclude>
+            </excludes>
+        </fileSet>
+        <fileSet>
+            <directory>../../conf</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/email</outputDirectory>
+            <includes>
+                <include>email-bill-generated.xml</include>
+                <include>email-billing-notifications.xml</include>
+                <include>email-new-tenant-activation.xml</include>
+                <include>email-new-tenant-registration.xml</include>
+                <include>email-password-reset.xml</include>
+                <include>email-payment-received-customer.xml</include>
+                <include>email-registration-payment-received-customer.xml</include>
+				<include>email-payment-received-wso2.xml</include>
+                <include>email-registration-complete.xml</include>
+                <include>email-registration-moderation.xml</include>
+                <include>email-registration.xml</include>
+                <include>email-update.xml</include>
+            </includes>
+        </fileSet>
+	<fileSet>
+            <directory>../../conf</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/multitenancy</outputDirectory>
+            <includes>
+                <include>tenant-reg-agent.xml</include>
+                <include>features-dashboard.xml</include>
+            </includes>
+        </fileSet>
+	<fileSet>
+            <directory>../../conf</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources</outputDirectory>
+            <includes>
+                <include>stratos-datasources.xml</include>
+            </includes>
+        </fileSet>
+
+        <!-- copy documentation -->
+        <fileSet>
+            <directory>target/site</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/docs</outputDirectory>
+            <fileMode>755</fileMode>
+        </fileSet>
+
+        <!-- Copying themes, cloud icons-->
+         <fileSet>
+            <directory>../../resources</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/resources</outputDirectory>
+            <fileMode>755</fileMode>
+            <includes>
+                <include>allthemes/**</include>
+                <include>powerded-by-logos/**</include>
+            </includes>
+            <excludes>
+                <exclude>.svn</exclude>
+            </excludes>
+        </fileSet>
+
+        <!--start BAM related files -->
+        <!--<fileSet>
+            <directory>resources/dataservices</directory>
+            <outputDirectory>
+                ${pom.artifactId}-${pom.version}/repository/deployment/server/dataservices
+            </outputDirectory>
+            <includes>
+                <include>*.dbs</include>
+                <include>*.xml</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>resources/dataservices/bam</directory>
+            <outputDirectory>
+                ${pom.artifactId}-${pom.version}/repository/deployment/server/dataservices
+            </outputDirectory>
+            <includes>
+                <include>*.dbs</include>
+                <include>*.xml</include>
+            </includes>
+        </fileSet>-->
+
+        <fileSet>
+            <directory>resources</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/resources</outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+        </fileSet>
+	<!--fileSet>
+            <directory>resources/dbscripts</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/</outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+        </fileSet-->
+        <!--end BAM related files -->
+
+	<!--qpid related files -->
+	<fileSet>
+           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/advanced/</directory>
+           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/advanced</outputDirectory>
+	   <includes>
+               <include>**/*</include>
+           </includes>
+	    <excludes>
+                <exclude>**/jmx.xml</exclude>
+		<exclude>**/tenant-axis2.xml</exclude>
+		<exclude>**/authenticators.xml</exclude>
+		<exclude>**/logging-config.xml</exclude>
+            </excludes>
+        </fileSet>
+	<!-- end of qpid related files -->
+
+	<!-- adc.mgt related files -->
+	<fileSet>
+           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/</directory>
+           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
+	   <includes>
+               <include>cartridge-config.properties</include>
+               <include>policies.xml</include>
+           </includes>
+        </fileSet>
+        <fileSet>
+           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc</directory>
+           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
+	   <includes>
+               <include>policies.xsd</include>
+           </includes>
+        </fileSet>
+	<!-- end of adc.mgt related files -->
+
+	 <fileSet>
+           <directory>../p2-profile/target/wso2carbon-core-${carbon.platform.version}/repository/conf/etc/</directory>
+           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
+           <includes>
+               <include>**/cassandra.yaml</include>
+           </includes>
+        </fileSet>
+	<fileSet>
+           <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/</directory>
+           <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
+	   <includes>
+       		<include>**/identity.xml</include>
+		<include>**/rule-engine-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/multitenancy/</outputDirectory>
+           <includes>
+                <include>**/multitenancy-packages.xml</include>
+                <include>**/stratos.xml</include>
+                <include>**/eula.xml</include>
+                <include>**/usage-throttling-agent-config.xml</include>
+		<!--include>**/cloud-services-desc.xml</include-->
+           </includes>
+        </fileSet>
+
+		<!-- copy the landing page webapp -->
+        <fileSet>
+			<directory>lib/home</directory>
+			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps/STRATOS_ROOT</outputDirectory>
+		</fileSet>
+
+		<fileSet>
+			<directory>../../modules/features-dashboard/target/</directory>
+			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
+			<includes>
+				<include>**/*.war</include>
+			</includes>
+		</fileSet>
+        <fileSet>
+			<directory>../../resources/cloud-services-icons/target/</directory>
+			<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
+			<includes>
+				<include>**/*.war</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/identity</outputDirectory>
+            <includes>
+                <include>**/**.sql</include>
+            </includes>
+		</fileSet>
+
+		<!-- copy the billing h2 db -->
+		<fileSet>
+			<directory>target/database</directory>
+			<outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory>
+		</fileSet>
+		<!-- get axis2_1.6.1.wso2v9.jar from carbon kernel patch 0002 -->
+                <fileSet>
+                   <directory>../p2-profile-gen/target/WSO2-CARBON-PATCH-4.1.0-0002/</directory>
+                   <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/patches</outputDirectory>
+                   <includes>
+                       <include>**/patch0002/axis2_1.6.1.wso2v9.jar</include>
+                   </includes>
+                </fileSet>
+		<fileSet>
+                   <directory>../../billing-script/</directory>
+                   <outputDirectory>${pom.artifactId}-${pom.version}/dbscripts</outputDirectory>
+                </fileSet>
+ 
+    </fileSets>
+
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/lib</outputDirectory>
+            <includes>
+                <include>bouncycastle:bcprov-jdk15:jar</include>
+            </includes>
+        </dependencySet>
+	<!-- use the new tool to create a bundles -->
+        <dependencySet>
+            <outputDirectory>${pom.artifactId}-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
+            <includes>
+                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
+            </includes>
+        </dependencySet>
+        <!--dependencySet>
+            <outputDirectory>wso2elb-${pom.version}/samples/axis2Client/client_repo/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.axis2:addressing:mar</include>
+                <include>org.apache.rampart:rampart:mar</include>
+                <include>org.apache.sandesha2:sandesha2:mar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet>
+        <dependencySet>
+            <outputDirectory>wso2elb-${pom.version}/samples/axis2Server/repository/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.axis2:addressing:mar</include>
+                <include>org.apache.rampart:rampart:mar</include>
+                <include>org.apache.sandesha2:sandesha2:mar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet-->
+        <dependencySet>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/axis2/client/lib</outputDirectory>
+            <includes>
+                <include>bouncycastle:bcprov-jdk15:jar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet>
+        <dependencySet>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/client/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.rampart:rampart:mar</include>
+            </includes>
+        </dependencySet>
+	<dependencySet>
+            <outputDirectory>${pom.artifactId}-${pom.version}/client-lib</outputDirectory>
+            <includes>
+                <include>org.wso2.andes: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>
+            </includes>
+        </dependencySet>
+	
+	<!--<dependencySet>
+		<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/webapps</outputDirectory>
+		<includes>
+                    <include>org.wso2.carbon:features-dashboard:war</include>
+		</includes>
+	</dependencySet>-->
+    </dependencySets>
+
+    <files>
+        <file>
+            <source>INSTALL.txt</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>../../conf/samples-desc.xml</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>../../conf/datasources.properties</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+	<!--file>
+            <source>../../conf/cartridge-config.properties</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file-->
+	<file>
+            <source>../../conf/cloud-services-desc.xml</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/multitenancy</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>README.txt</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>LICENSE.txt</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>release-notes.html</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>target/wso2carbon-core-${carbon.kernel.version}/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}/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>target/wso2carbon-core-${carbon.kernel.version}/bin/wso2server.bat</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file-->
+	<!--file>
+            <source>bam-resources/bam.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/resources/security/userRP.jks</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/resources/security/</outputDirectory>
+            <fileMode>644</fileMode>
+        </file>
+	<!--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-->
+	
+	<!-- Including logging-config.xml 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>
+	<file>
+            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/log4j.properties</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
+        </file>
+	<file>
+            <source>src/bin/wso2server.sh</source>
+            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>755</fileMode>
+        </file>
+	<file>
+            <source>src/bin/git-folder-structure.sh</source>
+            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>755</fileMode>
+        </file>
+	<file>
+            <source>src/bin/manage-git-repo.sh</source>
+            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>755</fileMode>
+        </file>
+	<file>
+            <source>src/bin/set-mysql-password.sh</source>
+            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>755</fileMode>
+        </file>
+        <file>
+            <source>src/bin/add_entry_zone_file.sh</source>
+            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>755</fileMode>
+        </file>
+        <file>
+            <source>src/bin/remove_entry_zone_file.sh</source>
+            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>755</fileMode>
+        </file>
+	<file>
+            <source>src/bin/update-instance.sh</source>
+            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>755</fileMode>
+        </file>
+	<file>
+            <source>src/bin/wso2server.bat</source>
+            <outputDirectory>wso2sc-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>755</fileMode>
+        </file>
+         <!-- Including log4j.properties file -->
+        <!--file>
+            <source>
+                ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/log4j.properties
+
+            </source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
+        </file-->      
+	<file>
+            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/claim-config.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/sso-idp-config.xml</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
+        </file-->
+
+	<!-- Including coordination-client-config.xml file -->
+        <file>
+            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/coordination-client-config.xml</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
+        </file>
+	<!-- Ntask config file -->
+	<file>
+            <source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/tasks-config.xml</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
+        </file>
+	<file>
+            <source>../../conf/zoo.cfg</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/etc</outputDirectory>
+        </file>
+	<file>
+            <source>../../conf/jaas.conf</source>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/security</outputDirectory>
+	    <destName>jaas.conf</destName>
+            <filtered>true</filtered>
+        </file>
+    </files>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/assembly/dist.xml b/products/stratos_controller/modules/distribution/src/assembly/dist.xml
new file mode 100755
index 0000000..c0df315
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/assembly/dist.xml
@@ -0,0 +1,44 @@
+<!--
+ ~ 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-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/components</outputDirectory>
+            <excludes>
+                <exclude>**/eclipse.ini</exclude>
+                <exclude>**/*.lock</exclude>
+                <exclude>**/.data</exclude>
+                <exclude>**/.settings</exclude>
+            </excludes>
+        </fileSet>
+        <fileSet>
+            <directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf</directory>
+            <outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
+            <includes>
+                <include>**/claim-config.xml</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/assembly/filter.properties b/products/stratos_controller/modules/distribution/src/assembly/filter.properties
new file mode 100755
index 0000000..5cb2ce8
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/assembly/filter.properties
@@ -0,0 +1,7 @@
+product.name=WSO2 Stratos Controller
+product.key=SCC
+product.version=1.0.1
+hotdeployment=true
+hotupdate=false
+carbon.version=4.1.3
+default.server.role=Stratos Controller

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/bin/add_entry_zone_file.sh
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/bin/add_entry_zone_file.sh b/products/stratos_controller/modules/distribution/src/bin/add_entry_zone_file.sh
new file mode 100755
index 0000000..63fa028
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/bin/add_entry_zone_file.sh
@@ -0,0 +1,50 @@
+#!/bin/bash
+zone_file=$3
+subdomain=$1
+ip=$2
+
+# check the file
+if [ -f {$zone_file} ]; then
+	echo "Error: zone does not exist"
+	exit 1
+fi
+echo "File $zone_file exists"
+
+#appending the zone file
+echo "$subdomain IN A $ip">> $zone_file
+echo "Added subdomain to the file"
+
+# get serial number
+serial=$(grep 'Serial' $zone_file | awk '{print $1}')
+echo "Serial number " $serial
+# get serial number's date
+serialdate=$(echo $serial | cut -b 1-8)
+# get today's date in same style
+date=$(date +%Y%m%d)
+
+
+#Serial number's date
+serialdate=$(echo $serial | cut -b 1-8)
+echo "serial date" $serialdate
+# get today's date in same style
+date=$(date +%Y%m%d)
+echo "Now date" $date
+
+# compare date and serial date
+if [ $serialdate = $date ]
+	then
+		# if equal, just add 1
+		newserial=$(expr $serial + 1)
+		echo "same date"
+	else
+		# if not equal, make a new one and add 00
+		newserial=$(echo $date"00")
+fi
+
+echo "Adding subdomain $1 and ip $2 to $3"
+sed -i "s/.*Serial.*/ \t\t\t\t$newserial ; Serial./" $zone_file
+
+
+
+#reloading bind server
+/etc/init.d/bind9 reload

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/bin/git-folder-structure.sh
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/bin/git-folder-structure.sh b/products/stratos_controller/modules/distribution/src/bin/git-folder-structure.sh
new file mode 100755
index 0000000..2b5439b
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/bin/git-folder-structure.sh
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+tenant=""
+cartridge=""
+ads_git_url="localhost"
+
+function help {
+    echo "Usage:git-folder-structure  <mandatory arguments>"
+    echo "    Usage:"
+    echo "    	  git-folder-structure <tenant> <cartridge> [webapp=readme file description with space replace with #] "
+    echo "    eg:"
+    echo "    	  git-folder-structure tenant1 as webapp=copy#war#files#here"
+    echo ""
+}
+
+function main {
+
+if [[ (-z $tenant || -z $cartridge ) ]]; then
+    help
+    exit 1
+fi
+
+}
+
+tenant=$1
+cartridge=$2
+
+if [[ (-n $tenant && -n $cartridge) ]]; then
+	cd /tmp/
+	rm -fr ${tenant}/${cartridge}
+	git clone git@localhost:${tenant}/${cartridge}
+	cd ${cartridge}
+	git pull origin master
+	shift
+	shift
+	for IN in "$@"; do
+		IFS='=' read -ra ADDR <<< "$IN"
+		mkdir -p ${ADDR[0]}
+		echo ${ADDR[1]} | sed -e 's/#/ /g' > ${ADDR[0]}/README.txt
+		git add ${ADDR[0]}
+		git commit -a -m 'Folder structure commit'
+		git push origin master
+	done
+	rm -fr ${cartridge}	
+fi	
+
+main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/bin/manage-git-repo.sh
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/bin/manage-git-repo.sh b/products/stratos_controller/modules/distribution/src/bin/manage-git-repo.sh
new file mode 100755
index 0000000..b0dfa80
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/bin/manage-git-repo.sh
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+user="wso2"
+action=""
+username=""
+tenant_domain=""
+cartridge=""
+tenant_key=""
+cartridge_key=""
+gitolite_admin="/home/wso2/gitolite-admin/"
+git_domain=""
+git_repo="/home/git/repositories/"
+ADC_repo_notification_url=""
+
+
+function help {
+    echo "Usage: manage-git-repo <action> <mandatory arguments>"
+    echo "    Action can be one of the following"
+    echo "        create : create git repo"
+    echo "        destroy: destroy git repo"
+    echo "        delete : delete user from a git repo"
+    echo "    Usage:"
+    echo "    	  manage-git-repo create <username> <tenant domain> <cartridge alias/name> <ADC repo notification url> <git_domain>"
+    echo "    	  manage-git-repo destroy <username> <tenant domain> <cartridge alias/name>"
+    echo "    eg:"
+    echo "    	  manage-git-repo create foo abc.com myphp https://localhost:9445/services/RepoNotificationService/"
+    echo ""
+}
+
+function main {
+
+if [[ ( -z $action || ( -n $action && $action == "help" ) ) ]]; then
+    help
+    exit 1
+fi
+if [[ (( -n $action && $action == "create") && ( -z $tenant_domain || -z $username || -z $cartridge || -z $ADC_repo_notification_url)) ]]; then
+    help
+    exit 1
+fi
+
+if [[ (( -n $action && $action == "destroy") && ( -z $tenant_domain || -z $username || -z $cartridge)) ]]; then
+    help
+    exit 1
+fi
+
+}
+
+action=$1
+username=$2
+tenant_domain=$3
+cartridge=$4
+ADC_repo_notification_url=$5
+git_domain=$6
+if [[ $action == "create" ]]; then
+
+     # hack until stratos manager support key pair for every user
+     rm -fr /tmp/${username}*
+     ssh-keygen -t rsa -N ''  -f /tmp/${username}
+     cd ${gitolite_admin}
+     git pull
+     # set public keys
+     cp -f /tmp/${username}.pub keydir/${username}.pub
+     #remove temparaly created files
+     rm /tmp/${username}.pub
+     # add repo and permission to conf 
+
+
+     echo "" > conf/repos/${tenant_domain}-${cartridge}.conf 
+     echo "repo ${tenant_domain}/${cartridge}.git" >> conf/repos/${tenant_domain}-${cartridge}.conf
+     echo "	RW+    = ${username} ${user}  daemon" >> conf/repos/${tenant_domain}-${cartridge}.conf
+     echo "     config  gitweb.url                  = git@${git_domain}:${tenant_domain}/${cartridge}" >> conf/repos/${tenant_domain}-${cartridge}.conf
+     echo "     config  receive.denyNonFastforwards = true" >> conf/repos/${tenant_domain}-${cartridge}.conf
+     echo "     config  receive.denyDeletes         = true" >> conf/repos/${tenant_domain}-${cartridge}.conf
+     echo "" >> conf/repos/${tenant_domain}-${cartridge}.conf
+     # git operations
+     git add keydir/${username}.pub
+     git add conf/repos/${tenant_domain}-${cartridge}.conf
+     git commit -a -m "${username} keys added and ${tenant_domain}/${cartridge} repo created"
+     git pull
+     git push
+     # set git push trigger
+    
+   echo "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://org.apache.axis2/xsd\">
+   <soapenv:Header/>
+   <soapenv:Body>
+      <xsd:notifyRepoUpdate>
+         <xsd:tenantDomain>${tenant_domain}</xsd:tenantDomain>
+         <xsd:cartridgeType>${cartridge}</xsd:cartridgeType>
+      </xsd:notifyRepoUpdate>
+   </soapenv:Body>
+</soapenv:Envelope>" > /tmp/${tenant_domain}-request.xml
+   
+    echo "#!/bin/bash" > /tmp/${tenant_domain}-post-update
+    echo "curl -X POST -H \"Content-Type: text/xml\"   -d @${git_repo}${tenant_domain}/${cartridge}.git/hooks/request.xml \"${ADC_repo_notification_url}\" --insecure" >> /tmp/${tenant_domain}-post-update
+    echo "exec git update-server-info" >> /tmp/${tenant_domain}-post-update
+    
+    sudo mv /tmp/${tenant_domain}-request.xml ${git_repo}${tenant_domain}/${cartridge}.git/hooks/request.xml
+    sudo mv /tmp/${tenant_domain}-post-update ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
+    sudo chown git:git ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
+    sudo chmod 700 ${git_repo}${tenant_domain}/${cartridge}.git/hooks/post-update
+fi
+if [[ $action == "destroy" ]]; then
+ 
+     cd ${gitolite_admin}
+     # remove user keys
+     git rm keydir/${username}.pub
+     # remove repo from config
+     git rm conf/repos/${tenant_domain}-${cartridge}.conf
+     # git push to execute
+     git pull
+     git push
+     # remove repo from repository. ** this should done from above. but it doesnt happend. So removing manualy.
+     sudo rm -fr /home/git/repositories/${tenant_domain}/${cartridge}.git
+
+fi
+
+
+main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/bin/remove_entry_zone_file.sh
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/bin/remove_entry_zone_file.sh b/products/stratos_controller/modules/distribution/src/bin/remove_entry_zone_file.sh
new file mode 100755
index 0000000..7c08abc
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/bin/remove_entry_zone_file.sh
@@ -0,0 +1,55 @@
+#!/bin/bash
+zone_file=$2
+subdomain=$1
+
+# check the file
+if [ -f {$zone_file} ]; then
+	echo "Error: zone does not exist"
+	exit 1
+fi
+echo "File $zone_file exists"
+
+# find entry to delete
+entry=$(grep $subdomain $zone_file)
+#sed "/$entry/d" $zone_file 
+
+sed "/$entry/d" $zone_file >tmp
+mv tmp $zone_file
+
+echo "entry to delete  $entry"
+
+
+# get serial number
+serial=$(grep 'Serial' $zone_file | awk '{print $1}')
+echo "Serial number " $serial
+# get serial number's date
+serialdate=$(echo $serial | cut -b 1-8)
+# get today's date in same style
+date=$(date +%Y%m%d)
+
+
+#Serial number's date
+serialdate=$(echo $serial | cut -b 1-8)
+echo "serial date" $serialdate
+# get today's date in same style
+date=$(date +%Y%m%d)
+echo "Now date" $date
+
+# compare date and serial date
+if [ $serialdate = $date ]
+	then
+		# if equal, just add 1
+		newserial=$(expr $serial + 1)
+		echo "same date"
+	else
+		# if not equal, make a new one and add 00
+		newserial=$(echo $date"00")
+fi
+
+echo "Adding subdomain $1 and ip $2 to $3"
+sed -i "s/.*Serial.*/ \t\t\t\t$newserial ; Serial./" $zone_file
+
+
+
+#reloading bind server
+/etc/init.d/bind9 reload

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/bin/set-mysql-password.sh
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/bin/set-mysql-password.sh b/products/stratos_controller/modules/distribution/src/bin/set-mysql-password.sh
new file mode 100755
index 0000000..b18fd0d
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/bin/set-mysql-password.sh
@@ -0,0 +1,45 @@
+#!/bin/bash
+
+user="ubuntu"
+instance_ip=""
+cartridge_private_key=""
+password=""
+
+
+function help {
+    echo "Usage: set-mysql-password <mandatory arguments>"
+    echo "    Usage:"
+    echo "    	  set-mysql-password <instance ip> <cartridge private key> <password>"
+    echo "    eg:"
+    echo "    	  set-mysql-password 172.17.1.2 /tmp/foo-php qazxsw"
+    echo ""
+}
+
+function main {
+
+if [[ (-z $password || -z $instance_ip) ]]; then
+    help
+    exit 1
+fi
+
+}
+
+instance_ip=$1
+cartridge_private_key=$2
+password=$3
+
+echo "#!/bin/bash
+echo \"GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'   IDENTIFIED BY '${password}' WITH GRANT OPTION;flush privileges;\" | mysql -uroot -p${password}
+" > /tmp/${password}.sh
+
+if [[ (-n $password && -n $instance_ip) ]]; then
+	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} mysqladmin -u root password "${password}"
+#	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} echo "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'   IDENTIFIED BY '${password}' WITH GRANT OPTION;flush privileges;" | mysql -u root -p"${password}"
+	scp -i ${cartridge_private_key} /tmp/${password}.sh ${user}@${instance_ip}:
+	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} chmod 755 /home/${user}/${password}.sh
+	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} /home/${user}/${password}.sh
+	ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} rm /home/${user}/${password}.sh
+fi
+rm /tmp/${password}.sh
+
+main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/bin/update-instance.sh
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/bin/update-instance.sh b/products/stratos_controller/modules/distribution/src/bin/update-instance.sh
new file mode 100755
index 0000000..3935dd1
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/bin/update-instance.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+user="ubuntu"
+instance_ip=""
+app_path=""
+cartridge_private_key=""
+
+function help {
+    echo "Usage: update-instance <mandatory arguments>"
+    echo "    Usage:"
+    echo "    	  update-instance <instance_ip> <app path> <cartridge_private_key>"
+    echo "    eg:"
+    echo "    	  update-instance 172.17.1.1 /var/www/myapp /tmp/foo-php"
+    echo ""
+}
+
+function main {
+
+if [[ (-z $instance_ip || -z $app_path || -z $cartridge_private_key ) ]]; then
+    help
+    exit 1
+fi
+
+}
+
+instance_ip=$1
+app_path=$2
+cartridge_private_key=$3
+
+if [[ (-n $instance_ip && -n $app_path && -n $cartridge_private_key ) ]]; then
+    ssh -o "BatchMode yes" -i ${cartridge_private_key} ${user}@${instance_ip} /opt/git.sh
+fi
+
+main

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/bin/wso2server.bat
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/bin/wso2server.bat b/products/stratos_controller/modules/distribution/src/bin/wso2server.bat
new file mode 100644
index 0000000..ee4cbc3
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/bin/wso2server.bat
@@ -0,0 +1,170 @@
+@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
+
+
+: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 %*
+
+:checkJdk16
+"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
+IF ERRORLEVEL 1 goto unknownJdk
+goto jdk16
+
+:unknownJdk
+echo Starting WSO2 Carbon (in unsupported JDK)
+echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
+goto jdk16
+
+:jdk16
+goto runServer
+
+rem ----------------- Execute The Requested Command ----------------------------
+
+:runServer
+cd %CARBON_HOME%
+
+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%" -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" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -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.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 -Dloadbalancer.conf="%CARBON_HOME%\repository\conf\loadbalancer.conf"
+
+: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

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/bin/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/bin/wso2server.sh b/products/stratos_controller/modules/distribution/src/bin/wso2server.sh
new file mode 100755
index 0000000..d71351d
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/bin/wso2server.sh
@@ -0,0 +1,298 @@
+#!/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 ----------------------------------------------
+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"
+    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 >&- ; then
+      echo "Process is already running"
+      exit 0
+    fi
+  fi
+  export CARBON_HOME=$CARBON_HOME
+# using nohup bash to avoid erros in solaris OS.TODO
+  nohup bash $CARBON_HOME/bin/wso2server.sh > /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 bash to avoid erros in solaris OS.TODO
+  nohup bash $CARBON_HOME/bin/wso2server.sh > /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_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
+if [ "$jdk_16" = "" ]; then
+   echo " Starting WSO2 Carbon (in unsupported JDK)"
+   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
+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"
+
+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" \
+    -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" \
+    -Djava.util.logging.config.file="$CARBON_HOME/repository/conf/log4j.properties" \
+    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
+    -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.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 \
+    -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
+    org.wso2.carbon.bootstrap.Bootstrap $*
+    status=$?
+done

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/carbonFormStyles.css
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/carbonFormStyles.css b/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/carbonFormStyles.css
new file mode 100644
index 0000000..3b37ed3
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/carbonFormStyles.css
@@ -0,0 +1,265 @@
+.placeholderClass {
+    color: #ccc;
+}
+
+#tabs ul li {
+    /* webkit */
+    background-image: -webkit-gradient( linear, left top, left bottom, from( #cdd6e3 ), to( #ffffff ) ); /* mozilla - FF3.6+ */
+    background-image: -moz-linear-gradient( top, #cdd6e3 0%, #ffffff 100% ); /* IE 5.5 - 7 */
+    filter: progid:DXImageTransform.Microsoft.gradient( gradientType = 0, startColor = 0, endColorStr = #cdd6e3 ); /* IE8 */
+    -ms-filter: progid: DXImageTransform . Microsoft . gradient( gradientType = 0, startColor = 0, endColoStr = #cdd6e3 );
+
+    padding: 2px 8px 3px;
+    color: #fff;
+    text-decoration: none;
+    line-height: 1;
+    -moz-border-radius-topleft: 5px;
+    -moz-border-radius-topright: 5px;
+    border-top-left-radius: 5px;
+    border-top-right-radius: 5px;
+
+    border-bottom: none;
+    height: 20px;
+    margin-right: 5px;
+    border-top: solid 1px #b2ccdd;
+    border-left: solid 1px #b2ccdd;
+    border-right: solid 1px #b2ccdd;
+}
+
+#tabs ul li a {
+    color: #00608f;
+    padding: 2px;
+    font-size: .8em;
+}
+
+#tabs ul li.ui-tabs-selected {
+    background-image: none;
+    background-color: #fff;
+}
+
+#tabs ul li.ui-tabs-selected a {
+    color: #000;
+}
+
+#workArea {
+    padding-bottom: 0px;
+}
+
+.carbonFormTable {
+    color: #555;
+    width: 100%;
+}
+
+.carbonFormTable td {
+    vertical-align: top;
+    font-size: 12px;
+    padding-bottom: 5px !important;
+}
+
+.carbonFormTable input[type=text],.carbonFormTable input[type=password] {
+/* webkit */
+    background-image: -webkit-gradient( linear, left top, left bottom, from( #f7f7f7 ), to( #ffffff ) ); /* mozilla - FF3.6+ */
+    background-image: -moz-linear-gradient( top, #f7f7f7 0%, #ffffff 100% ); /* IE 5.5 - 7 */
+    filter: progid:DXImageTransform.Microsoft.gradient( gradientType = 0, startColorStr = #f7f7f7ff, endColorStr = #ffffffff ); /* IE8 */
+    -ms-filter: progid: DXImageTransform . Microsoft . gradient( gradientType = 0, startColorStr = #f7f7f7ff, endColoStr = #ffffffff );
+
+    background-repeat: repeat-x;
+    border: 1px solid #58697d;
+    min-width: 230px;
+    height: 20px;
+    color: #333333;
+    padding: 3px;
+    margin-right: 4px;
+    margin-bottom: 2px; /*font-family:tahoma, arial, sans-serif;*/
+}
+.carbonFormTable input[disabled=disabled]{
+    background-image: -webkit-gradient( linear, left top, left bottom, from( #dddddd ), to( #eeeeee ) ); /* mozilla - FF3.6+ */
+      background-image: -moz-linear-gradient( top, #dddddd 0%, #eeeeee 100% ); /* IE 5.5 - 7 */
+      filter: progid:DXImageTransform.Microsoft.gradient( gradientType = 0, startColorStr = #ddddddff, endColorStr = #eeeeeeff ); /* IE8 */
+      -ms-filter: progid: DXImageTransform . Microsoft . gradient( gradientType = 0, startColorStr = #ddddddff, endColoStr = #eeeeeeff );
+
+}
+.carbonFormTable td.labelField, .carbonFormTable label.labelField {
+}
+
+.buttonRow {
+    padding: 10px; /* webkit */
+    background-image: -webkit-gradient( linear, left top, left bottom, from( #f2f2f2 ), to( #ffffff ) ); /* mozilla - FF3.6+ */
+    background-image: -moz-linear-gradient( top, #f2f2f2 0%, #ffffff 100% ); /* IE 5.5 - 7 */
+    filter: progid:DXImageTransform.Microsoft.gradient( gradientType = 0, startColorStr = #f2f2f2ff, endColorStr = #ffffffff ); /* IE8 */
+    -ms-filter: progid: DXImageTransform . Microsoft . gradient( gradientType = 0, startColorStr = #f2f2f2ff, endColoStr = #ffffffff );
+
+    border: solid 1px #b8c9d0;
+
+}
+.sub_buttonRow{
+     padding: 10px; /* webkit */
+    background-color:#f5f5f5;
+    border-left: solid 1px #b8c9d0;
+    border-right: solid 1px #b8c9d0;
+    border-bottom: solid 1px #b8c9d0;
+}
+.sub_buttonRow input.button,.sub_buttonRow button.button {
+    margin-right:10px;
+}
+.ui-tabs .ui-tabs-panel {
+    padding: 0px;
+}
+
+.togglebleTitle {
+/*background:transparent url(../images/arrowDownUp.png) no-repeat left -20px;*/
+    cursor: pointer;
+}
+
+.sectionSeperator {
+    color: #000;
+    text-transform: capitalize;
+    font-size: 12px;
+
+    background-image: -webkit-gradient( linear, left top, left bottom, from( #ffffff ), to( #dddddd ) ); /* mozilla - FF3.6+ */
+    background-image: -moz-linear-gradient( top, #ffffff 0%, #dddddd 100% ); /* IE 5.5 - 7 */
+    filter: progid:DXImageTransform.Microsoft.gradient( gradientType = 0, startColorStr = #ffffff, endColorStr = #dddddd ); /* IE8 */
+    -ms-filter: progid: DXImageTransform . Microsoft . gradient( gradientType = 0, startColorStr = #ffffff, endColoStr = #dddddd );
+
+    -moz-border-radius: 3px;
+    border-radius: 3px;
+    border: solid 1px #888888;
+    padding: 5px 10px;
+    width: auto;
+
+    -moz-box-shadow: 3px 3px 2px #ddd;
+    -webkit-box-shadow: 3px 3px 2px #ddd;
+    box-shadow: 3px 3px 2px #ddd;
+    margin-bottom: 10px;
+    clear: both;
+}
+
+.sectionSeperator img {
+    margin-left: 20px;
+}
+
+.contentHidden {
+/*background:transparent url(../images/arrowDownUp.png) no-repeat left 5px !important; */
+    color: #fff;
+    background-image: -webkit-gradient( linear, left top, left bottom, from( #555555 ), to( #dddddd ) ); /* mozilla - FF3.6+ */
+    background-image: -moz-linear-gradient( top, #888888 0%, #eeeeee 100% ); /* IE 5.5 - 7 */
+    filter: progid:DXImageTransform.Microsoft.gradient( gradientType = 0, startColorStr = #555555, endColorStr = #dddddd ); /* IE8 */
+    -ms-filter: progid: DXImageTransform . Microsoft . gradient( gradientType = 0, startColorStr = #555555, endColoStr = #dddddd );
+}
+
+.sectionSub {
+    padding-left: 10px;
+    padding-bottom: 10px;
+    padding-top: 10px;
+}
+.sectionSubForm{
+    border: solid 1px #b8c9d0;
+}
+.sectionSub table.styledLeft{
+    margin-left:0px !important;
+}
+.sectionHelp {
+    padding-bottom: 10px;
+    font-style: italic;
+    background: transparent url( ../images/help-small-icon.png ) no-repeat left top;
+    text-indent: 20px;
+}
+
+.button, .button:visited {
+    font-family: Arial;
+  color: #000000;
+  font-size: 13px;
+  padding: 2px;
+  text-decoration: none;
+  -webkit-border-radius: 3px;
+  -moz-border-radius: 3px;
+
+  text-shadow: 1px 1px 3px #ffffff;
+  border: solid #9D9FA1 1px;
+  background: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f7f7), to(#cccccc));
+  background: -moz-linear-gradient(top, #f7f7f7, #cccccc);
+  -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#f7f7f7, endColorStr=#cccccc);
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#f7f7f7, endColorStr=#cccccc);
+  display:inline-block; /* IE is so silly */
+    position: relative;
+    cursor: pointer;
+}
+
+.button:hover, .button:focus {
+     background: #ededed;
+}
+input.button[disabled='disabled'] ,button.button[disabled='disabled'],input.button[disabled=''] ,button.button[disabled=''] {
+    color:#888;
+     background: #ededed;
+}
+.txtbox-small {
+    width: 20px;
+}
+
+.txtbox-med {
+    width: 100px;
+}
+
+.txtbox-big {
+    width: 200px;
+}
+
+.expandedTextarea {
+    width: 99%;
+    height: 150px;
+}
+.sectionInputs{
+    background-color:#eee;
+    border:solid 1px #999;
+    padding:3px 0px 3px 3px;
+}
+.sectionInputs div.sectionHelp{
+    margin:10px 5px 0px 5px;    
+}
+ul.items{
+    margin:0px;
+    list-style-type:none;
+}
+ul.items li{
+    padding:5px 0px;
+}
+
+/* Tempory overrides */
+.ui-tabs-nav li a{
+    background:none;
+}
+/* -- Form headdings --*/
+.heading_A  {
+    font-size:12px;font-weight: bold;border-bottom: solid 1px #ccc;line-height: 20px;
+}
+.heading_B  {
+    font-size:12px;font-weight: bold;line-height: 20px;
+}
+.heading_C  {
+    color:#888;font-size:12px;font-weight: bold;line-height: 20px;
+}
+
+/* Icons */
+a.icon-a{
+    cursor:pointer;
+    color:#2F7ABD;
+    line-height:25px;
+}
+[class^="icon-"], [class*=" icon-"] {
+  display: inline-block;
+  line-height: 14px;
+  vertical-align: text-top;
+  background-repeat: no-repeat;
+  margin-right:5px;
+  *margin-right: .3em;
+}
+[class^="icon-"]:last-child, [class*=" icon-"]:last-child {
+  *margin-left: 0;
+}
+
+.icon-edit { width: 16px; height: 16px; background:url(../images/mainIcons.png) no-repeat -0px -0px; }
+.icon-add { width: 16px; height: 16px; background:url(../images/mainIcons.png) no-repeat -0px -16px; }
+.icon-add-small { width: 12px; height: 12px; background:url(../images/mainIcons.png) no-repeat -0px -32px; }
+.icon-delete { width: 16px; height: 16px; background:url(../images/mainIcons.png) no-repeat -0px -44px; }
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/documentation.css
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/documentation.css b/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/documentation.css
new file mode 100644
index 0000000..dec5edd
--- /dev/null
+++ b/products/stratos_controller/modules/distribution/src/site/xdoc/admin/css/documentation.css
@@ -0,0 +1,74 @@
+body {
+    background-color: white;
+    padding-left: 20px;
+    padding-top: 0px;
+    padding-right: 20px;
+    padding-bottom: 50px;
+    margin: 0px;
+    font-family: "Lucida Grande","Lucida Sans","Microsoft Sans Serif", "Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms";
+    color: #111;
+	font-size:12px;
+	font-size-adjust:none;
+	font-stretch:normal;
+	font-style:normal;
+	font-variant:normal;
+	font-weight:normal;
+	line-height:1.25em;
+	background-image: url(../images/help-footer.gif);
+	background-repeat: no-repeat;
+	background-position: left bottom;
+}
+
+p { margin-left: 20px;
+margin-right: 20px;}
+
+td { }
+
+a:link { }
+
+a:visited { }
+
+a:hover { }
+
+a:active { }
+
+h1, h2, h3, h4, h5 {
+margin: 0px;
+padding-left: 20px;
+padding-top: 5px;
+padding-bottom: 5px;
+font-weight: normal;
+}
+
+h1 {
+	background-image: url(../images/help-header.gif);
+	background-repeat: no-repeat;
+	background-position: left top;
+	padding-top: 90px;
+	padding-bottom: 25px;
+	font-size: 225%;
+	font-weight: normal;
+	padding-left: 20px;
+	color: #f47b20;
+	margin-left: -20px;
+	margin-right: -20px;
+}
+
+a img {
+ 	border: 0px;
+}
+table.styled {
+border: solid 0px #ccc;
+border-collapse: collapse;
+}
+table.styled tr td {
+border: solid 1px #ccc;
+padding: 3px;
+}
+table.styled tr td.subHeader {
+border: solid 0px #ccc;
+padding-top: 10px;
+padding-bottom: 5px;
+font-size: 125%;
+font-weight: bold;
+}
\ No newline at end of file


[19/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery-1.7.1.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery-1.7.1.min.js b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery-1.7.1.min.js
deleted file mode 100755
index 198b3ff..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery-1.7.1.min.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/*! jQuery v1.7.1 jquery.com | jquery.org/license */
-(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p
 ;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e i
 n b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==n
 ull)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&
 b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a
 ,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parse
 Float(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.pro
 totype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.
 context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].
 splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventLis
 tener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return nul
 l;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)bre
 ak;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([
 ],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},brows
 er:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.lengt
 h;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,th
 en:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(argument
 s,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.st
 yle.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendCh
 ild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;b
 order:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.rem
 oveChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(
 b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."
 ),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b
 )},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textare
 a)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){
 f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return
 !1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNod
 e,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttr
 ibute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{ta
 bIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""
 &&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,
 C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
-f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function
 (a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+
 f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"ev
 ents")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({
 elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pa
 geX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeun
 load=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.s
 topPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,".
 _submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusi
 n",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function"
 )d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin 
 focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]
 +)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n
 .expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break
 }}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e
 +=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.len
 gth,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?nu
 ll:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[
 3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},
 password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b
 ,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=n
 ull?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d
 .push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElement
 ById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=functi
 on(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.
 call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.co
 ntains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i
 ]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&t
 his[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},co
 ntents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summar
 y|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="obje
 ct"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:fun
 ction(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
-{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach()
 );return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0
 ];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(
 a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createText
 Node(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\
 )/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&
 &isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;i
 f(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"au
 to":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arg
 uments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSe
 nd".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m)
 {if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHead
 ers:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("
 ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));tr
 y{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(
 j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&
 e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.
 readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style
 ){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&
 (a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,
 c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a
 ,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;t
 his.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.anim
 atedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();

<TRUNCATED>

[09/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-billing-notifications.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-billing-notifications.xml b/products/stratos_controller/conf/email-billing-notifications.xml
new file mode 100755
index 0000000..349c6f5
--- /dev/null
+++ b/products/stratos_controller/conf/email-billing-notifications.xml
@@ -0,0 +1,49 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+    Contains the body of the mail that to be sent as the invoice of the tenant for the period.
+  -->
+
+<configuration>       
+    <subject>WSO2 Cloud Services</subject>
+    <body>
+Hi {customer-name},
+
+This is the billing information for the time period of {start-date} to {end-date} for the use of WSO2 cloud services.
+
+Charges for subscriptions
+=========================
+{subscription-charges}
+
+Payment details
+===============
+{payment-details}
+
+Invoice Summary
+===============
+Brought Forward      {bought-forward}
+Total Cost          {total-cost}
+Total Payments      {total-payments}
+Carried Forward     {carried-forward}
+
+Best Regards,
+WSO2 Cloud Services
+http://stratoslive.wso2.com
+    </body>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-new-tenant-activation.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-new-tenant-activation.xml b/products/stratos_controller/conf/email-new-tenant-activation.xml
new file mode 100755
index 0000000..158a4c0
--- /dev/null
+++ b/products/stratos_controller/conf/email-new-tenant-activation.xml
@@ -0,0 +1,46 @@
+<!--
+ ~ 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.
+ -->
+
+<!--    
+    Contains the body of the mail that to be sent to the super admin or a given admin email address,
+    when a new tenant activates their account.
+  -->
+
+<configuration>       
+    <subject>WSO2 Cloud Services - A Tenant Has Activated Their Account</subject>
+    <body>
+Hi,
+
+Congratulations! A tenant has activated their account just now in WSO2 Cloud Services. 
+
+Tenant Details
+===============
+Admin Name: {user-name}
+Domain Name: {domain-name}
+Email Address: {email-address}
+
+Tenant Admin Profile
+====================
+First Name: {first-name}
+Last Name: {last-name}
+
+Best Regards,
+WSO2 Cloud Services Team
+http://stratoslive.wso2.com
+    </body>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-new-tenant-registration.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-new-tenant-registration.xml b/products/stratos_controller/conf/email-new-tenant-registration.xml
new file mode 100755
index 0000000..aacc048
--- /dev/null
+++ b/products/stratos_controller/conf/email-new-tenant-registration.xml
@@ -0,0 +1,46 @@
+<!--
+ ~ 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.
+ -->
+
+<!--    
+    Contains the body of the mail that to be sent to the super admin or a given admin email address,
+    when a new tenant registers for an account.
+  -->
+
+<configuration>       
+    <subject>WSO2 Cloud Services - A New Tenant Has Registererd To Stratos</subject>
+    <body>
+Hi,
+
+Congratulations! A new tenant has registered an account in WSO2 Cloud Services. 
+
+Tenant Details
+===============
+Admin Name: {user-name}
+Domain Name: {domain-name}
+Email Address: {email-address}
+
+Tenant Admin Profile
+====================
+First Name: {first-name}
+Last Name: {last-name}
+
+Best Regards,
+WSO2 Cloud Services Team
+http://stratoslive.wso2.com
+    </body>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-password-reset.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-password-reset.xml b/products/stratos_controller/conf/email-password-reset.xml
new file mode 100755
index 0000000..73a5f5b
--- /dev/null
+++ b/products/stratos_controller/conf/email-password-reset.xml
@@ -0,0 +1,42 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+   Contains the body of the mail that to be sent when the tenant admin's password is reset, mostly
+   by a service administrator, known as the super-tenant in Stratos-world.
+  -->
+
+<configuration>       
+    <subject>WSO2 Cloud Services - Password Reset</subject>
+    <body>
+Hi {first-name},
+
+Your password for the WSO2 Cloud Services has been reset by the Service Administrator.
+
+Admin Name: {user-name}
+Domain: {domain-name}
+
+Your New Password: {password}
+
+Please use this password along with your existing username to log in to your account. You are adviced to change the password once you logged in to your account using this password.
+
+Best Regards,
+WSO2 Cloud Services Team
+http://stratoslive.wso2.com
+    </body>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-payment-received-customer.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-payment-received-customer.xml b/products/stratos_controller/conf/email-payment-received-customer.xml
new file mode 100755
index 0000000..6f16035
--- /dev/null
+++ b/products/stratos_controller/conf/email-payment-received-customer.xml
@@ -0,0 +1,38 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+    Contains the body of the mail that to be sent when a payment is received.
+  -->
+
+<configuration>       
+    <subject>[Payment Received] WSO2 Cloud Services</subject>
+    <body>
+Hi {customer-name},
+
+Thank you for your payment done on {date}. Following are the payment details.
+
+Transaction ID	: {transaction-id}
+Amount		: {amount}
+Invoice ID	: {invoice-id}
+
+Best Regards,
+WSO2 Cloud Services
+http://stratoslive.wso2.com
+    </body>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-payment-received-wso2.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-payment-received-wso2.xml b/products/stratos_controller/conf/email-payment-received-wso2.xml
new file mode 100755
index 0000000..5188ce5
--- /dev/null
+++ b/products/stratos_controller/conf/email-payment-received-wso2.xml
@@ -0,0 +1,38 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+    Contains the body of the mail that to be sent when a payment is received.
+  -->
+
+<configuration>       
+    <subject>[Payment Received] WSO2 Cloud Services</subject>
+    <body>
+Hi Finance Team,
+
+A payment was recived from customer {customer-name} on {date}. Following are the payment details.
+
+Transaction ID	: {transaction-id}
+Amount		: {amount}
+Invoice ID	: {invoice-id}
+
+Best Regards,
+WSO2 Cloud Services
+http://stratoslive.wso2.com
+    </body>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-registration-complete.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-registration-complete.xml b/products/stratos_controller/conf/email-registration-complete.xml
new file mode 100755
index 0000000..d09c2a8
--- /dev/null
+++ b/products/stratos_controller/conf/email-registration-complete.xml
@@ -0,0 +1,37 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+   The mail that to be sent upon successful registration and the successful validation 
+    of the email.
+  -->
+
+<configuration>       
+    <subject>WSO2 Cloud Services - Registration completed</subject>
+    <body>
+Hi {first-name},
+
+Congratulations! You have successfully created an account in WSO2 Cloud Services. Now you can access your account by visiting the following URL. Please bookmark this URL to visit your account later.
+
+Your account url: https://stratoslive.wso2.com/t/{domain-name}
+
+Best Regards,
+WSO2 Cloud Services Team
+http://stratoslive.wso2.com
+    </body>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-registration-moderation.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-registration-moderation.xml b/products/stratos_controller/conf/email-registration-moderation.xml
new file mode 100755
index 0000000..50e64c5
--- /dev/null
+++ b/products/stratos_controller/conf/email-registration-moderation.xml
@@ -0,0 +1,46 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+   The mail to be sent for the tenant registration validation.    
+   This mail has the registration validation link to validate the email too.
+  -->
+
+<configuration>
+    <targetEpr>https://stratoslive.wso2.com/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
+    <subject>WSO2 StratosLive - A New Tenant Awaits Approval</subject>
+    <body>
+Hi,
+
+A new tenant has registered an account in WSO2 StratosLive.
+
+Admin Name: {user-name}
+Domain: {domain-name}
+
+User Name: {user-name}@{domain-name}
+
+Please click the following link to complete the registration request. The registered tenant will not be able to 
+log in or use their account till then.
+    </body>
+    <footer>
+Best Regards,
+WSO2 Stratos Team
+http://stratoslive.wso2.com
+    </footer>
+    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-registration-payment-received-customer.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-registration-payment-received-customer.xml b/products/stratos_controller/conf/email-registration-payment-received-customer.xml
new file mode 100755
index 0000000..2335e83
--- /dev/null
+++ b/products/stratos_controller/conf/email-registration-payment-received-customer.xml
@@ -0,0 +1,38 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+    Contains the body of the mail that to be sent when a payment is received.
+  -->
+
+<configuration>       
+    <subject>[Registration Payment] WSO2 Cloud Services</subject>
+    <body>
+Hi {customer-name},
+
+Thank you for your payment done on {date} for StratosLive registration. Following are the payment details.
+
+Transaction ID	: {transaction-id}
+Amount		: {amount}
+Registered domain	: {tenant-domain}
+
+Best Regards,
+WSO2 Cloud Services
+http://stratoslive.wso2.com
+    </body>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-registration.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-registration.xml b/products/stratos_controller/conf/email-registration.xml
new file mode 100755
index 0000000..56b0ca8
--- /dev/null
+++ b/products/stratos_controller/conf/email-registration.xml
@@ -0,0 +1,45 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+   The mail to be sent for the tenant registration validation.    
+   This mail has the registration validation link to validate the email too.
+  -->
+
+<configuration>
+    <targetEpr>https://localhost:9443/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
+    <subject>WSO2 Cloud Services - Email validation instructions</subject>
+    <body>
+Hi {first-name},
+
+Thank you for registering an account in WSO2 Cloud Services.
+
+Your Admin Name: {user-name}
+Your Domain: {domain-name}
+
+Your User Name: {user-name}@{domain-name}
+
+Please click the following link to verify your email address.
+    </body>
+    <footer>
+Best Regards,
+WSO2 Cloud Services Team
+http://stratoslive.wso2.com
+    </footer>
+    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/email-update.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/email-update.xml b/products/stratos_controller/conf/email-update.xml
new file mode 100755
index 0000000..521f1ad
--- /dev/null
+++ b/products/stratos_controller/conf/email-update.xml
@@ -0,0 +1,38 @@
+<!--
+ ~ 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.
+ -->
+
+<!-- 
+   The mail that to be sent upon receiving an email change request from the account management.
+   The new email address will be notified of this change.
+  -->
+
+<configuration>       
+    <targetEpr>https://localhost:9443/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
+    <subject>WSO2 Cloud Services - Updating the contact email address</subject>
+    <body>
+Hi {first-name},
+
+We got a request from you or some one to associate this email address, as the contact email address of your WSO2 cloud services account. Please click the following link to verify your email address.
+    </body>
+    <footer>
+Best Regards,
+WSO2 Cloud Services Team
+http://stratoslive.wso2.com
+    </footer>
+    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/embedded-ldap.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/embedded-ldap.xml b/products/stratos_controller/conf/embedded-ldap.xml
new file mode 100644
index 0000000..6e64fac
--- /dev/null
+++ b/products/stratos_controller/conf/embedded-ldap.xml
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- *
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* 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.
+* -->
+
+<!--
+	All carbon based products comes with a LDAP user store.
+	For this we use an embedded LDAP in carbon based products.
+	This file contains necessary configurations to control the behavior of embedded LDAP.
+	You may use this file to enable, disable LDAP server, configure connection admin password, etc ...
+	In addition to embedded-ldap server configurations this file also has Kerberos KDC (Key Distribution Center)
+	specific configurations.
+-->
+
+<EmbeddedLDAPConfig>
+
+  <!--
+	LDAP server configurations
+	==========================
+	This section contains LDAP server specific configurations.
+
+	Property                Usage
+	=======                 ====
+	enable                  If true the embedded LDAP server will start when server starts up.
+				            Else embedded LDAP server will not start. Thus user has to use a different
+				            user store.
+	instanceid              An id given to the LDAP server instance.
+	connectionPassword      The password of the admin. (uid=admin,ou=system)
+	workingDirectory        Location where LDAP will store its schema files.
+	AdminEntryObjectClass   Object class which encapsulate attributes needed by claims.
+	allowAnonymousAccess    Should allow users to access LDAP server without credentials. Default false.
+	accessControlEnabled    Should access control be enabled among partitions. Default true.
+	saslHostName            Default host name to be used in SASL (Simple Authentication and Security Layer).
+				            This property comes from apacheds implementation itself.
+	saslPrincipalName       Default SASL principal name. Again this property also comes from apacheds implementation
+				            itself.
+  -->
+  <EmbeddedLDAP>
+    <Property name="enable">false</Property>
+    <Property name="port">${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
+    <Property name="instanceId">default</Property>
+    <Property name="connectionPassword">admin</Property>
+    <Property name="workingDirectory">.</Property>
+    <Property name="AdminEntryObjectClass">wso2Person</Property>
+    <Property name="allowAnonymousAccess">false</Property>
+    <Property name="accessControlEnabled">true</Property>
+    <Property name="denormalizeOpAttrsEnabled">false</Property>
+    <Property name="maxPDUSize">2000000</Property>
+    <Property name="saslHostName">localhost</Property>
+    <Property name="saslPrincipalName">ldap/localhost@EXAMPLE.COM</Property>
+  </EmbeddedLDAP>
+
+  <!--
+	Default partition configurations
+	================================
+	When embedded LDAP server starts for the first time it will create a default partition.
+	Following properties configure values for the default partition.
+
+	Property                        Usage
+	=======                         =====
+	id                              Each partition is given an id. The id given to the default paritition.
+	realm                           Realm is the place where we store user principals and service principals.
+                                        The name of the realm for default partition.
+	kdcPassword                     This parameter is used when KDC (Key Distribution Center) is enabled. In apacheds
+                                        KDC also has a server principal. This defines a password for KDC server principal.
+	ldapServerPrinciplePassword     If LDAP server is also defined as a server principal, this will be the password.
+
+  -->
+  <DefaultPartition>
+    <Property name="id">root</Property>
+    <Property name="realm">wso2.org</Property>
+    <Property name="kdcPassword">secret</Property>
+    <Property name="ldapServerPrinciplePassword">randall</Property>
+  </DefaultPartition>
+
+  <!--
+	Default partition admin configurations
+	======================================
+	In a multi-tenant scenario each tenant will have a separate partition. Thus tenant admin will be the partition admin.
+	Following configurations define admin attributes for above created default partition.
+
+	Property            Usage
+	========            =====
+	uid                 UID attribute for partition admin.
+	commonName          The cn attribute for admin
+	lastName            The sn attribute for admin
+	email               The email attribute for admin
+	passwordType        The password hashing mechanism. Following hashing mechanisms are available, "SHA", "MD5".
+                        "Plaintext" is also a valid value. If KDC is enabled password type will be enforced to be
+                        plain text.
+  -->
+  <PartitionAdmin>
+    <Property name="uid">admin</Property>
+    <Property name="firstName">admin</Property>
+    <Property name="lastName">admin</Property>
+    <Property name="email">admin@wso2.com</Property>
+    <Property name="password">admin</Property>
+    <Property name="passwordType">SHA</Property>
+  </PartitionAdmin>
+
+  <!--
+	Default partition admin's group configuration
+	=============================================
+	Embedded LDAP is capable of keeping group information also.
+	If LDAP groups are enabled in user store (usr-mgt.xml) group information will be
+	recorded in a separate sub-context. Following configuration defines the group
+	properties.
+
+	Property                Usage
+	=======                 =====
+	adminRoleName		    The name of the role/group that admin should be included.
+	groupNameAttribute	    The attribute which group name will be recorded.
+	memberNameAttribute	    The attribute which memebers are recorded.
+  -->
+  <PartitionAdminGroup>
+    <Property name="adminRoleName">admin</Property>
+    <Property name="groupNameAttribute">cn</Property>
+    <Property name="memberNameAttribute">member</Property>
+  </PartitionAdminGroup>
+
+    <!--
+      KDC configurations
+      =================
+      Following configurations are applicable to KDC server. Generally, the KDC is only enabled in
+      Identity Server. You may enable KDC server if you wish to do so. But if you dont have any Kerberos specific
+      programs, it is recommended to disable KDC server.
+
+      Property                          Usage
+      =======                           =====
+      name                              Name given to default KDC server.
+      enabled                           If true a KDC server will start when starting LDAP server.
+                                          Else a KDC server will not start with a LDAP server.
+      protocol                          Default protocol to be used in KDC communication. Default is UDP.
+      maximumTicketLifeTime             The maximum life time of a ticket issued by the KDC.
+      maximumRenewableLifeTime          Life time which a ticket can be used by renewing it several times.
+      preAuthenticationTimeStampEnabled Pre-authentication is a feature in latest Kerberos protocol.
+                                          This property says whether to enable it or disable it.
+    -->
+  <KDCServer>
+    <Property name="name">defaultKDC</Property>
+    <Property name="enabled">false</Property>
+    <Property name="protocol">UDP</Property>
+    <Property name="host">localhost</Property>
+    <Property name="port">${Ports.EmbeddedLDAP.KDCServerPort}</Property>
+    <Property name="maximumTicketLifeTime">8640000</Property>
+    <Property name="maximumRenewableLifeTime">604800000</Property>
+    <Property name="preAuthenticationTimeStampEnabled">true</Property>
+  </KDCServer>
+
+</EmbeddedLDAPConfig>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/event-broker.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/event-broker.xml b/products/stratos_controller/conf/event-broker.xml
new file mode 100644
index 0000000..0c242a0
--- /dev/null
+++ b/products/stratos_controller/conf/event-broker.xml
@@ -0,0 +1,44 @@
+<!--
+this is the configuration file for the carbon event broker component. this configuration file configures the various subsystems of the event
+broker compoent and parameters.
+-->
+<eventBrokerConfig xmlns="http://wso2.org/carbon/event/broker">
+    <eventBroker name="carbonEventBroker" class = "org.wso2.carbon.event.core.internal.CarbonEventBrokerFactory">
+         <!-- topic manager implemenation class.-->
+        <topicManager name="TopicManager" class="org.wso2.carbon.event.core.internal.topic.registry.RegisistryTopicManagerFactory">
+            <!-- root node of the topic tree -->
+            <topicStoragePath>event/topics</topicStoragePath>
+        </topicManager>
+        <!-- subscriptionmnager implementaion. subscription manager persits the
+        subscriptions at the registry.  users can configure the topics root node and the topicIndex path -->
+        <subscriptionManager name="subscriptionManager"
+                             class="org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManagerFactory">
+            <topicStoragePath>event/topics</topicStoragePath>
+            <indexStoragePath>event/topicIndex</indexStoragePath>
+        </subscriptionManager>
+
+        <!-- delivary manager inmplementation. delivary manager does actual delivary part of the event broker -->
+        <deliveryManager name="deliveryManager"
+                         class="org.wso2.carbon.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 publising an event event broker uses a seperate 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>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/features-dashboard.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/features-dashboard.xml b/products/stratos_controller/conf/features-dashboard.xml
new file mode 100755
index 0000000..e04f062
--- /dev/null
+++ b/products/stratos_controller/conf/features-dashboard.xml
@@ -0,0 +1,807 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<data>
+	<service name="Cloud Services" link="https://cloud.wso2.com"
+		key="manager">
+		<story title="Billing">
+			<story-content>Billing is the process where the cloud computing
+				service subscribers are charged
+				based on the metered data. Billing
+				usually happens on a monthly basis.
+				Billing uses
+				pricing rates defined
+				against usage plans and compute the invoice against
+				the usage
+				data.
+			</story-content>
+			<story-links>
+				<link url="/carbon/tenant-billing/past_invoice.jsp">Billing...</link>
+				<link url="/carbon/tenant-billing/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Metering">
+			<story-content>Metering measures levels of resource utilization, such
+				as network bandwidth usage and
+				data storage volume, consumed by the
+				cloud services subscribers, aka
+				tenants.
+				Resource utilization's
+				(bandwidth and storage usage) are measured on the fly
+				and the
+				measured data is stored for summarizing and analyzing.
+			</story-content>
+			<story-links>
+				<link url="/carbon/tenant-usage/tenant_usage.jsp">Go to Metering....</link>
+				<link url="/carbon/tenant-usage/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Account Management">
+			<story-content>Account management allows a tenant to update and
+				validate contact information,
+				update the usage plan, validate the
+				account and even de-activate the
+				account .</story-content>
+			<story-links>
+				<link url="/carbon/account-mgt/account_mgt.jsp">Manage account...</link>
+				<link url="/carbon/account-mgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Users and Roles">
+			<story-content>You can add users and define your own roles for a
+				tenant. The permission model is
+				role based. So a tenant admin can
+				define what actions a role can perform
+				by
+				configuring permissions for
+				that role.</story-content>
+			<story-links>
+				<link url="/carbon/userstore/index.jsp">Manage users/roles...</link>
+				<link url="/carbon/userstore/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="MT-Logging">
+			<story-content>Flexible logging support with integration to
+				enterprise logging systems. This facilitate to monitor your system
+				and application logs through a log viewer.</story-content>
+			<story-links>
+				<link url="/carbon/log-view/index.jsp">Go to Log Viewer....</link>
+				<link url="/carbon/log-view/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+<!--
+		<story title="Usage Metering and Throttling">
+			<story-content>&lt;a
+				href="http://wso2.org/library/articles/2011/09/usage-metering-throttling-cloud-computing"&gt;&lt;img
+				src="../../../../features-dashboard/dashboards/images/usage_metering_and_throttling.jpg"
+				alt=""/&gt;</story-content>
+				<story-links>
+					<link url=""></link>
+					<link url=""></link>
+				</story-links>
+		</story>
+		<story title="How WSO2 StratosLive meets Security Challenges in Cloud">
+			<story-content> &lt;a
+				href="http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud"&gt;&lt;img
+				src="../../../../features-dashboard/dashboards/images/tenant_isolation.png"
+				alt=""/&gt;&lt;/a&gt; </story-content>
+		</story>
+-->
+	</service>
+	<service name="Stratos Controller" link="https://cloud.wso2.com"
+		key="sc">
+		<story title="Multi-Tenant Cartridges">
+			<story-content>Stratos Cartridges, hosting WSO2 multi-tenant middleware 
+				services delivers multi-tenancy within each Cartridge instance 
+				where teams may define multiple tenants per Cartridge.
+			</story-content>
+			<story-links>
+				<link url="/carbon/cartridge-mgt/available_cartridges.jsp?item=available_multitenant_cartridges">Available Multi-Tenant Cartridges</link>
+			</story-links>
+		</story>
+		<story title="Single-Tenant Cartridges">
+			<story-content>Stratos Cartridges provide process-level isolation and 
+				instance-level dedicated tenancy with single-tenant containers and frameworks.
+			</story-content>
+			<story-links>
+				<link url="/carbon/cartridge-mgt/available_cartridges.jsp?item=available_singletenant_cartridges">Available Single-Tenant Cartridges</link>
+			</story-links>
+		</story>
+		<story title="Subscribed Cartridges">
+			<story-content>The tenant user can see all details of the Subscribed Cartridges such as
+				the status and the number of running instances at the moment.
+			</story-content>
+			<story-links>
+				<link url="/carbon/cartridge-mgt/subscribed_cartridges.jsp">Subscribed Cartridges</link>
+			</story-links>
+		</story>
+	</service>
+<!--
+	<service name="Enterprise Service Bus" link="https://esb.cloud.wso2.com"
+		key="esb">
+		<story title="Proxy Service">
+			<story-content> Proxy services facilitate location transparency and
+				provides the means for the
+				integration between various other
+				services, on different formats
+			</story-content>
+			<story-links>
+				<link url="/carbon/proxyservices/templates.jsp">Got to services...</link>
+				<link url="/carbon/proxyservices/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Sequence">
+			<story-content>Sequence is a collection of mediators attached to
+				perform a given mediation flow in an
+				integration.
+			</story-content>
+			<story-links>
+				<link url="/carbon/sequences/list_sequences.jsp">Go to Web Applications...</link>
+				<link url="/carbon/sequences/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Endpoint">
+			<story-content>Endpoints represent the third party services or other
+				endpoints the ESB is talking to,
+				this configuration allows you to
+				record a set of meta data about the
+				external endpoint
+				apart from it's
+				EPR
+			</story-content>
+			<story-links>
+				<link url="/carbon/endpoints/index.jsp">Go to Message Tracing...</link>
+				<link url="/carbon/endpoints/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Scheduled Tasks">
+			<story-content>Job scheduling facility in the ESB with quartz
+				scheduler, helping several tasks to be
+				initiated and scheduled by the
+				ESB.</story-content>
+			<story-links>
+				<link url="/carbon/task/index.jsp">Go to WSDL2Java Tool..</link>
+				<link url="/carbon/task/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Store &amp; Forward">
+			<story-content>Message Stores and Processors can be used to persist
+				messages to queues and then process
+				preserving SLAs.</story-content>
+			<story-links>
+				<link url="/carbon/message_processor/index.jsp">Go to Java2WSDL Tool...</link>
+				<link url="/carbon/message_processor/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Priority Execution">
+			<story-content>Ability to categorize mediation flows with a priority
+				allowing certain messages or
+				mediation paths to get a high priority
+				with compared to other messages or
+				paths.</story-content>
+			<story-links>
+				<link url="/carbon/executors/list_executors.jsp">Go to Java2WSDL Tool...</link>
+				<link url="/carbon/executors/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Application Services" link="https://appserver.cloud.wso2.com"
+		key="as">
+		<story title="Service Hosting">
+			<story-content>Different types of Web Services such as Axis2
+				Services, JAXWS Services, Jar Services
+				or Spring Services can be
+				deployed in Application Server. All
+				configurations such as
+				QoS can be
+				easily configured here.</story-content>
+			<story-links>
+				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
+				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Web Applications">
+			<story-content>Web Application hosting features in AppServer
+				supports
+				deployment of Tomcat
+				compliant Webapps. Deployed Webapps can be
+				easily managed using the Webapp
+				management facilities available in
+				the management console.
+			</story-content>
+			<story-links>
+				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
+				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Message Tracing">
+			<story-content>Trace the request and responses to your service.
+				Message Tracing is a vital
+				debugging tool when you have clients from
+				heterogeneous platforms.
+			</story-content>
+			<story-links>
+				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
+				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="WSDL2Java Tool">
+			<story-content>Use WSDL2Java tool in Web Application Server to
+				convert Web Service WSDL to a set of
+				Java objects.</story-content>
+			<story-links>
+				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
+				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Java2WSDL Tool">
+			<story-content>Use Java2WSDL tool in Web Application Server make it
+				easy to develop a new web service.</story-content>
+			<story-links>
+				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
+				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Data Services" link="https://dss.cloud.wso2.com"
+		key="dss">
+		<story title="Data Service Hosting">
+			<story-content>Data Web Services can be deployed in Data Services
+				Server. All configurations such as
+				QoS can be easily configured here.
+			</story-content>
+			<story-links>
+				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
+				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Data as a Service">
+			<story-content>Create your databases on the cloud, and acess those as
+				you would do with regular
+				databases.</story-content>
+			<story-links>
+				<link url="/carbon/ds/scriptAddSource.jsp">Go to data sources...</link>
+				<link url="/carbon/ds/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Service Testing">
+			<story-content>Tryit tool can be used as a simple Web Service client
+				which can be used to try your
+				services within AppServer itself.
+			</story-content>
+			<story-links>
+				<link url="/carbon/tryit/index.jsp">Go
+					to Service Testing...</link>
+				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Message Tracing">
+			<story-content>Trace the request and responses to your service.
+				Message Tracing is a vital
+				debugging tool when you have clients from
+				heterogeneous platforms.
+			</story-content>
+			<story-links>
+				<link url="/carbon/tracer/index.jsp">Go to Message
+					Tracing...</link>
+				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="DB Explorer">
+			<story-content>Explore your databases using the explorer tool on
+				the cloud.</story-content>
+			<story-links>
+				<link url="/carbon/adminconsole/databases.jsp">Go to DB
+					Explorer Tool...</link>
+				<link url="/carbon/adminconsole/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Relational Storage Solutions on Cloud">
+			<story-content>&lt;a
+				href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive"&gt;&lt;img
+				src="../../../../features-dashboard/dashboards/images/configure_db.png"
+				alt=""/&gt;</story-content>
+			<story-links>
+				<link
+					url="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive">Read
+					online...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Governance Services" link="https://governance.cloud.wso2.com"
+		key="greg">
+		<story title="Service">
+			<story-content>Service is the basic entity of your SOA platform. You
+				can manage service metadata and
+				the service lifecycle as well as
+				maintain multiple versions of a given
+				service, and much
+				more.
+			</story-content>
+			<story-links>
+				<link url="/carbon/services/services.jsp">Got to services...</link>
+				<link url="/carbon/services/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="WSDL">
+			<story-content>WSDL defines the interface of a web service. You can
+				store, validate and manage WSDLs
+				with ease, keeping track of
+				dependencies and associations such as
+				services, schema and
+				policies.
+			</story-content>
+			<story-links>
+				<link url="/carbon/wsdl/wsdl.jsp">Go to WSDL</link>
+				<link url="/carbon/wsdl/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Schema">
+			<story-content>XML Schema defines data types in a WSDL. As in the
+				case of WSDLs, you can keep
+				associations of schema which helps in the
+				impact analysis process, when
+				maintaining the
+				data models associated
+				with your SOA.</story-content>
+			<story-links>
+				<link url="/carbon/schema/schema.jsp">Go to Schema...</link>
+				<link url="/carbon/schema/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Policy">
+			<story-content>Policies help standardize SOA behaviour. You can keep
+				track of the policies bound to a
+				service. It also supports policy
+				enforcement to control how SOA behaves as
+				desired by
+				both IT and
+				business personnel.</story-content>
+			<story-links>
+				<link url="/carbon/policy/policy.jsp">Go to Policy..</link>
+				<link url="/carbon/policy/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Search">
+			<story-content>The repository can store any arbitrary type of
+				resource. You can search for resources by
+				name, author, time created
+				or updated. You also can search for resources
+				by media type.
+			</story-content>
+			<story-links>
+				<link url="/carbon/search/advancedSearch.jsp">Go to Search...</link>
+				<link url="/carbon/search/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Activities">
+			<story-content>An activity log provide an invaluable insight to what
+				operations took place on the
+				repository. You can browse activities
+				while filtering them by date range, user
+				name, or
+				activity type.
+			</story-content>
+			<story-links>
+				<link url="/carbon/activities/activity.jsp">Go to Activities...</link>
+				<link url="/carbon/activities/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Notifications">
+			<story-content>The registry generates events when changes are made to
+				a particular resource or
+				collection. You can subscribe to these
+				events via e-mail, or forward them to a
+				web
+				service via SOAP or REST.
+			</story-content>
+			<story-links>
+				<link url="/carbon/notifications/notifications.jsp">Go to Notifications...</link>
+				<link url="/carbon/notifications/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Extensions">
+			<story-content>While we address most governance and registry related
+				scenarios out-of-the-box, you also
+				can upload your own extensions
+				that is capable of extending the basic
+				functionality of
+				the product
+			</story-content>
+			<story-links>
+				<link url="/carbon/extensions/add_extensions.jsp">Go to Activities...</link>
+				<link url="/carbon/extensions/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Identity Services" link="https://governance.cloud.wso2.com"
+		key="is">
+		<story title="User Profile">
+			<story-content>Update your user profile or add multiple user
+				profiles.The value from your profile will
+				be used to populate your
+				Information card and OpenID profiles.
+			</story-content>
+			<story-links>
+				<link url="/carbon/userprofile/index.jsp">Got to User Profile...</link>
+				<link url="/carbon/userprofile/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="OpenID">
+			<story-content>This OpenID can be used with any OpenID relying party
+				which trusts your domain for
+				login.</story-content>
+			<story-links>
+				<link url="/carbon/identity-provider/index.jsp">Go to OpenID...</link>
+				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Information Card">
+			<story-content>This card can be used with any identity selector that
+				supports Microsoft CardSpace
+				specifications and will allow you to
+				login to web applications that support
+				information
+				card logins.
+			</story-content>
+			<story-links>
+				<link url="/carbon/identity-provider/index.jsp">Go to Information Card...</link>
+				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="SAML 2.0 Single Sign-On">
+			<story-content>Use WSO2 Identity Server for Single Sign-on
+				configuration. Service Providers can be
+				added and removed.
+			</story-content>
+			<story-links>
+				<link url="/carbon/sso-saml/manage_service_providers.jsp">Go to SAML 2.0 Single Sign-On..</link>
+				<link url="/carbon/sso-saml/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Multifactor Authentication">
+			<story-content>Use WSO2 Identity Server to Enable XMPP based
+				multi-factor authentication.</story-content>
+			<story-links>
+				<link url="/carbon/multi-factor/xmpp-config.jsp">Go to Multifactor Authentication...</link>
+				<link url="/carbon/multi-factor/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Users and Roles">
+			<story-content>WSO2 Identity Server enables you to manage users and
+				roles in your system.</story-content>
+			<story-links>
+				<link url="/carbon/userstore/index.jsp">Go to Users and Roles...</link>
+				<link url="/carbon/userstore/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Relying Parties">
+			<story-content>Manage your Relying Parties with WSO2 Identity Server.
+			</story-content>
+			<story-links>
+				<link url="/carbon/identity-trusted-relying-parties/add-trusted-rp.jsp">Go to Relying Parties...</link>
+				<link url="/carbon/identity-trusted-relying-parties/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Key Stores">
+			<story-content>Manage your Key Stores with WSO2 Identity Server
+			</story-content>
+			<story-links>
+				<link url="/carbon/keystoremgt/keystore-mgt.jsp">Go to Activities...</link>
+				<link url="/carbon/keystoremgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Business Activity Monitor" link="https://bam.cloud.wso2.com"
+		key="bam">
+		<story title="Real Time Mediation Monitoring">
+			<story-content>Monitor proxy services, endpoints and sequences and
+				their operations in real time. The
+				results gathered from the
+				real-time monitoring are presented in a clear and
+				easy-to-view
+				format.</story-content>
+			<story-links>
+				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
+				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Mediation Analysis">
+			<story-content>Analyze the historical mediation trends over time with
+				the help of visualization
+				framework.</story-content>
+			<story-links>
+				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
+				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Summary Generation">
+			<story-content>Generate a summarised view of collected statistics and
+				write gadgets to display these
+				summarised data.</story-content>
+			<story-links>
+				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
+				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Service Invocation Analysis">
+			<story-content>rite gadgets to consume service statistics and present
+				to end user. Dashboard
+				support
+				Google Gadget specification.
+			</story-content>
+			<story-links>
+				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
+				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Dashboard">
+			<story-content>Monitor and correlate related business activities
+				across multiple server instances.
+				These activities can be used to
+				track and verify the smooth execution of
+				business.</story-content>
+			<story-links>
+				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
+				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Activity Correlation &amp; Monitoring">
+			<story-content>Monitor and correlate related business activities
+				across multiple server instances.
+				These activities can be used to
+				track and verify the smooth execution of
+				business.</story-content>
+			<story-links>
+				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
+				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Message Collection &amp; Archival">
+			<story-content>Collect messages coming into your SOA, analyze and
+				archive for future retrieval.</story-content>
+			<story-links>
+				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
+				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Business Process Services" link="https://bps.cloud.wso2.com"
+		key="bps">
+		<story title="WS-BPEL 2.0 &amp; BPELWS 1.1">
+			<story-content>WSO2 BPS supports both WS-BPEL 2.0 and BPEL4WS 1.1
+				standards. It also includes WSO2 BPS
+				specific extensions to enhance
+				the features provide by WS-BPEL.
+			</story-content>
+			<story-links>
+				<link url="">Got to Business Process Services...</link>
+				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Instance Data Cleanup">
+			<story-content>Allows multiple levels of instance data cleanup which
+				are accumulated during process
+				instance lifetime. XPath extensions,
+				Iteratable ForEach, Flexible Assigns,
+				XQuery 1.0 support and various
+				other extensions to BPEL language.</story-content>
+			<story-links>
+				<link url="">Go to OpenID...</link>
+				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="BPEL Extensions">
+			<story-content>Hot update BPEL processes and allows you to maintain
+				multiple versions of processes.</story-content>
+			<story-links>
+				<link url="">Go to Information Card...</link>
+				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Business Rule Server" link="https://brs.cloud.wso2.com"
+		key="brs">
+		<story title="Service Hosting Support">
+			<story-content>Service Hosting feature in Business Rules Server
+				enables deployment of Rule Services.</story-content>
+			<story-links>
+				<link url="/carbon/service-mgt/index.jsp">Got to Business Process Services...</link>
+				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Rule service creation support">
+			<story-content>Support for creating rule services with drools or
+				using rule services created with other
+				IDEs.</story-content>
+			<story-links>
+				<link url="/carbon/ruleservices/rule_service_wizard_step1.jsp">Go to Rule service creation...</link>
+				<link url="/carbon/ruleservices/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Registry as a Rule Repository">
+			<story-content>Registry as a Rule Repository.</story-content>
+			<story-links>
+				<link url="/carbon/resources/resource.jsp">Go to Registry Rule Repository..</link>
+				<link url="/carbon/resources/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Service testing">
+			<story-content>Tryit tool can be used as a simple Web Service client
+				which can be used to try your
+				services within AppServer itself.
+			</story-content>
+			<story-links>
+				<link url="/carbon/tryit/index.jsp">Go
+					to Service Testing...</link>
+				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Cloud Gateway" link="https://cg.stratoslive.wso2.com"
+		key="cg">
+		<story title="Cloud Service">
+			<story-content>Publish a service or data residing behind a firewall
+				in a secure and controlled manner as a Cloud Service.
+			</story-content>
+			<story-links>
+				<link url="/carbon/service-mgt/index.jsp">Go to Cloud Services...</link>
+				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Complex Event Processing Services" link="https://cep.cloud.wso2.com"
+		key="cep">
+		<story title="Bring CEP to SOA">
+			<story-content>Bring CEP to SOA by processing XML events and produce
+				results as XML events.</story-content>
+			<story-links>
+				<link url="/carbon/CEP/cep_queries.jsp">Go to CEP buckets list...</link>
+				<link url="/carbon/CEP/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Registry Storage">
+			<story-content>Ability to define different event streams, queries and
+				out put streams and store them in
+				the registry as a bucket.
+			</story-content>
+			<story-links>
+				<link url="/carbon/resources/resource.jsp">Go to Registry Storage...</link>
+				<link url="/carbon/messagebox/docs/userguide.html">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Esper and Fusion">
+			<story-content>Support Esper and fusion back end runtimes..
+			</story-content>
+			<story-links>
+				<link url="">Go to Esper and Fusion..</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Filter data from the XML event">
+			<story-content>Ability to filter data from the XML event using xpath
+				and format the result as an XML
+				event.
+			</story-content>
+			<story-links>
+				<link url="">Go
+					to Filter data...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Support different types of brokers">
+			<story-content>Support different types of brokers WS-Event, JMS to
+				receive publish events.
+			</story-content>
+			<story-links>
+				<link url="">Go
+					to brokers...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Storing broker configurations">
+			<story-content>Define and store such different broker configurations.
+			</story-content>
+			<story-links>
+				<link url="">Go
+					to brokers...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Administrative Console support">
+			<story-content>Administrative Console to create buckets, add
+				subscriptions etc..
+			</story-content>
+			<story-links>
+				<link url="">Go
+					to Administrative Console ...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Specify CEP queries">
+			<story-content>Ability to specify CEP queries inline or pick from the
+				registry.
+			</story-content>
+			<story-links>
+				<link url="">Go
+					to CEP queries ...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+	<service name="Message Broker Services" link="https://mb.cloud.wso2.com"
+		key="mb">
+		<story title="Publish/Subscribe to Topics">
+			<story-content>WS-Eventing to publish/subscribe to topics using web
+				service standards.</story-content>
+			<story-links>
+				<link url="">Go to topics...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="AMQP">
+			<story-content>MS support thorough AMQP to publish/subscribe to
+				topics and Queues.</story-content>
+			<story-links>
+				<link url="">Go to AMQP...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Topic Authorization">
+			<story-content>MS support thorough AMQP to publish/subscribe to
+				topics and Queues.</story-content>
+			<story-links>
+				<link url="">Go to Topic Authorization...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Manage topics and queues permissions">
+			<story-content>Administrative console support to manage topics and
+				queues permissions.</story-content>
+			<story-links>
+				<link url="">Go to Manage topics and queues permissions...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="SQS support">
+			<story-content>SQS support to store retrieve messages using a web
+				service API.</story-content>
+			<story-links>
+				<link url="">Go to SQS ...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="User based authorization for queues">
+			<story-content>User based authorization for queues.</story-content>
+			<story-links>
+				<link url="">Go to User based authorization ...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Manage message boxes">
+			<story-content>Administrative console support to manage message boxes
+				and store/retrieve messages.</story-content>
+			<story-links>
+				<link url="">Go to message boxes...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+		<story title="Message box as event sink">
+			<story-content>Ability to use a message box as the event sink for a
+				subscription.</story-content>
+			<story-links>
+				<link url="">Go to event sink support...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+        <service name="Storage Server Services" link="https://ss.cloud.wso2.com" key="ss">
+		<story title="Storage Server Data">
+			<story-content>Storage Server</story-content>
+			<story-links>
+				<link url="">Go to topics...</link>
+				<link url="">Read more (docs)...</link>
+			</story-links>
+		</story>
+	</service>
+-->
+</data>
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/identity.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/identity.xml b/products/stratos_controller/conf/identity.xml
new file mode 100755
index 0000000..f5a6dfe
--- /dev/null
+++ b/products/stratos_controller/conf/identity.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ ~ Copyright (c) 2005-2011, 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.
+ -->
+
+<Server xmlns="http://wso2.org/projects/carbon/carbon.xml">
+
+	<OpenIDServerUrl>https://localhost:9443/openidserver</OpenIDServerUrl>
+
+	<OpenIDUserPattern>https://localhost:9443/openid/</OpenIDUserPattern>
+
+     <JDBCPersistenceManager>
+        <DataSource>
+        	<!-- Include a data source name (jndiConfigName) from the set of data sources defined in master-datasources.xml -->
+        	<Name>jdbc/WSO2CarbonDB</Name>
+    	</DataSource>
+		<!-- If the identity database is created from another place and if it is required to skip schema initialization during the server start up, set the following
+		 property to "true". -->
+		<!-- <SkipDBSchemaCreation>false</SkipDBSchemaCreation> -->
+    </JDBCPersistenceManager>
+
+	<!--
+      Security configurations
+    -->
+	<Security>
+		<UserTrustedRPStore>
+			<Location>${carbon.home}/repository/resources/security/userRP.jks</Location>
+			<!-- Keystore type (JKS/PKCS12 etc.)-->
+			<Type>JKS</Type>
+			<!-- Keystore password-->
+			<Password>wso2carbon</Password>
+			<!-- Private Key password-->
+			<KeyPassword>wso2carbon</KeyPassword>
+		</UserTrustedRPStore>
+
+		<!--
+			The directory under which all other KeyStore files will be stored
+		-->
+		<KeyStoresDir>${carbon.home}/conf/keystores</KeyStoresDir>
+	</Security>
+
+	<Identity>
+		<IssuerPolicy>SelfAndManaged</IssuerPolicy>
+		<TokenValidationPolicy>CertValidate</TokenValidationPolicy>
+		<BlackList></BlackList>
+		<WhiteList></WhiteList>
+		<System>
+			<KeyStore></KeyStore>
+			<StorePass></StorePass>
+		</System>
+	</Identity>
+
+	<OAuth>
+		<RequestTokenUrl>https://localhost:9443/oauth/request-token</RequestTokenUrl>
+		<AccessTokenUrl>https://localhost:9443/oauth/access-token</AccessTokenUrl>
+		<AuthorizeUrl>https://localhost:9443/oauth/authorize-url</AuthorizeUrl>
+		<!-- Default validity period for Authorization Code in seconds -->
+		<AuthorizationCodeDefaultValidityPeriod>300</AuthorizationCodeDefaultValidityPeriod>
+		<!-- Default validity period for Access Token in seconds -->
+		<AccessTokenDefaultValidityPeriod>3600</AccessTokenDefaultValidityPeriod>
+		<!-- Timestamp skew in seconds -->
+		<TimestampSkew>300</TimestampSkew>
+		<!-- Enable OAuth caching. This cache has the replication support. -->
+		<EnableOAuthCache>true</EnableOAuthCache>
+		<!-- Configure the security measures needs to be done prior to store the token in the database,
+		such as hashing, encrypting, etc.-->
+		<TokenPersistencePreprocessor>org.wso2.carbon.identity.oauth.preprocessor.PlainTextTokenPersistencePreprocessor</TokenPersistencePreprocessor>
+		<!-- Supported Response Types -->
+		<SupportedResponseTypes>token,code</SupportedResponseTypes>
+		<!-- Supported Grant Types -->
+		<SupportedGrantTypes>authorization_code,password,refresh_token,client_credentials</SupportedGrantTypes>
+		<OAuthCallbackHandlers>		
+				<OAuthCallbackHandler Class="org.wso2.carbon.identity.oauth.callback.DefaultCallbackHandler"/>
+		</OAuthCallbackHandlers>
+	</OAuth>
+
+	<MultifactorAuthentication>
+		<XMPPSettings>
+			<XMPPConfig>
+				<XMPPProvider>gtalk</XMPPProvider>
+				<XMPPServer>talk.google.com</XMPPServer>
+				<XMPPPort>5222</XMPPPort>
+				<XMPPExt>gmail.com</XMPPExt>
+				<XMPPUserName>multifactor1@gmail.com</XMPPUserName>
+				<XMPPPassword>wso2carbon</XMPPPassword>
+			</XMPPConfig>
+		</XMPPSettings>
+	</MultifactorAuthentication>
+
+    	<SSOService>
+    	    <IdentityProviderURL>https://localhost:9443/samlsso</IdentityProviderURL>
+    	</SSOService>
+</Server>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/jaas.conf
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/jaas.conf b/products/stratos_controller/conf/jaas.conf
new file mode 100644
index 0000000..7a2a295
--- /dev/null
+++ b/products/stratos_controller/conf/jaas.conf
@@ -0,0 +1,10 @@
+Server {
+       org.apache.zookeeper.server.auth.DigestLoginModule required
+       user_super="admin"
+       user_admin="admin";
+};
+Client {
+       org.apache.zookeeper.server.auth.DigestLoginModule required
+       username="admin"
+       password="admin";
+};

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/loadbalancer.conf
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/loadbalancer.conf b/products/stratos_controller/conf/loadbalancer.conf
new file mode 100644
index 0000000..138c087
--- /dev/null
+++ b/products/stratos_controller/conf/loadbalancer.conf
@@ -0,0 +1,29 @@
+services {
+    # default parameter values to be used in all services
+    defaults {
+        # minimum number of service instances required. WSO2 ELB will make sure that this much of instances
+        # are maintained in the system all the time, of course only when autoscaling is enabled.
+        min_app_instances       1;
+        # maximum number of service instances that will be load balanced by this ELB.
+        max_app_instances       5;
+        # you need to calibrate autoscaling parameters before start using. Please go through following blog post
+        # http://nirmalfdo.blogspot.com/2013/01/scale-up-early-scale-down-slowly.html
+        max_requests_per_second   5;
+        alarming_upper_rate 0.7;
+        alarming_lower_rate 0.2;
+        scale_down_factor 0.25;
+        rounds_to_average       2;
+        message_expiry_time     60000;
+    }
+    
+    identity {
+        hosts                   identity.aaaa.cloud-test.wso2.com;
+        domains   {
+            wso2.identity.aaaa.domain {
+                tenant_range    *;
+            }
+            
+        }
+    }
+    
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/metering-config-non-manager.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/metering-config-non-manager.xml b/products/stratos_controller/conf/metering-config-non-manager.xml
new file mode 100755
index 0000000..362f30d
--- /dev/null
+++ b/products/stratos_controller/conf/metering-config-non-manager.xml
@@ -0,0 +1,103 @@
+<!--
+ ~ 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.
+ -->
+<meteringConfig xmlns="http://wso2.com/carbon/multitenancy/metering/config">
+    <tasks>
+        <task service="org.wso2.stratos.metering.agent.task.PerRegistryRequestTask">
+            <preHandlers>
+                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
+                </handler>
+                <handler service="org.wso2.stratos.metering.agent.handlers.RegistryActionValidator">
+                </handler>
+            </preHandlers>
+            <postHandlers>
+                <handler service="org.wso2.stratos.metering.agent.handlers.RemoteTaskInvoker"
+                        async="true" frequency="1"><!-- trigger per each request-->
+                    <parameter name="taskServiceUrl">https://localhost:9443/services/</parameter>
+                    <parameter name="userName">admin</parameter>
+                    <parameter name="password">admin</parameter>
+                    <parameter name="taskName">org.wso2.stratos.metering.manager.task.PerRegistryRequestRemoteTask</parameter>
+                </handler>
+            </postHandlers>
+        </task>
+        <task service="org.wso2.stratos.metering.agent.task.PerUserAddRequestTask">
+            <preHandlers>
+                <handler service="org.wso2.stratos.metering.agent.handlers.RemoteTaskInvoker"
+                        async="false" frequency="1"><!-- trigger per each request-->
+                    <parameter name="taskServiceUrl">https://localhost:9443/services/</parameter>
+                    <parameter name="userName">admin</parameter>
+                    <parameter name="password">admin</parameter>
+                    <parameter name="taskName">org.wso2.stratos.metering.manager.task.PerUserAddRequestRemoteTask</parameter>
+                </handler>
+                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
+                </handler>
+                <handler service="org.wso2.stratos.metering.agent.handlers.AddUserActionValidator">
+                </handler>
+            </preHandlers>
+        </task>
+        <task service="org.wso2.stratos.metering.manager.task.PerRegistryRequestRemoteTask">
+            <postHandlers>
+                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
+                </handler>
+                <handler service="org.wso2.stratos.metering.manager.handlers.DBContentVolumeRetriever"><!-- trigger per each registry request-->
+                </handler>
+                <handler service="org.wso2.stratos.metering.manager.handlers.BandwidthDataRetriever" async="true" frequency="5"><!-- trigger per 5 registry request-->
+                </handler>
+                <handler service="org.wso2.stratos.metering.manager.handlers.BandwidthDataStorer">
+                </handler>
+                <handler service="org.wso2.stratos.metering.manager.handlers.BillingDataRetriever"><!-- trigger per each registry request-->
+                </handler>
+                <handler service="org.wso2.stratos.metering.manager.handlers.RuleInvoker">
+                    <parameter name="rule-file">restriction-rules.drl</parameter>
+                </handler>
+                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoStorer">
+                </handler>
+            </postHandlers>
+        </task>
+        <task service="org.wso2.stratos.metering.manager.task.PerUserAddRequestRemoteTask">
+            <postHandlers>
+                <handler service="org.wso2.stratos.metering.manager.handlers.UsersCountRetriever"><!-- trigger per each user add request-->
+                </handler>
+                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
+                </handler>
+                <handler service="org.wso2.stratos.metering.manager.handlers.BillingDataRetriever"><!-- trigger per each user add request-->
+                </handler>
+                <handler service="org.wso2.stratos.metering.manager.handlers.RuleInvoker">
+                    <parameter name="rule-file">restriction-rules.drl</parameter>
+                </handler>
+                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoStorer">
+                </handler>
+            </postHandlers>
+        </task>
+        <!-- to be implemented -->
+        <!--
+        <task service="org.wso2.stratos.metering.manager.task.ScheduledTask">
+            <parameters>
+                <parameter name="period">1Month</parameter>
+                <parameter name="dayToTriggerOn">1</parameter>
+                <parameter name="hourToTriggerOn">0</parameter>
+                <parameter name="timeZone">GMT-8:00</parameter>
+            </parameters>
+            <hanldlers>
+                <handler service="org.wso2.stratos.metering.manager.handler.RuleInvoker">
+                    <parameter name="rule-file">restriction-rules.drl</parameter>
+                </handler>
+            </handlers>
+        </task>
+        -->
+    </tasks>
+</meteringConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/multitenancy-billing-rules.drl
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/multitenancy-billing-rules.drl b/products/stratos_controller/conf/multitenancy-billing-rules.drl
new file mode 100755
index 0000000..0cdc23d
--- /dev/null
+++ b/products/stratos_controller/conf/multitenancy-billing-rules.drl
@@ -0,0 +1,34 @@
+import org.wso2.carbon.billing.core.dataobjects.*;
+import org.wso2.carbon.billing.mgt.dataobjects.*;
+
+
+rule smallSubscription
+when
+$item: MultitenancyPackage(name == "SMB")
+$subItem: Item(parent == $item && name == "subscription")
+then
+$subItem.setCost(new Cash("$100"));
+$subItem.setCreditLimit(new Cash("$200"));
+end
+
+
+rule mediumSubscription
+when
+$item: MultitenancyPackage(name == "Professional")
+$subItem: Item(parent == $item && name == "subscription")
+then
+$subItem.setCost(new Cash("$500"));
+$subItem.setCreditLimit(new Cash("$1000"));
+end
+
+
+rule largeSubscription
+when
+$item: MultitenancyPackage(name == "Enterprise")
+$subItem: Item(parent == $item && name == "subscription")
+then
+$subItem.setCost(new Cash("$2000"));
+$subItem.setCreditLimit(new Cash("$4000"));
+end
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/nhttp.properties
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/nhttp.properties b/products/stratos_controller/conf/nhttp.properties
new file mode 100644
index 0000000..0ad3e44
--- /dev/null
+++ b/products/stratos_controller/conf/nhttp.properties
@@ -0,0 +1,39 @@
+#
+#  Copyright (c) 2005-2010, 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.
+#
+
+# This file contains the configuration parameters used by the Non-blocking HTTP transport
+
+#http.socket.timeout=60000
+#nhttp_buffer_size=8192
+#http.tcp.nodelay=1
+#http.connection.stalecheck=0
+
+# Uncomment the following property for an AIX based deployment
+#http.nio.interest-ops-queueing=true
+
+# HTTP Sender thread pool parameters
+#snd_t_core=20
+#snd_t_max=100
+#snd_alive_sec=5
+#snd_qlen=-1
+#snd_io_threads=2
+
+# HTTP Listener thread pool parameters
+#lst_t_core=20
+#lst_t_max=100
+#lst_alive_sec=5
+#lst_qlen=-1
+#lst_io_threads=2

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/passthru-http.properties
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/passthru-http.properties b/products/stratos_controller/conf/passthru-http.properties
new file mode 100644
index 0000000..918bc87
--- /dev/null
+++ b/products/stratos_controller/conf/passthru-http.properties
@@ -0,0 +1,31 @@
+#
+#  Copyright (c) 2005-2010, 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.
+#
+
+## This file contains the configuration parameters used by the Pass-through HTTP transport
+
+## Pass-through HTTP transport specific tuning parameters 
+#worker_pool_size_core=40
+#worker_pool_size_max=200
+#worker_thread_keepalive_sec=60
+#worker_pool_queue_length=-1
+#io_threads_per_reactor=2
+#io_buffer_size=8192
+#http.max.connection.per.host.port=32767
+
+## Other parameters
+#http.user.agent.preserve=false
+#http.server.preserve=true
+#http.connection.disable.keepalive=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/rule-component.conf
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/rule-component.conf b/products/stratos_controller/conf/rule-component.conf
new file mode 100644
index 0000000..1bd6c09
--- /dev/null
+++ b/products/stratos_controller/conf/rule-component.conf
@@ -0,0 +1,3 @@
+<RuleServer>
+    <RuleEngineProvider class="org.wso2.carbon.rule.engine.jsr94.JSR94BackendRuntimeFactory"/>
+</RuleServer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/samples-desc.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/samples-desc.xml b/products/stratos_controller/conf/samples-desc.xml
new file mode 100755
index 0000000..6f2ec4c
--- /dev/null
+++ b/products/stratos_controller/conf/samples-desc.xml
@@ -0,0 +1,32 @@
+<!--
+ ~ 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.
+ -->
+<samples xmlns="http://wso2.com/stratos/samples">
+    <sample name="Shopping Cart">
+        <cloudServices>
+            <cloudService name="Application Server"/>
+            <!--cloudService name="WSO2 Stratos Governance"/>
+            <cloudService name="WSO2 Stratos Application Server"/>
+            <cloudService name="WSO2 Stratos Gadget Server"/>
+            <cloudService name="WSO2 Stratos Mashup Server"/>
+            <cloudService name="WSO2 Stratos Enterprise Service Bus"/>
+            <cloudService name="WSO2 Stratos Data Services Server"/>
+            <cloudService name="WSO2 Stratos Business Process Server"/-->
+        </cloudServices>
+	<fileName>GlobalShoppingCartSample-${shoppingcart.global.version}</fileName>
+    </sample>
+</samples>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/sso-idp-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/sso-idp-config.xml b/products/stratos_controller/conf/sso-idp-config.xml
new file mode 100755
index 0000000..57ad19b
--- /dev/null
+++ b/products/stratos_controller/conf/sso-idp-config.xml
@@ -0,0 +1,26 @@
+<!--
+ ~ 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.
+ -->
+<SSOIdentityProviderConfig>
+     <LoginPageBannerBaseURL>http://wso2.com/product-ads/stratos/wso2cloud/</LoginPageBannerBaseURL>
+     <TenantRegistrationPage>https://stratos-local.wso2.com/carbon/tenant-register/select_domain.jsp</TenantRegistrationPage>
+     <ServiceProvider>
+            <Issuer>WSO2 Stratos Controller</Issuer>
+            <AssertionConsumerService>https://stratos-local.wso2.com/acs</AssertionConsumerService>
+	    <CustomLoginPage>stratos-sso/login_ajaxprocessor.jsp</CustomLoginPage>
+     </ServiceProvider>
+</SSOIdentityProviderConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/status-monitor-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/status-monitor-config.xml b/products/stratos_controller/conf/status-monitor-config.xml
new file mode 100755
index 0000000..1bf6068
--- /dev/null
+++ b/products/stratos_controller/conf/status-monitor-config.xml
@@ -0,0 +1,52 @@
+<!--
+ ~ Copyright (c) 2005-2012, 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.
+ -->
+
+<!-- 
+     Defines the database and related params that to be used for the services status
+     monitoring. Status Monitor Agent writes to the database defined here, and the 
+     Status Monitor reads it. 
+  -->
+
+<serviceStatusConfig xmlns="http://wso2.com/carbon/status/monitor/config">
+   <authConfig>
+        <jksLocation>../../repository/resources/security/wso2carbon.jks</jksLocation> <!--location to the jks file-->
+
+        <!--The tenant credentials that to be used to login to the Stratos 
+	services. Make sure the correct credentials are given to avoid 
+	false positives.-->
+        <userName>admin@wso2-heartbeat-checker.org</userName>
+        <password>password</password>
+        <tenantDomain>wso2-heartbeat-checker.org</tenantDomain>
+   </authConfig>
+
+   <platformSample>
+        <!--The tenant that has the webapps and services to monitor. 
+	This can of course be the same tenant given above as tenantDomain-->
+        <tenantDomain>wso2.org</tenantDomain>
+    </platformSample>
+
+   <dbConfig>
+        <url>jdbc:mysql://localhost:3306/stratos_status</url>
+        <userName>monitor</userName>
+        <password>monitor</password>
+        <driverName>com.mysql.jdbc.Driver</driverName>
+        <maxActive>80</maxActive>
+        <maxWait>60000</maxWait>
+        <minIdle>5</minIdle>
+    </dbConfig>
+</serviceStatusConfig>


[49/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-registration-moderation.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-registration-moderation.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-registration-moderation.xml
deleted file mode 100755
index 50e64c5..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-registration-moderation.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-
-<!-- 
-   The mail to be sent for the tenant registration validation.    
-   This mail has the registration validation link to validate the email too.
-  -->
-
-<configuration>
-    <targetEpr>https://stratoslive.wso2.com/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
-    <subject>WSO2 StratosLive - A New Tenant Awaits Approval</subject>
-    <body>
-Hi,
-
-A new tenant has registered an account in WSO2 StratosLive.
-
-Admin Name: {user-name}
-Domain: {domain-name}
-
-User Name: {user-name}@{domain-name}
-
-Please click the following link to complete the registration request. The registered tenant will not be able to 
-log in or use their account till then.
-    </body>
-    <footer>
-Best Regards,
-WSO2 Stratos Team
-http://stratoslive.wso2.com
-    </footer>
-    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-registration-payment-received-customer.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-registration-payment-received-customer.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-registration-payment-received-customer.xml
deleted file mode 100755
index 2335e83..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-registration-payment-received-customer.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-    Contains the body of the mail that to be sent when a payment is received.
-  -->
-
-<configuration>       
-    <subject>[Registration Payment] WSO2 Cloud Services</subject>
-    <body>
-Hi {customer-name},
-
-Thank you for your payment done on {date} for StratosLive registration. Following are the payment details.
-
-Transaction ID	: {transaction-id}
-Amount		: {amount}
-Registered domain	: {tenant-domain}
-
-Best Regards,
-WSO2 Cloud Services
-http://stratoslive.wso2.com
-    </body>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-registration.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-registration.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-registration.xml
deleted file mode 100755
index 56b0ca8..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-registration.xml
+++ /dev/null
@@ -1,45 +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.
- -->
-
-<!-- 
-   The mail to be sent for the tenant registration validation.    
-   This mail has the registration validation link to validate the email too.
-  -->
-
-<configuration>
-    <targetEpr>https://localhost:9443/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
-    <subject>WSO2 Cloud Services - Email validation instructions</subject>
-    <body>
-Hi {first-name},
-
-Thank you for registering an account in WSO2 Cloud Services.
-
-Your Admin Name: {user-name}
-Your Domain: {domain-name}
-
-Your User Name: {user-name}@{domain-name}
-
-Please click the following link to verify your email address.
-    </body>
-    <footer>
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </footer>
-    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/email-update.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/email-update.xml b/products/stratos2/stratos_controller/1.0.0/conf/email-update.xml
deleted file mode 100755
index 521f1ad..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/email-update.xml
+++ /dev/null
@@ -1,38 +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.
- -->
-
-<!-- 
-   The mail that to be sent upon receiving an email change request from the account management.
-   The new email address will be notified of this change.
-  -->
-
-<configuration>       
-    <targetEpr>https://localhost:9443/carbon/email-verification/validator_ajaxprocessor.jsp</targetEpr>
-    <subject>WSO2 Cloud Services - Updating the contact email address</subject>
-    <body>
-Hi {first-name},
-
-We got a request from you or some one to associate this email address, as the contact email address of your WSO2 cloud services account. Please click the following link to verify your email address.
-    </body>
-    <footer>
-Best Regards,
-WSO2 Cloud Services Team
-http://stratoslive.wso2.com
-    </footer>
-    <redirectPath>../account-mgt/update_verifier_redirector_ajaxprocessor.jsp</redirectPath>
-</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/embedded-ldap.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/embedded-ldap.xml b/products/stratos2/stratos_controller/1.0.0/conf/embedded-ldap.xml
deleted file mode 100644
index 6e64fac..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/embedded-ldap.xml
+++ /dev/null
@@ -1,162 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- *
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* 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.
-* -->
-
-<!--
-	All carbon based products comes with a LDAP user store.
-	For this we use an embedded LDAP in carbon based products.
-	This file contains necessary configurations to control the behavior of embedded LDAP.
-	You may use this file to enable, disable LDAP server, configure connection admin password, etc ...
-	In addition to embedded-ldap server configurations this file also has Kerberos KDC (Key Distribution Center)
-	specific configurations.
--->
-
-<EmbeddedLDAPConfig>
-
-  <!--
-	LDAP server configurations
-	==========================
-	This section contains LDAP server specific configurations.
-
-	Property                Usage
-	=======                 ====
-	enable                  If true the embedded LDAP server will start when server starts up.
-				            Else embedded LDAP server will not start. Thus user has to use a different
-				            user store.
-	instanceid              An id given to the LDAP server instance.
-	connectionPassword      The password of the admin. (uid=admin,ou=system)
-	workingDirectory        Location where LDAP will store its schema files.
-	AdminEntryObjectClass   Object class which encapsulate attributes needed by claims.
-	allowAnonymousAccess    Should allow users to access LDAP server without credentials. Default false.
-	accessControlEnabled    Should access control be enabled among partitions. Default true.
-	saslHostName            Default host name to be used in SASL (Simple Authentication and Security Layer).
-				            This property comes from apacheds implementation itself.
-	saslPrincipalName       Default SASL principal name. Again this property also comes from apacheds implementation
-				            itself.
-  -->
-  <EmbeddedLDAP>
-    <Property name="enable">false</Property>
-    <Property name="port">${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
-    <Property name="instanceId">default</Property>
-    <Property name="connectionPassword">admin</Property>
-    <Property name="workingDirectory">.</Property>
-    <Property name="AdminEntryObjectClass">wso2Person</Property>
-    <Property name="allowAnonymousAccess">false</Property>
-    <Property name="accessControlEnabled">true</Property>
-    <Property name="denormalizeOpAttrsEnabled">false</Property>
-    <Property name="maxPDUSize">2000000</Property>
-    <Property name="saslHostName">localhost</Property>
-    <Property name="saslPrincipalName">ldap/localhost@EXAMPLE.COM</Property>
-  </EmbeddedLDAP>
-
-  <!--
-	Default partition configurations
-	================================
-	When embedded LDAP server starts for the first time it will create a default partition.
-	Following properties configure values for the default partition.
-
-	Property                        Usage
-	=======                         =====
-	id                              Each partition is given an id. The id given to the default paritition.
-	realm                           Realm is the place where we store user principals and service principals.
-                                        The name of the realm for default partition.
-	kdcPassword                     This parameter is used when KDC (Key Distribution Center) is enabled. In apacheds
-                                        KDC also has a server principal. This defines a password for KDC server principal.
-	ldapServerPrinciplePassword     If LDAP server is also defined as a server principal, this will be the password.
-
-  -->
-  <DefaultPartition>
-    <Property name="id">root</Property>
-    <Property name="realm">wso2.org</Property>
-    <Property name="kdcPassword">secret</Property>
-    <Property name="ldapServerPrinciplePassword">randall</Property>
-  </DefaultPartition>
-
-  <!--
-	Default partition admin configurations
-	======================================
-	In a multi-tenant scenario each tenant will have a separate partition. Thus tenant admin will be the partition admin.
-	Following configurations define admin attributes for above created default partition.
-
-	Property            Usage
-	========            =====
-	uid                 UID attribute for partition admin.
-	commonName          The cn attribute for admin
-	lastName            The sn attribute for admin
-	email               The email attribute for admin
-	passwordType        The password hashing mechanism. Following hashing mechanisms are available, "SHA", "MD5".
-                        "Plaintext" is also a valid value. If KDC is enabled password type will be enforced to be
-                        plain text.
-  -->
-  <PartitionAdmin>
-    <Property name="uid">admin</Property>
-    <Property name="firstName">admin</Property>
-    <Property name="lastName">admin</Property>
-    <Property name="email">admin@wso2.com</Property>
-    <Property name="password">admin</Property>
-    <Property name="passwordType">SHA</Property>
-  </PartitionAdmin>
-
-  <!--
-	Default partition admin's group configuration
-	=============================================
-	Embedded LDAP is capable of keeping group information also.
-	If LDAP groups are enabled in user store (usr-mgt.xml) group information will be
-	recorded in a separate sub-context. Following configuration defines the group
-	properties.
-
-	Property                Usage
-	=======                 =====
-	adminRoleName		    The name of the role/group that admin should be included.
-	groupNameAttribute	    The attribute which group name will be recorded.
-	memberNameAttribute	    The attribute which memebers are recorded.
-  -->
-  <PartitionAdminGroup>
-    <Property name="adminRoleName">admin</Property>
-    <Property name="groupNameAttribute">cn</Property>
-    <Property name="memberNameAttribute">member</Property>
-  </PartitionAdminGroup>
-
-    <!--
-      KDC configurations
-      =================
-      Following configurations are applicable to KDC server. Generally, the KDC is only enabled in
-      Identity Server. You may enable KDC server if you wish to do so. But if you dont have any Kerberos specific
-      programs, it is recommended to disable KDC server.
-
-      Property                          Usage
-      =======                           =====
-      name                              Name given to default KDC server.
-      enabled                           If true a KDC server will start when starting LDAP server.
-                                          Else a KDC server will not start with a LDAP server.
-      protocol                          Default protocol to be used in KDC communication. Default is UDP.
-      maximumTicketLifeTime             The maximum life time of a ticket issued by the KDC.
-      maximumRenewableLifeTime          Life time which a ticket can be used by renewing it several times.
-      preAuthenticationTimeStampEnabled Pre-authentication is a feature in latest Kerberos protocol.
-                                          This property says whether to enable it or disable it.
-    -->
-  <KDCServer>
-    <Property name="name">defaultKDC</Property>
-    <Property name="enabled">false</Property>
-    <Property name="protocol">UDP</Property>
-    <Property name="host">localhost</Property>
-    <Property name="port">${Ports.EmbeddedLDAP.KDCServerPort}</Property>
-    <Property name="maximumTicketLifeTime">8640000</Property>
-    <Property name="maximumRenewableLifeTime">604800000</Property>
-    <Property name="preAuthenticationTimeStampEnabled">true</Property>
-  </KDCServer>
-
-</EmbeddedLDAPConfig>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/event-broker.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/event-broker.xml b/products/stratos2/stratos_controller/1.0.0/conf/event-broker.xml
deleted file mode 100644
index 0c242a0..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/event-broker.xml
+++ /dev/null
@@ -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 compoent and parameters.
--->
-<eventBrokerConfig xmlns="http://wso2.org/carbon/event/broker">
-    <eventBroker name="carbonEventBroker" class = "org.wso2.carbon.event.core.internal.CarbonEventBrokerFactory">
-         <!-- topic manager implemenation class.-->
-        <topicManager name="TopicManager" class="org.wso2.carbon.event.core.internal.topic.registry.RegisistryTopicManagerFactory">
-            <!-- root node of the topic tree -->
-            <topicStoragePath>event/topics</topicStoragePath>
-        </topicManager>
-        <!-- subscriptionmnager implementaion. subscription manager persits the
-        subscriptions at the registry.  users can configure the topics root node and the topicIndex path -->
-        <subscriptionManager name="subscriptionManager"
-                             class="org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManagerFactory">
-            <topicStoragePath>event/topics</topicStoragePath>
-            <indexStoragePath>event/topicIndex</indexStoragePath>
-        </subscriptionManager>
-
-        <!-- delivary manager inmplementation. delivary manager does actual delivary part of the event broker -->
-        <deliveryManager name="deliveryManager"
-                         class="org.wso2.carbon.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 publising an event event broker uses a seperate 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>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/features-dashboard.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/features-dashboard.xml b/products/stratos2/stratos_controller/1.0.0/conf/features-dashboard.xml
deleted file mode 100755
index 23cff16..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/features-dashboard.xml
+++ /dev/null
@@ -1,776 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<data>
-	<service name="Cloud Services" link="https://cloud.wso2.com"
-		key="manager">
-		<story title="Billing">
-			<story-content>Billing is the process where the cloud computing
-				service subscribers are charged
-				based on the metered data. Billing
-				usually happens on a monthly basis.
-				Billing uses
-				pricing rates defined
-				against usage plans and compute the invoice against
-				the usage
-				data.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tenant-billing/past_invoice.jsp"> Billing...</link>
-				<link url="/carbon/tenant-billing/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Metering">
-			<story-content>Metering measures levels of resource utilization, such
-				as network bandwidth usage and
-				data storage volume, consumed by the
-				cloud services subscribers, aka
-				tenants.
-				Resource utilization's
-				(bandwidth and storage usage) are measured on the fly
-				and the
-				measured data is stored for summarizing and analyzing.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tenant-usage/tenant_usage.jsp">Go to Metering....</link>
-				<link url="/carbon/tenant-usage/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Account Management">
-			<story-content>Account management allows a tenant to update and
-				validate contact information,
-				update the usage plan, validate the
-				account and even de-activate the
-				account .</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Manage account...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Users and Roles">
-			<story-content>You can add users and define your own roles for a
-				tenant. The permission model is
-				role based. So a tenant admin can
-				define what actions a role can perform
-				by
-				configuring permissions for
-				that role.</story-content>
-			<story-links>
-				<link url="/carbon/account-mgt/account_mgt.jsp">Manage
-					users/roles...</link>
-				<link url="/carbon/account-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="MT-Logging">
-			<story-content>Flexible logging support with integration to
-				enterprise logging systems. This facilitate to monitor your system
-				and application logs through a log viewer.</story-content>
-			<story-links>
-				<link url="/carbon/log-view/index.jsp">Go to Log Viewer....</link>
-				<link url="/carbon/log-view/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Usage Metering and Throttling">
-			<story-content>&lt;a
-				href="http://wso2.org/library/articles/2011/09/usage-metering-throttling-cloud-computing"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/usage_metering_and_throttling.jpg"
-				alt=""/&gt;</story-content>
-				<story-links>
-					<link url=""></link>
-					<link url=""></link>
-				</story-links>
-		</story>
-		<story title="How WSO2 StratosLive meets Security Challenges in Cloud">
-			<story-content> &lt;a
-				href="http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/tenant_isolation.png"
-				alt=""/&gt;&lt;/a&gt; </story-content>
-		</story>
-	</service>
-	<service name="Enterprise Service Bus" link="https://esb.cloud.wso2.com"
-		key="esb">
-		<story title="Proxy Service">
-			<story-content> Proxy services facilitate location transparency and
-				provides the means for the
-				integration between various other
-				services, on different formats
-			</story-content>
-			<story-links>
-				<link url="/carbon/proxyservices/templates.jsp">Got to services...</link>
-				<link url="/carbon/proxyservices/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Sequence">
-			<story-content>Sequence is a collection of mediators attached to
-				perform a given mediation flow in an
-				integration.
-			</story-content>
-			<story-links>
-				<link url="/carbon/sequences/list_sequences.jsp">Go to Web Applications...</link>
-				<link url="/carbon/sequences/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Endpoint">
-			<story-content>Endpoints represent the third party services or other
-				endpoints the ESB is talking to,
-				this configuration allows you to
-				record a set of meta data about the
-				external endpoint
-				apart from it's
-				EPR
-			</story-content>
-			<story-links>
-				<link url="/carbon/endpoints/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/endpoints/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Scheduled Tasks">
-			<story-content>Job scheduling facility in the ESB with quartz
-				scheduler, helping several tasks to be
-				initiated and scheduled by the
-				ESB.</story-content>
-			<story-links>
-				<link url="/carbon/task/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/task/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Store &amp; Forward">
-			<story-content>Message Stores and Processors can be used to persist
-				messages to queues and then process
-				preserving SLAs.</story-content>
-			<story-links>
-				<link url="/carbon/message_processor/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/message_processor/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Priority Execution">
-			<story-content>Ability to categorize mediation flows with a priority
-				allowing certain messages or
-				mediation paths to get a high priority
-				with compared to other messages or
-				paths.</story-content>
-			<story-links>
-				<link url="/carbon/executors/list_executors.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/executors/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Application Services" link="https://appserver.cloud.wso2.com"
-		key="as">
-		<story title="Service Hosting">
-			<story-content>Different types of Web Services such as Axis2
-				Services, JAXWS Services, Jar Services
-				or Spring Services can be
-				deployed in Application Server. All
-				configurations such as
-				QoS can be
-				easily configured here.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Web Applications">
-			<story-content>Web Application hosting features in AppServer
-				supports
-				deployment of Tomcat
-				compliant Webapps. Deployed Webapps can be
-				easily managed using the Webapp
-				management facilities available in
-				the management console.
-			</story-content>
-			<story-links>
-				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
-				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Tracing">
-			<story-content>Trace the request and responses to your service.
-				Message Tracing is a vital
-				debugging tool when you have clients from
-				heterogeneous platforms.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="WSDL2Java Tool">
-			<story-content>Use WSDL2Java tool in Web Application Server to
-				convert Web Service WSDL to a set of
-				Java objects.</story-content>
-			<story-links>
-				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Java2WSDL Tool">
-			<story-content>Use Java2WSDL tool in Web Application Server make it
-				easy to develop a new web service.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Data Services" link="https://dss.cloud.wso2.com"
-		key="dss">
-		<story title="Data Service Hosting">
-			<story-content>Data Web Services can be deployed in Data Services
-				Server. All configurations such as
-				QoS can be easily configured here.
-			</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Data as a Service">
-			<story-content>Create your databases on the cloud, and acess those as
-				you would do with regular
-				databases.</story-content>
-			<story-links>
-				<link url="/carbon/ds/scriptAddSource.jsp">Go to data sources...</link>
-				<link url="/carbon/ds/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service Testing">
-			<story-content>Tryit tool can be used as a simple Web Service client
-				which can be used to try your
-				services within AppServer itself.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tryit/index.jsp">Go
-					to Service Testing...</link>
-				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Tracing">
-			<story-content>Trace the request and responses to your service.
-				Message Tracing is a vital
-				debugging tool when you have clients from
-				heterogeneous platforms.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message
-					Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="DB Explorer">
-			<story-content>Explore your databases using the explorer tool on
-				the cloud.</story-content>
-			<story-links>
-				<link url="/carbon/adminconsole/databases.jsp">Go to DB
-					Explorer Tool...</link>
-				<link url="/carbon/adminconsole/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Relational Storage Solutions on Cloud">
-			<story-content>&lt;a
-				href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/configure_db.png"
-				alt=""/&gt;</story-content>
-			<story-links>
-				<link
-					url="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive">Read
-					online...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Governance Services" link="https://governance.cloud.wso2.com"
-		key="greg">
-		<story title="Service">
-			<story-content>Service is the basic entity of your SOA platform. You
-				can manage service metadata and
-				the service lifecycle as well as
-				maintain multiple versions of a given
-				service, and much
-				more.
-			</story-content>
-			<story-links>
-				<link url="/carbon/services/services.jsp">Got to services...</link>
-				<link url="/carbon/services/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="WSDL">
-			<story-content>WSDL defines the interface of a web service. You can
-				store, validate and manage WSDLs
-				with ease, keeping track of
-				dependencies and associations such as
-				services, schema and
-				policies.
-			</story-content>
-			<story-links>
-				<link url="/carbon/wsdl/wsdl.jsp">Go to WSDL</link>
-				<link url="/carbon/wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Schema">
-			<story-content>XML Schema defines data types in a WSDL. As in the
-				case of WSDLs, you can keep
-				associations of schema which helps in the
-				impact analysis process, when
-				maintaining the
-				data models associated
-				with your SOA.</story-content>
-			<story-links>
-				<link url="/carbon/schema/schema.jsp">Go to Schema...</link>
-				<link url="/carbon/schema/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Policy">
-			<story-content>Policies help standardize SOA behaviour. You can keep
-				track of the policies bound to a
-				service. It also supports policy
-				enforcement to control how SOA behaves as
-				desired by
-				both IT and
-				business personnel.</story-content>
-			<story-links>
-				<link url="/carbon/policy/policy.jsp">Go to Policy..</link>
-				<link url="/carbon/policy/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Search">
-			<story-content>The repository can store any arbitrary type of
-				resource. You can search for resources by
-				name, author, time created
-				or updated. You also can search for resources
-				by media type.
-			</story-content>
-			<story-links>
-				<link url="/carbon/search/advancedSearch.jsp">Go to Search...</link>
-				<link url="/carbon/search/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Activities">
-			<story-content>An activity log provide an invaluable insight to what
-				operations took place on the
-				repository. You can browse activities
-				while filtering them by date range, user
-				name, or
-				activity type.
-			</story-content>
-			<story-links>
-				<link url="/carbon/activities/activity.jsp">Go to Activities...</link>
-				<link url="/carbon/activities/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Notifications">
-			<story-content>The registry generates events when changes are made to
-				a particular resource or
-				collection. You can subscribe to these
-				events via e-mail, or forward them to a
-				web
-				service via SOAP or REST.
-			</story-content>
-			<story-links>
-				<link url="/carbon/notifications/notifications.jsp">Go to Notifications...</link>
-				<link url="/carbon/notifications/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Extensions">
-			<story-content>While we address most governance and registry related
-				scenarios out-of-the-box, you also
-				can upload your own extensions
-				that is capable of extending the basic
-				functionality of
-				the product
-			</story-content>
-			<story-links>
-				<link url="/carbon/extensions/add_extensions.jsp">Go to Activities...</link>
-				<link url="/carbon/extensions/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Identity Services" link="https://governance.cloud.wso2.com"
-		key="is">
-		<story title="User Profile">
-			<story-content>Update your user profile or add multiple user
-				profiles.The value from your profile will
-				be used to populate your
-				Information card and OpenID profiles.
-			</story-content>
-			<story-links>
-				<link url="/carbon/userprofile/index.jsp">Got to User Profile...</link>
-				<link url="/carbon/userprofile/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="OpenID">
-			<story-content>This OpenID can be used with any OpenID relying party
-				which trusts your domain for
-				login.</story-content>
-			<story-links>
-				<link url="/carbon/identity-provider/index.jsp">Go to OpenID...</link>
-				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Information Card">
-			<story-content>This card can be used with any identity selector that
-				supports Microsoft CardSpace
-				specifications and will allow you to
-				login to web applications that support
-				information
-				card logins.
-			</story-content>
-			<story-links>
-				<link url="/carbon/identity-provider/index.jsp">Go to Information Card...</link>
-				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="SAML 2.0 Single Sign-On">
-			<story-content>Use WSO2 Identity Server for Single Sign-on
-				configuration. Service Providers can be
-				added and removed.
-			</story-content>
-			<story-links>
-				<link url="/carbon/sso-saml/manage_service_providers.jsp">Go to SAML 2.0 Single Sign-On..</link>
-				<link url="/carbon/sso-saml/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Multifactor Authentication">
-			<story-content>Use WSO2 Identity Server to Enable XMPP based
-				multi-factor authentication.</story-content>
-			<story-links>
-				<link url="/carbon/multi-factor/xmpp-config.jsp">Go to Multifactor Authentication...</link>
-				<link url="/carbon/multi-factor/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Users and Roles">
-			<story-content>WSO2 Identity Server enables you to manage users and
-				roles in your system.</story-content>
-			<story-links>
-				<link url="/carbon/userstore/index.jsp">Go to Users and Roles...</link>
-				<link url="/carbon/userstore/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Relying Parties">
-			<story-content>Manage your Relying Parties with WSO2 Identity Server.
-			</story-content>
-			<story-links>
-				<link url="/carbon/identity-trusted-relying-parties/add-trusted-rp.jsp">Go to Relying Parties...</link>
-				<link url="/carbon/identity-trusted-relying-parties/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Key Stores">
-			<story-content>Manage your Key Stores with WSO2 Identity Server
-			</story-content>
-			<story-links>
-				<link url="/carbon/keystoremgt/keystore-mgt.jsp">Go to Activities...</link>
-				<link url="/carbon/keystoremgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Activity Monitor" link="https://bam.cloud.wso2.com"
-		key="bam">
-		<story title="Real Time Mediation Monitoring">
-			<story-content>Monitor proxy services, endpoints and sequences and
-				their operations in real time. The
-				results gathered from the
-				real-time monitoring are presented in a clear and
-				easy-to-view
-				format.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Mediation Analysis">
-			<story-content>Analyze the historical mediation trends over time with
-				the help of visualization
-				framework.</story-content>
-			<story-links>
-				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
-				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Summary Generation">
-			<story-content>Generate a summarised view of collected statistics and
-				write gadgets to display these
-				summarised data.</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service Invocation Analysis">
-			<story-content>rite gadgets to consume service statistics and present
-				to end user. Dashboard
-				support
-				Google Gadget specification.
-			</story-content>
-			<story-links>
-				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Dashboard">
-			<story-content>Monitor and correlate related business activities
-				across multiple server instances.
-				These activities can be used to
-				track and verify the smooth execution of
-				business.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Activity Correlation &amp; Monitoring">
-			<story-content>Monitor and correlate related business activities
-				across multiple server instances.
-				These activities can be used to
-				track and verify the smooth execution of
-				business.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Collection &amp; Archival">
-			<story-content>Collect messages coming into your SOA, analyze and
-				archive for future retrieval.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Process Services" link="https://bps.cloud.wso2.com"
-		key="bps">
-		<story title="WS-BPEL 2.0 &amp; BPELWS 1.1">
-			<story-content>WSO2 BPS supports both WS-BPEL 2.0 and BPEL4WS 1.1
-				standards. It also includes WSO2 BPS
-				specific extensions to enhance
-				the features provide by WS-BPEL.
-			</story-content>
-			<story-links>
-				<link url="">Got to Business Process Services...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Instance Data Cleanup">
-			<story-content>Allows multiple levels of instance data cleanup which
-				are accumulated during process
-				instance lifetime. XPath extensions,
-				Iteratable ForEach, Flexible Assigns,
-				XQuery 1.0 support and various
-				other extensions to BPEL language.</story-content>
-			<story-links>
-				<link url="">Go to OpenID...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="BPEL Extensions">
-			<story-content>Hot update BPEL processes and allows you to maintain
-				multiple versions of processes.</story-content>
-			<story-links>
-				<link url="">Go to Information Card...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Rule Server" link="https://brs.cloud.wso2.com"
-		key="brs">
-		<story title="Service Hosting Support">
-			<story-content>Service Hosting feature in Business Rules Server
-				enables deployment of Rule Services.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to Business Process Services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Rule service creation support">
-			<story-content>Support for creating rule services with drools or
-				using rule services created with other
-				IDEs.</story-content>
-			<story-links>
-				<link url="/carbon/ruleservices/rule_service_wizard_step1.jsp">Go to Rule service creation...</link>
-				<link url="/carbon/ruleservices/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Registry as a Rule Repository">
-			<story-content>Registry as a Rule Repository.</story-content>
-			<story-links>
-				<link url="/carbon/resources/resource.jsp">Go to Registry Rule Repository..</link>
-				<link url="/carbon/resources/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service testing">
-			<story-content>Tryit tool can be used as a simple Web Service client
-				which can be used to try your
-				services within AppServer itself.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tryit/index.jsp">Go
-					to Service Testing...</link>
-				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Cloud Gateway" link="https://cg.stratoslive.wso2.com"
-		key="cg">
-		<story title="Cloud Service">
-			<story-content>Publish a service or data residing behind a firewall
-				in a secure and controlled manner as a Cloud Service.
-			</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Go to Cloud Services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Complex Event Processing Services" link="https://cep.cloud.wso2.com"
-		key="cep">
-		<story title="Bring CEP to SOA">
-			<story-content>Bring CEP to SOA by processing XML events and produce
-				results as XML events.</story-content>
-			<story-links>
-				<link url="/carbon/CEP/cep_queries.jsp">Go to CEP buckets list...</link>
-				<link url="/carbon/CEP/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Registry Storage">
-			<story-content>Ability to define different event streams, queries and
-				out put streams and store them in
-				the registry as a bucket.
-			</story-content>
-			<story-links>
-				<link url="/carbon/resources/resource.jsp">Go to Registry Storage...</link>
-				<link url="/carbon/messagebox/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Esper and Fusion">
-			<story-content>Support Esper and fusion back end runtimes..
-			</story-content>
-			<story-links>
-				<link url="">Go to Esper and Fusion..</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Filter data from the XML event">
-			<story-content>Ability to filter data from the XML event using xpath
-				and format the result as an XML
-				event.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to Filter data...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Support different types of brokers">
-			<story-content>Support different types of brokers WS-Event, JMS to
-				receive publish events.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to brokers...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Storing broker configurations">
-			<story-content>Define and store such different broker configurations.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to brokers...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Administrative Console support">
-			<story-content>Administrative Console to create buckets, add
-				subscriptions etc..
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to Administrative Console ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Specify CEP queries">
-			<story-content>Ability to specify CEP queries inline or pick from the
-				registry.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to CEP queries ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Message Broker Services" link="https://mb.cloud.wso2.com"
-		key="mb">
-		<story title="Publish/Subscribe to Topics">
-			<story-content>WS-Eventing to publish/subscribe to topics using web
-				service standards.</story-content>
-			<story-links>
-				<link url="">Go to topics...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="AMQP">
-			<story-content>MS support thorough AMQP to publish/subscribe to
-				topics and Queues.</story-content>
-			<story-links>
-				<link url="">Go to AMQP...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Topic Authorization">
-			<story-content>MS support thorough AMQP to publish/subscribe to
-				topics and Queues.</story-content>
-			<story-links>
-				<link url="">Go to Topic Authorization...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Manage topics and queues permissions">
-			<story-content>Administrative console support to manage topics and
-				queues permissions.</story-content>
-			<story-links>
-				<link url="">Go to Manage topics and queues permissions...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="SQS support">
-			<story-content>SQS support to store retrieve messages using a web
-				service API.</story-content>
-			<story-links>
-				<link url="">Go to SQS ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="User based authorization for queues">
-			<story-content>User based authorization for queues.</story-content>
-			<story-links>
-				<link url="">Go to User based authorization ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Manage message boxes">
-			<story-content>Administrative console support to manage message boxes
-				and store/retrieve messages.</story-content>
-			<story-links>
-				<link url="">Go to message boxes...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message box as event sink">
-			<story-content>Ability to use a message box as the event sink for a
-				subscription.</story-content>
-			<story-links>
-				<link url="">Go to event sink support...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-        <service name="Storage Server Services" link="https://ss.cloud.wso2.com" key="ss">
-		<story title="Storage Server Data">
-			<story-content>Storage Server</story-content>
-			<story-links>
-				<link url="">Go to topics...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-</data>
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/identity.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/identity.xml b/products/stratos2/stratos_controller/1.0.0/conf/identity.xml
deleted file mode 100755
index f5a6dfe..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/identity.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- ~ Copyright (c) 2005-2011, 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.
- -->
-
-<Server xmlns="http://wso2.org/projects/carbon/carbon.xml">
-
-	<OpenIDServerUrl>https://localhost:9443/openidserver</OpenIDServerUrl>
-
-	<OpenIDUserPattern>https://localhost:9443/openid/</OpenIDUserPattern>
-
-     <JDBCPersistenceManager>
-        <DataSource>
-        	<!-- Include a data source name (jndiConfigName) from the set of data sources defined in master-datasources.xml -->
-        	<Name>jdbc/WSO2CarbonDB</Name>
-    	</DataSource>
-		<!-- If the identity database is created from another place and if it is required to skip schema initialization during the server start up, set the following
-		 property to "true". -->
-		<!-- <SkipDBSchemaCreation>false</SkipDBSchemaCreation> -->
-    </JDBCPersistenceManager>
-
-	<!--
-      Security configurations
-    -->
-	<Security>
-		<UserTrustedRPStore>
-			<Location>${carbon.home}/repository/resources/security/userRP.jks</Location>
-			<!-- Keystore type (JKS/PKCS12 etc.)-->
-			<Type>JKS</Type>
-			<!-- Keystore password-->
-			<Password>wso2carbon</Password>
-			<!-- Private Key password-->
-			<KeyPassword>wso2carbon</KeyPassword>
-		</UserTrustedRPStore>
-
-		<!--
-			The directory under which all other KeyStore files will be stored
-		-->
-		<KeyStoresDir>${carbon.home}/conf/keystores</KeyStoresDir>
-	</Security>
-
-	<Identity>
-		<IssuerPolicy>SelfAndManaged</IssuerPolicy>
-		<TokenValidationPolicy>CertValidate</TokenValidationPolicy>
-		<BlackList></BlackList>
-		<WhiteList></WhiteList>
-		<System>
-			<KeyStore></KeyStore>
-			<StorePass></StorePass>
-		</System>
-	</Identity>
-
-	<OAuth>
-		<RequestTokenUrl>https://localhost:9443/oauth/request-token</RequestTokenUrl>
-		<AccessTokenUrl>https://localhost:9443/oauth/access-token</AccessTokenUrl>
-		<AuthorizeUrl>https://localhost:9443/oauth/authorize-url</AuthorizeUrl>
-		<!-- Default validity period for Authorization Code in seconds -->
-		<AuthorizationCodeDefaultValidityPeriod>300</AuthorizationCodeDefaultValidityPeriod>
-		<!-- Default validity period for Access Token in seconds -->
-		<AccessTokenDefaultValidityPeriod>3600</AccessTokenDefaultValidityPeriod>
-		<!-- Timestamp skew in seconds -->
-		<TimestampSkew>300</TimestampSkew>
-		<!-- Enable OAuth caching. This cache has the replication support. -->
-		<EnableOAuthCache>true</EnableOAuthCache>
-		<!-- Configure the security measures needs to be done prior to store the token in the database,
-		such as hashing, encrypting, etc.-->
-		<TokenPersistencePreprocessor>org.wso2.carbon.identity.oauth.preprocessor.PlainTextTokenPersistencePreprocessor</TokenPersistencePreprocessor>
-		<!-- Supported Response Types -->
-		<SupportedResponseTypes>token,code</SupportedResponseTypes>
-		<!-- Supported Grant Types -->
-		<SupportedGrantTypes>authorization_code,password,refresh_token,client_credentials</SupportedGrantTypes>
-		<OAuthCallbackHandlers>		
-				<OAuthCallbackHandler Class="org.wso2.carbon.identity.oauth.callback.DefaultCallbackHandler"/>
-		</OAuthCallbackHandlers>
-	</OAuth>
-
-	<MultifactorAuthentication>
-		<XMPPSettings>
-			<XMPPConfig>
-				<XMPPProvider>gtalk</XMPPProvider>
-				<XMPPServer>talk.google.com</XMPPServer>
-				<XMPPPort>5222</XMPPPort>
-				<XMPPExt>gmail.com</XMPPExt>
-				<XMPPUserName>multifactor1@gmail.com</XMPPUserName>
-				<XMPPPassword>wso2carbon</XMPPPassword>
-			</XMPPConfig>
-		</XMPPSettings>
-	</MultifactorAuthentication>
-
-    	<SSOService>
-    	    <IdentityProviderURL>https://localhost:9443/samlsso</IdentityProviderURL>
-    	</SSOService>
-</Server>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/jaas.conf
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/jaas.conf b/products/stratos2/stratos_controller/1.0.0/conf/jaas.conf
deleted file mode 100644
index 7a2a295..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/jaas.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-Server {
-       org.apache.zookeeper.server.auth.DigestLoginModule required
-       user_super="admin"
-       user_admin="admin";
-};
-Client {
-       org.apache.zookeeper.server.auth.DigestLoginModule required
-       username="admin"
-       password="admin";
-};

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/loadbalancer.conf
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/loadbalancer.conf b/products/stratos2/stratos_controller/1.0.0/conf/loadbalancer.conf
deleted file mode 100644
index 138c087..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/loadbalancer.conf
+++ /dev/null
@@ -1,29 +0,0 @@
-services {
-    # default parameter values to be used in all services
-    defaults {
-        # minimum number of service instances required. WSO2 ELB will make sure that this much of instances
-        # are maintained in the system all the time, of course only when autoscaling is enabled.
-        min_app_instances       1;
-        # maximum number of service instances that will be load balanced by this ELB.
-        max_app_instances       5;
-        # you need to calibrate autoscaling parameters before start using. Please go through following blog post
-        # http://nirmalfdo.blogspot.com/2013/01/scale-up-early-scale-down-slowly.html
-        max_requests_per_second   5;
-        alarming_upper_rate 0.7;
-        alarming_lower_rate 0.2;
-        scale_down_factor 0.25;
-        rounds_to_average       2;
-        message_expiry_time     60000;
-    }
-    
-    identity {
-        hosts                   identity.aaaa.cloud-test.wso2.com;
-        domains   {
-            wso2.identity.aaaa.domain {
-                tenant_range    *;
-            }
-            
-        }
-    }
-    
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/metering-config-non-manager.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/metering-config-non-manager.xml b/products/stratos2/stratos_controller/1.0.0/conf/metering-config-non-manager.xml
deleted file mode 100755
index 362f30d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/metering-config-non-manager.xml
+++ /dev/null
@@ -1,103 +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.
- -->
-<meteringConfig xmlns="http://wso2.com/carbon/multitenancy/metering/config">
-    <tasks>
-        <task service="org.wso2.stratos.metering.agent.task.PerRegistryRequestTask">
-            <preHandlers>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.RegistryActionValidator">
-                </handler>
-            </preHandlers>
-            <postHandlers>
-                <handler service="org.wso2.stratos.metering.agent.handlers.RemoteTaskInvoker"
-                        async="true" frequency="1"><!-- trigger per each request-->
-                    <parameter name="taskServiceUrl">https://localhost:9443/services/</parameter>
-                    <parameter name="userName">admin</parameter>
-                    <parameter name="password">admin</parameter>
-                    <parameter name="taskName">org.wso2.stratos.metering.manager.task.PerRegistryRequestRemoteTask</parameter>
-                </handler>
-            </postHandlers>
-        </task>
-        <task service="org.wso2.stratos.metering.agent.task.PerUserAddRequestTask">
-            <preHandlers>
-                <handler service="org.wso2.stratos.metering.agent.handlers.RemoteTaskInvoker"
-                        async="false" frequency="1"><!-- trigger per each request-->
-                    <parameter name="taskServiceUrl">https://localhost:9443/services/</parameter>
-                    <parameter name="userName">admin</parameter>
-                    <parameter name="password">admin</parameter>
-                    <parameter name="taskName">org.wso2.stratos.metering.manager.task.PerUserAddRequestRemoteTask</parameter>
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.AddUserActionValidator">
-                </handler>
-            </preHandlers>
-        </task>
-        <task service="org.wso2.stratos.metering.manager.task.PerRegistryRequestRemoteTask">
-            <postHandlers>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.DBContentVolumeRetriever"><!-- trigger per each registry request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.BandwidthDataRetriever" async="true" frequency="5"><!-- trigger per 5 registry request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.BandwidthDataStorer">
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.BillingDataRetriever"><!-- trigger per each registry request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.RuleInvoker">
-                    <parameter name="rule-file">restriction-rules.drl</parameter>
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoStorer">
-                </handler>
-            </postHandlers>
-        </task>
-        <task service="org.wso2.stratos.metering.manager.task.PerUserAddRequestRemoteTask">
-            <postHandlers>
-                <handler service="org.wso2.stratos.metering.manager.handlers.UsersCountRetriever"><!-- trigger per each user add request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoRetriever">
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.BillingDataRetriever"><!-- trigger per each user add request-->
-                </handler>
-                <handler service="org.wso2.stratos.metering.manager.handlers.RuleInvoker">
-                    <parameter name="rule-file">restriction-rules.drl</parameter>
-                </handler>
-                <handler service="org.wso2.stratos.metering.agent.handlers.ValidationInfoStorer">
-                </handler>
-            </postHandlers>
-        </task>
-        <!-- to be implemented -->
-        <!--
-        <task service="org.wso2.stratos.metering.manager.task.ScheduledTask">
-            <parameters>
-                <parameter name="period">1Month</parameter>
-                <parameter name="dayToTriggerOn">1</parameter>
-                <parameter name="hourToTriggerOn">0</parameter>
-                <parameter name="timeZone">GMT-8:00</parameter>
-            </parameters>
-            <hanldlers>
-                <handler service="org.wso2.stratos.metering.manager.handler.RuleInvoker">
-                    <parameter name="rule-file">restriction-rules.drl</parameter>
-                </handler>
-            </handlers>
-        </task>
-        -->
-    </tasks>
-</meteringConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/multitenancy-billing-rules.drl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/multitenancy-billing-rules.drl b/products/stratos2/stratos_controller/1.0.0/conf/multitenancy-billing-rules.drl
deleted file mode 100755
index 0cdc23d..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/multitenancy-billing-rules.drl
+++ /dev/null
@@ -1,34 +0,0 @@
-import org.wso2.carbon.billing.core.dataobjects.*;
-import org.wso2.carbon.billing.mgt.dataobjects.*;
-
-
-rule smallSubscription
-when
-$item: MultitenancyPackage(name == "SMB")
-$subItem: Item(parent == $item && name == "subscription")
-then
-$subItem.setCost(new Cash("$100"));
-$subItem.setCreditLimit(new Cash("$200"));
-end
-
-
-rule mediumSubscription
-when
-$item: MultitenancyPackage(name == "Professional")
-$subItem: Item(parent == $item && name == "subscription")
-then
-$subItem.setCost(new Cash("$500"));
-$subItem.setCreditLimit(new Cash("$1000"));
-end
-
-
-rule largeSubscription
-when
-$item: MultitenancyPackage(name == "Enterprise")
-$subItem: Item(parent == $item && name == "subscription")
-then
-$subItem.setCost(new Cash("$2000"));
-$subItem.setCreditLimit(new Cash("$4000"));
-end
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/nhttp.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/nhttp.properties b/products/stratos2/stratos_controller/1.0.0/conf/nhttp.properties
deleted file mode 100644
index 0ad3e44..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/nhttp.properties
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-# This file contains the configuration parameters used by the Non-blocking HTTP transport
-
-#http.socket.timeout=60000
-#nhttp_buffer_size=8192
-#http.tcp.nodelay=1
-#http.connection.stalecheck=0
-
-# Uncomment the following property for an AIX based deployment
-#http.nio.interest-ops-queueing=true
-
-# HTTP Sender thread pool parameters
-#snd_t_core=20
-#snd_t_max=100
-#snd_alive_sec=5
-#snd_qlen=-1
-#snd_io_threads=2
-
-# HTTP Listener thread pool parameters
-#lst_t_core=20
-#lst_t_max=100
-#lst_alive_sec=5
-#lst_qlen=-1
-#lst_io_threads=2

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/passthru-http.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/passthru-http.properties b/products/stratos2/stratos_controller/1.0.0/conf/passthru-http.properties
deleted file mode 100644
index 918bc87..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/passthru-http.properties
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-#  Copyright (c) 2005-2010, 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.
-#
-
-## This file contains the configuration parameters used by the Pass-through HTTP transport
-
-## Pass-through HTTP transport specific tuning parameters 
-#worker_pool_size_core=40
-#worker_pool_size_max=200
-#worker_thread_keepalive_sec=60
-#worker_pool_queue_length=-1
-#io_threads_per_reactor=2
-#io_buffer_size=8192
-#http.max.connection.per.host.port=32767
-
-## Other parameters
-#http.user.agent.preserve=false
-#http.server.preserve=true
-#http.connection.disable.keepalive=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/rule-component.conf
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/rule-component.conf b/products/stratos2/stratos_controller/1.0.0/conf/rule-component.conf
deleted file mode 100644
index 1bd6c09..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/rule-component.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-<RuleServer>
-    <RuleEngineProvider class="org.wso2.carbon.rule.engine.jsr94.JSR94BackendRuntimeFactory"/>
-</RuleServer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/samples-desc.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/samples-desc.xml b/products/stratos2/stratos_controller/1.0.0/conf/samples-desc.xml
deleted file mode 100755
index 6f2ec4c..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/samples-desc.xml
+++ /dev/null
@@ -1,32 +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.
- -->
-<samples xmlns="http://wso2.com/stratos/samples">
-    <sample name="Shopping Cart">
-        <cloudServices>
-            <cloudService name="Application Server"/>
-            <!--cloudService name="WSO2 Stratos Governance"/>
-            <cloudService name="WSO2 Stratos Application Server"/>
-            <cloudService name="WSO2 Stratos Gadget Server"/>
-            <cloudService name="WSO2 Stratos Mashup Server"/>
-            <cloudService name="WSO2 Stratos Enterprise Service Bus"/>
-            <cloudService name="WSO2 Stratos Data Services Server"/>
-            <cloudService name="WSO2 Stratos Business Process Server"/-->
-        </cloudServices>
-	<fileName>GlobalShoppingCartSample-${shoppingcart.global.version}</fileName>
-    </sample>
-</samples>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/sso-idp-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/sso-idp-config.xml b/products/stratos2/stratos_controller/1.0.0/conf/sso-idp-config.xml
deleted file mode 100755
index 57ad19b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/sso-idp-config.xml
+++ /dev/null
@@ -1,26 +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.
- -->
-<SSOIdentityProviderConfig>
-     <LoginPageBannerBaseURL>http://wso2.com/product-ads/stratos/wso2cloud/</LoginPageBannerBaseURL>
-     <TenantRegistrationPage>https://stratos-local.wso2.com/carbon/tenant-register/select_domain.jsp</TenantRegistrationPage>
-     <ServiceProvider>
-            <Issuer>WSO2 Stratos Controller</Issuer>
-            <AssertionConsumerService>https://stratos-local.wso2.com/acs</AssertionConsumerService>
-	    <CustomLoginPage>stratos-sso/login_ajaxprocessor.jsp</CustomLoginPage>
-     </ServiceProvider>
-</SSOIdentityProviderConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/status-monitor-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/status-monitor-config.xml b/products/stratos2/stratos_controller/1.0.0/conf/status-monitor-config.xml
deleted file mode 100755
index 1bf6068..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/status-monitor-config.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2012, 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.
- -->
-
-<!-- 
-     Defines the database and related params that to be used for the services status
-     monitoring. Status Monitor Agent writes to the database defined here, and the 
-     Status Monitor reads it. 
-  -->
-
-<serviceStatusConfig xmlns="http://wso2.com/carbon/status/monitor/config">
-   <authConfig>
-        <jksLocation>../../repository/resources/security/wso2carbon.jks</jksLocation> <!--location to the jks file-->
-
-        <!--The tenant credentials that to be used to login to the Stratos 
-	services. Make sure the correct credentials are given to avoid 
-	false positives.-->
-        <userName>admin@wso2-heartbeat-checker.org</userName>
-        <password>password</password>
-        <tenantDomain>wso2-heartbeat-checker.org</tenantDomain>
-   </authConfig>
-
-   <platformSample>
-        <!--The tenant that has the webapps and services to monitor. 
-	This can of course be the same tenant given above as tenantDomain-->
-        <tenantDomain>wso2.org</tenantDomain>
-    </platformSample>
-
-   <dbConfig>
-        <url>jdbc:mysql://localhost:3306/stratos_status</url>
-        <userName>monitor</userName>
-        <password>monitor</password>
-        <driverName>com.mysql.jdbc.Driver</driverName>
-        <maxActive>80</maxActive>
-        <maxWait>60000</maxWait>
-        <minIdle>5</minIdle>
-    </dbConfig>
-</serviceStatusConfig>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/stratos-datasources.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/stratos-datasources.xml b/products/stratos2/stratos_controller/1.0.0/conf/stratos-datasources.xml
deleted file mode 100755
index 1ea690a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/stratos-datasources.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
-  
-    <providers>
-        <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
-    </providers>
-  
-    <datasources>
-		<datasource>
-            <name>WSO2BillingDS</name>
-            <description>The datasource used for registry and user manager</description>
-            <jndiConfig>
-                <name>jdbc/WSO2BillingDS</name>
-            </jndiConfig>
-            <definition type="RDBMS">
-                <configuration>
-                    <url>jdbc:h2:repository/database/WSO2BILLING_DB;DB_CLOSE_ON_EXIT=FALSE</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>
-		<datasource>
-            <name>stratos_ds</name>
-            <description>The datasource used for registry and user manager</description>
-            <jndiConfig>
-                <name>jdbc/stratos_ds</name>
-            </jndiConfig>
-            <definition type="RDBMS">
-                <configuration>
-                    <url>jdbc:h2:repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE</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>		
-		<datasource>
-            <name>bam_datasource</name>
-            <description>The datasource used for registry and user manager</description>
-            <jndiConfig>
-                <name>jdbc/bam_datasource</name>
-            </jndiConfig>
-            <definition type="RDBMS">
-                <configuration>
-                    <url>jdbc:h2:repository/database/WSO2BILLING_DB;DB_CLOSE_ON_EXIT=FALSE</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>		
-    </datasources>
-
-</datasources-configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/registry.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/registry.xml b/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/registry.xml
deleted file mode 100644
index b19a4c8..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/registry.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-
-<!-- Registry declaration of the WSO2 ESB -->
-<registry xmlns="http://ws.apache.org/ns/synapse" provider="org.wso2.carbon.mediation.registry.WSO2Registry">
-    <!--all resources loaded from the URL registry would be
-    cached for this number of milliseconds -->
-    <parameter name="cachableDuration">15000</parameter>
-</registry>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/errorHandler.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/errorHandler.xml b/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/errorHandler.xml
deleted file mode 100644
index 62c31a6..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/errorHandler.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-    <sequence name="errorHandler" xmlns="http://ws.apache.org/ns/synapse">
-	<log level="full">
-        	<property name="MESSAGE" value="Executing default 'fault' sequence"/>
-        	<property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
-        	<property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
-    	</log>
-        <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
-            <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
-        </makefault>
-        <send/>
-    </sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/fault.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/fault.xml b/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/fault.xml
deleted file mode 100644
index 1192bbd..0000000
--- a/products/stratos2/stratos_controller/1.0.0/conf/synapse-configs/default/sequences/fault.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
-  -->
-
-<!-- Default fault sequence shipped with the Apache Synapse -->
-<sequence xmlns="http://ws.apache.org/ns/synapse" name="fault">
-
-    <!-- Log the message at the full log level with the ERROR_MESSAGE and the ERROR_CODE-->
-    <!-- log level="full">
-        <property name="MESSAGE" value="Executing default 'fault' sequence"/>
-        <property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
-        <property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
-    </log -->
-
-    <!-- Drops the messages by default if there is a fault -->
-    <script language="js"><![CDATA[
-        mc.setPayloadXML(
-           <{mc.getProperty("SERVICENAME")}Response xmlns="org.wso2.gateway">
-            <Timestamp>{new Date()}</Timestamp>
-            <Ack>Failure</Ack>
-            <Errors>
-             <ShortMessage>Gateway Error</ShortMessage>
-             <LongMessage>{mc.getProperty("ERROR_MESSAGE")}</LongMessage>
-             <ErrorCode>500</ErrorCode>
-             <SeverityCode>Error</SeverityCode>
-             <ErrorClassification>RequestError</ErrorClassification>
-            </Errors>
-            <ServiceName>{mc.getProperty("SERVICENAME")}</ServiceName>
-            <ResponseCode>{mc.getProperty("HTTP_SC")}</ResponseCode>
-            <ContentType>{mc.getProperty("Content-Type")}</ContentType>
-            <Version>1.5.1</Version>
-           </{mc.getProperty("SERVICENAME")}Response>
-        );
-      ]]></script>
-    <switch source="get-property('ERROR_CODE')">
-        <case regex="101504">   <!-- TIMEOUT ERROR -->
-            <property name="HTTP_SC" value="504" scope="axis2"/>
-            <sequence key="seq_timeout"/>
-        </case>
-        <case regex="303001">
-            <property name="HTTP_SC" value="503" scope="axis2"/>
-            <sequence key="seq_endpoint_down"/>
-        </case>
-        <case regex="111503">
-            <property name="HTTP_SC" value="503" scope="axis2"/>
-            <sequence key="seq_endpoint_down"/>
-        </case>
-        <default>
-            <property name="HTTP_SC" value="500" scope="axis2"/>
-        </default>
-    </switch>
-    <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
-    <header name="To" action="remove"/>
-    <property name="RESPONSE" value="true"/>
-    <property name="messageType" value="text/xml" scope="axis2"/>
-    <property name="ContentType" value="text/xml" scope="axis2"/>
-
-    <send/>
-
-</sequence>


[47/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/utils/Util.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/utils/Util.java b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/utils/Util.java
deleted file mode 100644
index 4d3ea56..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/java/org/wso2/stratos/manager/dashboard/ui/utils/Util.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2008, 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.
- */
-package org.wso2.stratos.manager.dashboard.ui.utils;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class Util {
-    public static List<String> getNewlyActivatedServices(List<String> oldActivateServices,
-                                                  List<String> newActivateServices) {
-        List<String> newlyActivatedServices = new ArrayList<String>();
-        for (String service: newActivateServices) {
-            if (!oldActivateServices.contains(service)) {
-                newlyActivatedServices.add(service);
-            }
-        }
-        return newlyActivatedServices;
-    }
-    public static List<String> getNewlyDeactivatedServices(List<String> oldActivateServices,
-                                                  List<String> newActivateServices) {
-        List<String> newlyDeactivatedServices = new ArrayList<String>();
-        for (String service: oldActivateServices) {
-            if (!newActivateServices.contains(service)) {
-                newlyDeactivatedServices.add(service);
-            }
-        }
-        return newlyDeactivatedServices;
-    }
-
-   
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/CloudManagerService.wsdl
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/CloudManagerService.wsdl b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/CloudManagerService.wsdl
deleted file mode 100644
index 6be162a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/CloudManagerService.wsdl
+++ /dev/null
@@ -1,312 +0,0 @@
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd"
-                  xmlns:ns="http://services.mgt.services.manager.stratos.wso2.org"
-                  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
-                  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
-                  xmlns:ax2298="http://beans.mgt.services.manager.stratos.wso2.org/xsd"
-                  xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-                  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
-                  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
-                  targetNamespace="http://services.mgt.services.manager.stratos.wso2.org">
-    <wsdl:documentation>CloudManagerService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
-                   targetNamespace="http://beans.mgt.services.manager.stratos.wso2.org/xsd">
-            <xs:complexType name="CloudService">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="icon" nillable="true" type="xs:string"/>
-
-                    <xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="link" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="productPageURL" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax2299="http://beans.mgt.services.manager.stratos.wso2.org/xsd"
-                   attributeFormDefault="qualified" elementFormDefault="qualified"
-                   targetNamespace="http://services.mgt.services.manager.stratos.wso2.org">
-            <xs:import namespace="http://beans.mgt.services.manager.stratos.wso2.org/xsd"/>
-
-            <xs:element name="CloudManagerServiceException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="CloudManagerServiceException" nillable="true"
-                                    type="ns:Exception"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:complexType name="Exception">
-                <xs:sequence>
-
-                    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:element name="saveCloudServicesActivity">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" name="activeServiceNames" nillable="true"
-                                    type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-
-            </xs:element>
-            <xs:element name="retrieveCloudServiceInfo">
-                <xs:complexType>
-                    <xs:sequence/>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveCloudServiceInfoResponse">
-                <xs:complexType>
-                    <xs:sequence>
-
-                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true"
-                                    type="ax2299:CloudService"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="deactivate">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="cloudServiceName" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="activate">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="cloudServiceName" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="saveCloudServicesActivityRequest">
-        <wsdl:part name="parameters" element="ns:saveCloudServicesActivity"/>
-    </wsdl:message>
-    <wsdl:message name="saveCloudServicesActivityResponse"/>
-    <wsdl:message name="CloudManagerServiceException">
-        <wsdl:part name="parameters" element="ns:CloudManagerServiceException"/>
-    </wsdl:message>
-
-    <wsdl:message name="activateRequest">
-        <wsdl:part name="parameters" element="ns:activate"/>
-    </wsdl:message>
-    <wsdl:message name="activateResponse"/>
-    <wsdl:message name="retrieveCloudServiceInfoRequest">
-        <wsdl:part name="parameters" element="ns:retrieveCloudServiceInfo"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveCloudServiceInfoResponse">
-        <wsdl:part name="parameters" element="ns:retrieveCloudServiceInfoResponse"/>
-
-    </wsdl:message>
-    <wsdl:message name="deactivateRequest">
-        <wsdl:part name="parameters" element="ns:deactivate"/>
-    </wsdl:message>
-    <wsdl:message name="deactivateResponse"/>
-    <wsdl:portType name="CloudManagerServicePortType">
-        <wsdl:operation name="saveCloudServicesActivity">
-            <wsdl:input message="ns:saveCloudServicesActivityRequest" wsaw:Action="urn:saveCloudServicesActivity"/>
-            <wsdl:output message="ns:saveCloudServicesActivityResponse"
-                         wsaw:Action="urn:saveCloudServicesActivityResponse"/>
-
-            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
-                        wsaw:Action="urn:saveCloudServicesActivityCloudManagerServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="activate">
-            <wsdl:input message="ns:activateRequest" wsaw:Action="urn:activate"/>
-            <wsdl:output message="ns:activateResponse" wsaw:Action="urn:activateResponse"/>
-            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
-                        wsaw:Action="urn:activateCloudManagerServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCloudServiceInfo">
-            <wsdl:input message="ns:retrieveCloudServiceInfoRequest" wsaw:Action="urn:retrieveCloudServiceInfo"/>
-
-            <wsdl:output message="ns:retrieveCloudServiceInfoResponse"
-                         wsaw:Action="urn:retrieveCloudServiceInfoResponse"/>
-            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
-                        wsaw:Action="urn:retrieveCloudServiceInfoCloudManagerServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="deactivate">
-            <wsdl:input message="ns:deactivateRequest" wsaw:Action="urn:deactivate"/>
-            <wsdl:output message="ns:deactivateResponse" wsaw:Action="urn:deactivateResponse"/>
-            <wsdl:fault message="ns:CloudManagerServiceException" name="CloudManagerServiceException"
-                        wsaw:Action="urn:deactivateCloudManagerServiceException"/>
-        </wsdl:operation>
-    </wsdl:portType>
-
-    <wsdl:binding name="CloudManagerServiceSoap11Binding" type="ns:CloudManagerServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="saveCloudServicesActivity">
-            <soap:operation soapAction="urn:saveCloudServicesActivity" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activate">
-            <soap:operation soapAction="urn:activate" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCloudServiceInfo">
-
-            <soap:operation soapAction="urn:retrieveCloudServiceInfo" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap:fault use="literal" name="CloudManagerServiceException"/>
-
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="deactivate">
-            <soap:operation soapAction="urn:deactivate" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="CloudManagerServiceSoap12Binding" type="ns:CloudManagerServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="saveCloudServicesActivity">
-
-            <soap12:operation soapAction="urn:saveCloudServicesActivity" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap12:fault use="literal" name="CloudManagerServiceException"/>
-
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activate">
-            <soap12:operation soapAction="urn:activate" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap12:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCloudServiceInfo">
-            <soap12:operation soapAction="urn:retrieveCloudServiceInfo" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap12:fault use="literal" name="CloudManagerServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="deactivate">
-
-            <soap12:operation soapAction="urn:deactivate" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="CloudManagerServiceException">
-                <soap12:fault use="literal" name="CloudManagerServiceException"/>
-
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="CloudManagerServiceHttpBinding" type="ns:CloudManagerServicePortType">
-        <http:binding verb="POST"/>
-        <wsdl:operation name="saveCloudServicesActivity">
-            <http:operation location="saveCloudServicesActivity"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="activate">
-            <http:operation location="activate"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCloudServiceInfo">
-            <http:operation location="retrieveCloudServiceInfo"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="deactivate">
-            <http:operation location="deactivate"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="CloudManagerService">
-        <wsdl:port name="CloudManagerServiceHttpsSoap11Endpoint" binding="ns:CloudManagerServiceSoap11Binding">
-            <soap:address
-                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsSoap11Endpoint/"/>
-
-        </wsdl:port>
-        <wsdl:port name="CloudManagerServiceHttpsSoap12Endpoint" binding="ns:CloudManagerServiceSoap12Binding">
-            <soap12:address
-                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="CloudManagerServiceHttpsEndpoint" binding="ns:CloudManagerServiceHttpBinding">
-            <http:address
-                    location="https://10.100.0.26:9443/services/CloudManagerService.CloudManagerServiceHttpsEndpoint/"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/META-INF/component.xml b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/META-INF/component.xml
deleted file mode 100644
index 969c006..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/META-INF/component.xml
+++ /dev/null
@@ -1,35 +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.
- -->
-<component xmlns="http://products.wso2.org/carbon">
-    <!-- sample menu configuration -->
-    <menus>
-        <menu>
-            <id>mt_cloud_services_configurations</id>
-            <i18n-key>cloud.services.configurations</i18n-key>
-            <i18n-bundle>org.wso2.stratos.manager.dashboard.ui.i18n.Resources</i18n-bundle>
-            <parent-menu>configure_menu</parent-menu>
-            <link>../tenant-dashboard/cloud_services_configuration.jsp</link>
-            <region>region1</region>
-            <icon>../tenant-dashboard/images/service-configuration.gif</icon>
-            <order>40</order>
-            <style-class>home</style-class>
-            <require-permission>/permission/admin/configure/cloud-services</require-permission>
-            <require-not-super-tenant>true</require-not-super-tenant>
-        </menu>
-    </menus>
-</component>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/JSResources.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/JSResources.properties b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/JSResources.properties
deleted file mode 100644
index 49efc22..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/JSResources.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-password.mismatched=Passwords do not match.
-current.password.should.provided=You should provide the current password inorder to change the password.
-session.timed.out=Session timed out.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/Resources.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/Resources.properties b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/Resources.properties
deleted file mode 100644
index 3d49083..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/org/wso2/stratos/manager/dashboard/ui/i18n/Resources.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-cloud.services.configurations=Services
-activate.your.cloud.services=Activate your Cloud Services
-cloud.services=Cloud Services

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
deleted file mode 100644
index 507f278..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_configuration.jsp
+++ /dev/null
@@ -1,203 +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.
- -->
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
-<%@ page import="org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
-<%@ page import="org.wso2.carbon.account.mgt.ui.clients.AccountMgtClient" %>
-<%@ page import="org.wso2.carbon.stratos.common.constants.StratosConstants" %>
-<%@ page import="java.util.List" %>
-<%@ page import="java.util.ArrayList" %>
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.utils.Util" %>
-<%@ page import="org.wso2.carbon.utils.multitenancy.MultitenantConstants" %>
-
-
-<jsp:include page="../registry_common/registry_common-i18n-ajaxprocessor.jsp"/>
-<script type="text/javascript" src="../registry_common/js/registry_validation.js"></script>
-<script type="text/javascript" src="../registry_common/js/registry_common.js"></script>
-<script type="text/javascript" src="../ajax/js/prototype.js"></script>
-<script type="text/javascript" src="../tenant-dashboard/js/dashboard.js"></script>
-<link href="../tenant-dashboard/css/dashboard.css" rel="stylesheet" type="text/css" media="all"/>
-
-
-<%
-
-    CloudManagerServiceClient cloudManagerClient;
-    CloudService[] cloudServices = null;
-    String error = "Error in getting the available and active service details.";
-    try {
-        cloudManagerClient = new CloudManagerServiceClient(request, config, session);
-        cloudServices = cloudManagerClient.retrieveCloudServiceInfo();
-    } catch (Exception e) {
-        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error,error,null)); 
-%>
-        <jsp:include page="../admin/error.jsp?<%=error%>"/>
-<%
-        return;
-    }
-%>
-<fmt:bundle basename="org.wso2.stratos.manager.dashboard.ui.i18n.Resources">
-<carbon:jsi18n
-        resourceBundle="org.wso2.stratos.manager.dashboard.ui.i18n.JSResources"
-        request="<%=request%>" namespace="org.wso2.stratos.manager.dashboard.ui"/>
-
-<div id="middle">
-<h2><fmt:message key="activate.your.cloud.services"/></h2>
-<div id="workArea">
-<%
-// if the account management permission there, we are showing the message to validate email address
-if (CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/account")) {
-
-    AccountMgtClient client = new AccountMgtClient(config, session);
-    boolean isEmailValidated = client.isEmailValidated();
-
-    if (!isEmailValidated) {
-%>
-
-<div class="green-note">Your organization has not validated the contact email address yet. Please validate it following
-the instructions in the <a href="../account-mgt/account_mgt.jsp">Account Management</a> page (Accessible from Configure-&gt;Account menu). </div>
-<%
-    }
-}
-String tenantDomain = null;
-if (session.getAttribute(MultitenantConstants.TENANT_DOMAIN) != null) {
-    tenantDomain = (String)session.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-} else {
-    // user is not logged in or just logged out, but still they are inside url own to the domain
-    tenantDomain = (String)request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-}
-String linkSuffix = "";
-    if (tenantDomain != null) {
-        linkSuffix = "/" + MultitenantConstants.TENANT_AWARE_URL_PREFIX + "/" + tenantDomain;
-    }
-
-boolean isUserAuthorized = CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/cloud-services");    
-%>
-<form id="cloudService" action="cloud_services_save_ajaxprocessor.jsp" method="post">
-<div>
-    <table cellspacing="0" class="tips">
-<%
-    List<String> activeServices = new ArrayList<String>();
-    int index = 1;
-
-    for (CloudService cloudService: cloudServices) {
-        index++;
-        String name = cloudService.getName();       
-        String imagePath = "images/" + name.replace(" ", "-") + "-logo.gif";
-        String projectPageUrl = cloudService.getProductPageURL();
-        String link = cloudService.getLink() + linkSuffix;
-        String icon = cloudService.getIcon();
-        String iconPath = icon.substring(0, icon.lastIndexOf('/'));
-        String iconName = icon.substring(icon.lastIndexOf('/') + 1);
-        String inactiveIcon = iconPath + "/" + "inactive-" + iconName;
-        String description = cloudService.getDescription();
-        String label = cloudService.getLabel();
-        boolean active = name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
-                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE) ||
-                cloudService.getActive();
-        String disabledStr = (name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
-                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE))?" disabled ": "";
-        boolean disabledBtn = (name.equals(StratosConstants.CLOUD_IDENTITY_SERVICE) ||
-                name.equals(StratosConstants.CLOUD_GOVERNANCE_SERVICE));
-        if (!isUserAuthorized) {
-            disabledStr = " disabled ";
-        }
-        /*if (name.equals(StratosConstants.CLOUD_ESB_SERVICE)) {
-            active = false;
-            disabledStr = " disabled "; // we show an inactive and disabled link
-        }*/
-        if (active) {
-            activeServices.add(label);
-        }
-%>
-            <tr class="tips-row">
-
-            <td class="tip-checkbox">
-                <input type="checkbox" <%=disabledStr%> <%=active ? " checked=\"true\"" : ""%>
-                       name="cloudServices" id="cloudServices<%=index%>"  value="<%=name%>" style="display:none;"/>
-            </td>
-
-            <td>
-            	<img src="<%=icon%>" class="iconImage">
-                <% if (active) { %>
-            	<a target="_blank" href="<%=link%>" class="linkToService"><%=label%></a>
-                 <% } else { %>
-                <a class="linkToService"><%=label%></a>
-                <% } %>
-
-            </td>
-	<td class="access">
-        <% if (!disabledBtn) { %>          
-                <% if (active) { %>
-                <a target="_blank" input type="button" onclick="document.getElementById('cloudServices<%=index%>').checked=false;onChangeServiceSubscription()" class="deactivate-button"> Deactivate
-                </a>
-                <% } else { %>
-                <a target="_blank" input type="button" onclick="document.getElementById('cloudServices<%=index%>').checked=true;onChangeServiceSubscription()" class="activate-button"> Activate
-                <% } %>
-        <% } %>
-    </td>
-                
-	<td class="powered">Powered by<br/><a href="<%=projectPageUrl%>" target="_blank"><img src="<%=imagePath%>"/></a></td>
-                 </tr>
-               <% index++;
-            } %>
-
-                <td>&nbsp;</td>
-                </tr>
-    </table>
-    </div>
-</form>
-<%
-    List<String> oldActiveServices = (List<String>)session.getAttribute("active-statos-services");
-    if (oldActiveServices != null) {
-        List<String> newlyActivatedServices = Util.getNewlyActivatedServices(oldActiveServices, activeServices);
-        List<String> newlyDeactivatedServices = Util.getNewlyDeactivatedServices(oldActiveServices, activeServices);
-        String msg = null;
-        if (newlyActivatedServices.size() > 0) {
-            msg = "<li>";
-            for (String service: newlyActivatedServices) {
-                msg += "<ul>" + service + " <strong>activated</strong></ul>";
-            }
-            msg += "</li>";
-        }
-        if (newlyDeactivatedServices.size() > 0) {
-            if (msg == null) {
-                msg = "<li>";
-            }
-            for (String service: newlyDeactivatedServices) {
-                msg += "<ul>" + service + " <strong>deactivated</strong></ul>";
-            }
-            msg += "</li>";
-        }
-        if (msg != null) {
-%>
-    <script type="text/javascript">
-        jQuery(document).ready(function() {
-            CARBON.showInfoDialog('<%=msg%>');
-        });
-    </script>
-<%
-        }
-    }
-    session.setAttribute("active-statos-services", activeServices);
-%>
-</div>
-</div>
-</fmt:bundle>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
deleted file mode 100644
index a7ff6ec..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/cloud_services_save_ajaxprocessor.jsp
+++ /dev/null
@@ -1,34 +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.
- -->
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %><%
-    String[] activeCloudServiceNames = request.getParameterValues("cloudServices");
-
-    String error = "Error in saving the results of the activities";
-    try {
-        CloudManagerServiceClient cloudServiceClient = new CloudManagerServiceClient(request, config, session);
-        cloudServiceClient.saveCloudServicesActivity(activeCloudServiceNames);
-    } catch (Exception e) {
-        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error,error,null));
-%>
-        <jsp:include page="../admin/error.jsp?<%=error%>"/>
-<%
-        return;
-    }
-    response.sendRedirect("../tenant-dashboard/cloud_services_configuration.jsp");
-%>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
deleted file mode 100644
index de0a70f..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/css/dashboard.css
+++ /dev/null
@@ -1,231 +0,0 @@
-div.dashboard-clear {
-    clear:both;
-    margin-top:5px;
-}
-
-div.dashboard-comp {
-    width: 300px;
-    margin: 5px;
-    float: left;
-    border:1px solid #6997b2;
-    background: #ffffff;
-    height: 300px;
-}
-.dashboard-comp-head{
-background-image:url( ../../admin/images/table-header.gif);
-background-position:left bottom;
-background-repeat:repeat-x;
-font-weight:normal;
-height:22px;
-line-height:22px;
-text-indent:5px;
-font-weight:bold;
-}
-.dashboard-comp-bottom{
-padding-left:5px;
-padding-top:5px;
-}
-.dashboard-comp-msg{
-color:#505050;
-padding:5px;
-}
-
-div.dashboard-comp-body {
-    overflow: auto;
-    max-height: 230px;
-}
-
-div.activity-comp-body {
-    overflow: auto;
-    max-height: 278px;
-}
-table.tips {
-	border-collapse: separate;
-	padding-bottom: 10px;
-	width: 90%;
-}
-table.tips tbody tr.tips-row {
-}
-tr.tips-row td {
-	border-bottom: solid 1px #ccc;
-}
-tr.tips-row td.tip-checkbox {
-	padding-left: 40px;
-	padding-top: 4px;
-	padding-bottom: 4px;
-    border-left: 0px;
-    border-right: 0px;
-    border-top: 0px;
-    vertical-align: top;
-    padding-right:12px !important;
-}
-tr.tips-row td.tip-img {
-	padding-left: 15px;
-	padding-top: 4px;
-	padding-bottom: 4px;
-    border-left: 0px;
-    border-right: 0px;
-    border-top: 0px;
-    vertical-align: top;
-    padding-right:12px !important;
-}
-tr.tips-row td.tip-img a img {
-	border: 0px;
-}
-tr.tips-row td.tip {
-	background-image: url(../images/aas-top.gif);
-	background-repeat: no-repeat;
-	background-position: left 7px;
-    margin: 0px;
-    padding-left: 0px;
-    padding-right: 15px;
-    padding-top: 20px;
-    padding-bottom: 0px;
-    /*border-bottom: 1px solid #aaa;*/
-    border-left: 0px;
-    border-right: 0px;
-    border-top: 0px;
-    vertical-align: top;
-}
-tr.tips-row td.tip img {
-	float: left;
-	margin-top: -20px;
-	margin-left: 17px;
-	margin-right: 12px;
-	margin-bottom: 20px;
-}
-tr.tips-row td.tip h2 {
-    background-color: transparent !important;
-	font-size: 125%;
-	line-height: 125%;
-	margin-top: 0px;
-	margin-bottom: 3px;
-    border:medium none !important;
-    margin-top:3px !important;
-    margin-left: 0px !important;
-    padding-left: 0px !important;
-}
-tr.tips-row td.tip h2 a {
-	font-size:14px;
-    text-decoration:underline;
-}
-tr.tips-row td.tip p {
-	padding-bottom: 15px;
-}
-tr.tips-row td.access {
-	padding-left: 30px;
-	padding-right: 30px;
-	vertical-align: middle;
-}
-tr.tips-row td.access a.go-button {
-	width: 63px;
-	height: 42px;
-	display: block;
-	background-color: #ccc;
-	font-size: 20px;
-	line-height: 40px;
-	font-weight: bold;
-	color: #000000;
-	text-decoration: none;
-	padding-left: 19px;
-	background-image: url(../images/go-button.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-tr.tips-row td.access span.inactive {
-	width: 63px;
-	height: 42px;
-	display: block;
-	background-color: #ccc;
-	font-size: 20px;
-	line-height: 40px;
-	font-weight: bold;
-	color: #999999;
-	text-decoration: none;
-	padding-left: 19px;
-	background-image: url(../images/inactive-go-button.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-tr.tips-row td.access a.go-button:hover {
-	color: #0084A9;
-}
-tr.tips-row td.powered {
-	padding-left: 10px;
-	padding-right: 20px;
-	text-align: right;
-	font-size: 12px;
-	line-height: 20px;
-	color: #666666;
-	vertical-align: middle;
-}
-.green-note {
-    color: #f00;
-}
-div#menu ul.main li a.menu-home {
-display:block !important;
-}
-/* service config buttons */
-td.access a.activate-button {
-	width: 98px;
-	height: 42px;
-	cursor: pointer;
-	display: block;
-	background-color: #ccc;
-	font-size: 15px;
-	line-height: 40px;
-	font-weight: normal;
-	color: #000000;
-	text-decoration: none;
-	padding-left: 47px;
-	background-image: url(../images/activate-button.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-td.access a.activate-button:hover {
-	color: #00853F;
-}
-td.access a.deactivate-button {
-	width: 103px;
-	height: 42px;
-	cursor: pointer;
-	display: block;
-	background-color: #ccc;
-	font-size: 15px;
-	line-height: 40px;
-	font-weight: normal;
-	color: #000000;
-	text-decoration: none;
-	padding-left: 42px;
-	background-image: url(../images/deactivate-button.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-td.access a.deactivate-button:hover {
-	color: #B5121B;
-}
-.home_tips{
-width:100%;
-}
-.home_tips td{
-border-bottom:solid 1px #ccc;
-padding-bottom:5px !important;
-padding-top:5px !important;
-}
-.home_tips td img{
-vertical-align:middle;
-
-}
-.home_tips td img.iconImage{
-margin-right:10px;
-
-}
-.linkToService{
-color:#0D4D79 !important;
-padding-left:10px !important;
-font-size:18px;
-text-decoration:underline !important;
-}
-.home_tips td.powered{
-text-align:right;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png
deleted file mode 100644
index 1386a9e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/images/dashboard.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
deleted file mode 100644
index b6350e4..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/docs/userguide.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<!--
- ~ 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.
- -->
-<html>
-<head>
-    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
-  <title>Cloud Services - User Guide</title>
-  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" />
-</head>
-
-<body>
-<p>[<a href="../../issue/viewAccounts.jsp">Issue Tracking</a>]
-            | [<a href="http://wso2.com/cloud/services/privacy-policy">Privacy Policy</a>] | [<a href="http://wso2.com/cloud/services/terms-of-use/">Terms of Use</a>]
-        </p>
-
-<h2><a href="http://wso2.com/cloud/stratos/">Cloud Services Home</a> </h1>
-
-<p>
-Cloud Services Home page provides an interface to access the services of the SOA platform of your organization. Stratos provides a web-based console for provisioning new tenants on the platform, allowing self-service provisioning of any WSO2 Carbon product, and running elastically on your choice of underlying virtualization infrastructure to provide all the PaaS benefits inherent to a cloud-native platform. A list of the services available under WSO2 Stratos for the tenant can be found in the cloud services home.
-</p>
-
-<img src="../../tenant-dashboard/docs/images/dashboard.png"/>
-<p>Figure1: Cloud Services Home Page</p>
-</body>
-
-<h3><a href="http://wso2.com/products/application-server/">Application Server</a></h3>
-<p>
-The WSO2 Application Server is an open source, enterprise-ready, Web services engine based on Apache Axis2. Bringing together a number of Apache Web services projects, WSO2 Application Server provides a secure, transactional and reliable runtime to create, consume, deploy and manage Web services for your SOA. 
-</p>
-
-<h3><a href="http://wso2.com/products/data-services-server/">Data Services Server</a></h3>
-<p>
-The WSO2 Data Services Server, data service tier assures ready access to enterprise data scattered across heterogeneous data sources in a unified manner. Due to the single data layer, benefits of optimizations and availability of more processing power will be visible to every service consumer. Access to real time data provides more accurate, up-to-date information for applications. Further this single interface to enterprise data can greatly help in preserving integrity of frequently modified data. 
-</p>
-
-<h3><a href="http://wso2.com/products/mashup-server/">Mashup Server</a></h3>
-<p>
-The WSO2 Mashup Server provides a platform for rapidly deploying Web service Mashups. Combining simple yet rich mashups with reusability, security, reliability and governance, the WSO2 Mashup Server offers enterprise-class service composition.  
-</p>
-
-<h3><a href="http://wso2.com/products/identity-server/">Identity Server</a></h3>
-<p>
-The WSO2 Identity Server is an open source identity and entitlement management server. It supports Information Cards and OpenID for authentication as well as XACML for fine grained authorization. Providing a complete enterprise ready identity solution, it integrates easily into existing user stores such as LDAP or Active Directory and supports multi-factor authentication and much more. The WSO2 Identity Server helps you build secured SOA in a few very easy steps.
-</p>
-
-<h3><a href="http://wso2.com/products/governance-registry/">Governance Registry</a></h3>
-<p>
-The WSO2 Governance Registry addresses both design-time and runtime governance scenarios, to ensure compliance with corporate standards. It allows enterprise architects and developers to always keep track of the services being created and used within an SOA. 
-</p>
-
-<h3><a href="http://wso2.com/products/gadget-server/">Gadget Server</a></h3>
-<p>
-With the WSO2 Gadget Server, you can offer your execs, employees, partners, or customers a way to get all the information in one place that they need. Each user's dashboard is individualized, allowing him/her to add, customize, and rearrange gadgets, as well as group them into tab sets. The open "Web" model means users can select gadgets not only from your enterprise, but also from Google and many others.
-</p>
-
-<h3><a href="http://wso2.com/products/business-activity-monitor/">Business Activity Monitor</a></h3>
-<p>
-The WSO2 Business Activity Monitor (WSO2 BAM) serves the needs of both business and IT domain experts to monitor and understand business activities within an SOA deployment. While specifically designed to monitor SOA deployments, it can be extended to cater to other general monitoring requirements as well. 
-</p>
-
-<h3><a href="http://wso2.com/products/business-process-server/">Business Process Server</a></h3>
-<p>
-The WSO2 Business Process Server is an easy-to-use open source business process server that executes business processes written using the WS-BPEL standard. Powered by Apache ODE, it provides a complete Web-based graphical console to deploy, manage and view processes in addition to managing and viewing process instances
-</p>
-
-<h3><a href="http://wso2.com/products/business-rules-server/">Business Rules Server</a></h3>
-<p>
-The WSO2 Business Rules Server brings the agility of business rules to your Service Oriented Architecture toolkit. Based on a solid platform for hosting business rules, our BRS excels at extending the capabilities of your SOA. 
-</p>
-
-<h3><a href="http://wso2.com/products/enterprise-service-bus/">Enterprise Service Bus</a></h3>
-<p>
-The WSO2 Enterprise Service Bus offers a lean approach to create a Service Oriented Architecture by adding monitoring, management, and virtualization to your existing service interactions. Its innovative design leads it to be one of the highest performance, lowest footprint, and widest interoperability integration systems available.
-</p>
-
-<h3><a href="http://wso2.com/products/message-broker/">Message Broker</a></h3>
-<p>
-The WSO2 Message Broker brings messaging and eventing capabilities into your Service Oriented Architecture. Extending the WSO2 Carbon platform to support event driven architectures, WSO2 Message Broker is powered by Apache Qpid, one of the leading Advanced Message Queuing Protocol (AMQP) messaging engines available today. 
-</p>
-
-<h3><a href="http://wso2.com/products/complex-event-processing-server/">Complex Event Processing Server</a></h3>
-<p>
-The WSO2 Complex Event Processing Server enables you to intelligently single out events with predefined properties and even manage and combine them in a manner that allows for real time analysis and a rapid response to whatever threat or opportunity that enterprises face.
-</p>
-
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif
deleted file mode 100644
index 2154397..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Cloud-Gateway-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif
deleted file mode 100644
index 3ee3303..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Storage-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif
deleted file mode 100644
index 55e4751..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Application-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif
deleted file mode 100644
index f8b6a74..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Activity-Monitor-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif
deleted file mode 100644
index 5dd2171..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Process-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif
deleted file mode 100644
index ccba887..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Business-Rules-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif
deleted file mode 100644
index e69aaa6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Cloud-Services-Gateway-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif
deleted file mode 100644
index b80554a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Complex-Event-Processing-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif
deleted file mode 100644
index f70a205..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Data-Services-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif
deleted file mode 100644
index 95cb5b3..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Enterprise-Service-Bus-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif
deleted file mode 100644
index 8e89ef5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Gadget-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif
deleted file mode 100644
index af1ac45..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Governance-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif
deleted file mode 100644
index a2447bc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Identity-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif
deleted file mode 100644
index f8ed9be..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Mashup-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif
deleted file mode 100644
index aa5c5ba..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Stratos-Message-Broker-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif
deleted file mode 100644
index 5fa3679..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/WSO2-Tasks-Server-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif
deleted file mode 100644
index a15dd8f..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/aas-top.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif
deleted file mode 100644
index 91e4c94..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/activate-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif
deleted file mode 100644
index 55e4751..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/appserver-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif
deleted file mode 100644
index f8b6a74..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bam-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif
deleted file mode 100644
index 5dd2171..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/bps-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif
deleted file mode 100644
index ccba887..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/brs-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif
deleted file mode 100644
index b80554a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/cep_logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif
deleted file mode 100644
index e69aaa6..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/csg-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif
deleted file mode 100644
index c8d1b4a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/deactivate-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif
deleted file mode 100644
index f70a205..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/ds-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif
deleted file mode 100644
index 95cb5b3..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/esb-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif
deleted file mode 100644
index 8e89ef5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/gadget-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif
deleted file mode 100644
index ae73e92..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/go-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif
deleted file mode 100644
index af1ac45..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/governance-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif
deleted file mode 100644
index a2447bc..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/identity-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif
deleted file mode 100644
index 513301e..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/inactive-go-button.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif
deleted file mode 100644
index f8ed9be..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mashup-logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif
deleted file mode 100644
index aa5c5ba..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/mb_logo.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif
deleted file mode 100644
index 499b6a2..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/images/service-configuration.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp b/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
deleted file mode 100644
index c2b3936..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/dashboard/src/main/resources/web/tenant-dashboard/index.jsp
+++ /dev/null
@@ -1,243 +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.
--->
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.clients.CloudManagerServiceClient" %>
-<%@ page import="org.wso2.carbon.stratos.manager.dashboard.stub.xsd.CloudService" %>
-<%@ page import="org.wso2.carbon.registry.core.exceptions.RegistryException" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %>
-<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
-<%@ page import="org.wso2.carbon.account.mgt.ui.clients.AccountMgtClient" %>
-<%@ page import="org.wso2.carbon.utils.multitenancy.MultitenantConstants" %>
-<%@ page import="org.wso2.stratos.manager.dashboard.ui.utils.Util" %>
-
-<jsp:include page="../registry_common/registry_common-i18n-ajaxprocessor.jsp"/>
-<script type="text/javascript" src="../registry_common/js/registry_validation.js"></script>
-<script type="text/javascript" src="../registry_common/js/registry_common.js"></script>
-<script type="text/javascript" src="../tenant-dashboard/js/dashboard.js"></script>
-<link href="../tenant-dashboard/css/dashboard.css" rel="stylesheet" type="text/css" media="all"/>
-<script type="text/javascript" src="../tenant-dashboard/js/configurations.js"></script>
-
-
-
-<%
-
-    CloudManagerServiceClient cloudManagerClient;
-    CloudService[] cloudServices = null;
-    String error = "Error in getting the available and active service details.";
-    try {
-        cloudManagerClient = new CloudManagerServiceClient(request, config, session);
-        cloudServices = cloudManagerClient.retrieveCloudServiceInfo();
-    } catch (Exception e) {
-        request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, CarbonUIMessage.ERROR, e));
-%>
-<jsp:include page="../admin/error.jsp"/>
-<%
-        return;
-    }
-%>
-<fmt:bundle basename="org.wso2.stratos.manager.dashboard.ui.i18n.Resources">
-    <carbon:jsi18n
-            resourceBundle="org.wso2.stratos.manager.dashboard.ui.i18n.JSResources"
-            request="<%=request%>" namespace="org.wso2.stratos.manager.dashboard.ui"/>
-
-    <div id="middle">
-        <h2><fmt:message key="cloud.services"/></h2>
-        <%
-            try {
-                // if the account management permission there, we are showing the message to validate email address
-                if (CarbonUIUtil.isUserAuthorized(request, "/permission/admin/configure/account")) {
-                    try {
-                        AccountMgtClient client = new AccountMgtClient(config, session);
-                        boolean isEmailValidated = client.isEmailValidated();
-
-                        if (!isEmailValidated) {
-        %>
-
-        <div class="green-note">Your organization has not validated the contact email address
-            yet. Please validate it following
-            the instructions in the <a href="../account-mgt/account_mgt.jsp">Account
-                Management</a> page (Accessible from Configure-&gt;Account menu).
-        </div>
-        <%
-            }else{
-			%>
-			<div class="green-note"></div>
-			<%
-			}
-        } catch (Exception e) {
-            request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, error, null));
-        %>
-        <jsp:include page="../admin/error.jsp?<%=error%>"/>
-        <%
-                    return;
-                }
-            }
-            String tenantDomain;
-            if (session.getAttribute(MultitenantConstants.TENANT_DOMAIN) != null) {
-                tenantDomain = (String) session.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-            } else {
-                // user is not logged in or just logged out, but still they are inside url own to the domain
-                tenantDomain = (String) request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
-            }
-            String linkSuffix = "";
-            if (tenantDomain != null) {
-                linkSuffix = "/" + MultitenantConstants.TENANT_AWARE_URL_PREFIX + "/" + tenantDomain;
-            }
-            %> <script type="text/javascript">
-            linkSuffix = '<%=linkSuffix%>';
-           </script> <%
-	  
-            for (CloudService cloudService : cloudServices) {
-                String name = cloudService.getName();
-                String projectPageUrl = cloudService.getProductPageURL();
-                String link = cloudService.getLink() + linkSuffix;
-                if (name.equals("WSO2 Stratos Application Server")) {
-        %>
-        <script type="text/javascript">
-            asUrl = '<%=link%>';
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Enterprise Service Bus")) {
-
-        %>
-        <script type="text/javascript">
-            esbUrl = '<%=link%>';
-        </script>
-        <%
-
-        } else if (name.equals("WSO2 Stratos Data Services Server")) {
-        %>
-        <script type="text/javascript">
-            dssUrl = '<%=link%>';
-
-        </script>
-        <%
-
-        } else if (name.equals("WSO2 Stratos Governance")) {
-
-        %>
-        <script type="text/javascript">
-            gregUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Identity")) {
-        %>
-        <script type="text/javascript">
-            isUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Business Process Server")) {
-        %>
-        <script type="text/javascript">
-            bpsUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Business Rules Server")) {
-        %>
-        <script type="text/javascript">
-            brsUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Mashup Server")) {
-        %>
-        <script type="text/javascript">
-            msUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Gadget Server")) {
-        %>
-        <script type="text/javascript">
-            gsUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Complex Event Processing Server")) {
-        %>
-        <script type="text/javascript">
-            cepUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Message Broker")) {
-        %>
-        <script type="text/javascript">
-            mbUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Business Activity Monitor")) {
-        %>
-        <script type="text/javascript">
-            bamUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else if (name.equals("WSO2 Stratos Cloud Gateway")) {
-        %>
-        <script type="text/javascript">
-            csgUrl = '<%=link%>';
-
-        </script>
-        <%
-        } else {
-        %>
-        <script type="text/javascript">
-            managerUrl = '<%=link%>';
-        </script>
-        <%
-                }
-            }
-        } catch (Exception e) {
-            request.setAttribute(CarbonUIMessage.ID, new CarbonUIMessage(error, error, null));
-        %>
-        <jsp:include page="../admin/error.jsp?<%=error%>"/>
-        <%
-                return;
-            }
-
-        %>
-
-        <div id="workArea">
-
-
-            <div id="dashboard">
-
-            </div>
-
-            <script type="text/javascript">
-
-                jQuery(document).ready(function() {
-                    jQuery('#dashboard').load('../../../../features-dashboard/tenant-dashboard/index.jsp');
-                });
-
-                var menuPanel = document.getElementById('menu-panel');
-                var menuSlider0 = document.getElementById('menu-panel-button0');
-                jQuery(menuPanel).hide();
-                jQuery(menuSlider0).removeClass('showToHidden');
-                jQuery(menuSlider0).addClass('hiddenToShow');
-                document.cookie = "menuPanel=none;path=/;expires=" + cookie_date.toGMTString();
-            </script>
-        </div>
-    </div>
-</fmt:bundle>


[38/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery-1.5.1.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery-1.5.1.min.js b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery-1.5.1.min.js
deleted file mode 100755
index e8a831a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery-1.5.1.min.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.5.1
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Wed Feb 23 13:55:29 2011 -0500
- */
-(function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No con
 version from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bP(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bO(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bq.test(a)?e(a,f):bO(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bO(a+"["+f+"]",b[f],c,e)}function bN(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bH,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bN(a,c,d,e,l,g)));(k||!l)&&!g["*"
 ]&&(l=bN(a,c,d,e,"*",g));return l}function bM(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bB),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bo(a,b,c){var e=b==="width"?bi:bj,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function ba(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function _(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function jQuery(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerH
 TML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});i
 f(J.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(r,"`").replace(s,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|jQuery)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(p,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,ha
 ndleObj:g,level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function w(){return!0}function v(){return!1}function g(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d
 .fn.init(a,b,g)},e=a.jQuery,f=a.jQuery,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery
 ?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.select
 or=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[
 c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.jQuery=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},typ
 e:function(a){return a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.doc
 umentElement,e=c.createElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="
 number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g
 ],j=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}catch(g){throw g}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}var c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments.length,c=b<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),e=c.promise();if(b>1){var f=E.call(arguments,0),g=b,h=function(a){return function(b){f[a]=argume
 nts.length>1?E.call(arguments,0):b,--g||c.resolveWith(e,f)}};while(b--)a=f[b],a&&d.isFunction(a.promise)?a.promise().then(h(b),c.reject):--g;g||c.resolveWith(e,f)}else c!==a&&c.resolve(a);return e},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b
 ,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",o
 ptSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e),b=e=f=null}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClo
 ne=m.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="funct
 ion"),b=null;return d};d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!g(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,h=b.nodeType,i=h?d.cache:b,j=h?b[d.expando]:d.expa
 ndo;if(!i[j])return;if(c){var k=e?i[j][f]:i[j];if(k){delete k[c];if(!g(k))return}}if(e){delete i[j][f];if(!g(i[j]))return}var l=i[j][f];d.support.deleteExpando||i!=a?delete i[j]:i[j]=null,l?(i[j]={},h||(i[j].toJSON=d.noop),i[j][f]=l):h&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d
 .data(this[0],a),e=f(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]
 ||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var h=/[\n\t\r]/g,i=/\s+/,j=/\r/g,k=/^(?:href|src|style)$/,l=/^(?:button|input)$/i,m=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,o=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(i);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g="
  "+f.className+" ",h=f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(h+=" "+b[j]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(i);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var j=(" "+g.className+" ").replace(h," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");g.className=d.trim(j)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),j=b,k=a.split(i);while(f=k[g++])j=e?j:!h.hasClass(f),h[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__
 className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(h," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var k=i?f:0,l=i?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(o.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(j,"")}return b}var n=d.isFunction(a);return this.each(function(b){var 
 c=d(this),e=a;if(this.nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&o.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=k.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&l.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?
 a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:m.test(a.nodeName)||n.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var p=/\.(.*)$/,q=/^(?:textarea|input|select)$/i,r=/\./g,s=/ /g,t=/[^\w\s.|`]/g,u=function(a){return a.replace(t,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=v;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l=
 {}),m||(k.handle=m=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")
 <0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var w=s.handle;w&&(w.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.eve
 nts&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(p,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.sl
 ice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.p
 arentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunloa
 d=null)}}}},d.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{if(b!==c&&!b.parentNode)r
 eturn;while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&C("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&C("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.t
 ype,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(q.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")r
 eturn!1;for(var c in z)d.event.add(this,c+".specialChange",z[c]);return q.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return q.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.le
 ngth;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.conte
 xt);if(typeof a==="object"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=p.exec(h),k="",j&&(k=j[0],h=h.replace(p,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.
 sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],
 d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}re
 turn a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.rep
 lace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",
 d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e
 ++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d
 ,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){r
 eturn"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType
 ===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){
 return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(
 j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeCh
 ild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p(
 [e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(d||!l.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return k(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerH
 TML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.
 text=k.getText,d.isXMLDoc=k.isXML,d.contains=k.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j
 )h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth
 (a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e
 )))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a)
 )return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function
 (a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.get
 ElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(thi
 s).remove(),b?d(b).before(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,ba)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[
 0].charAt(0)==="<"&&!V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){$(a,e),f=_(a),g=_(e);for(h=0;f[h];++h)$(f[h],g[h])}if(b){Z(a,e);if(c){f=_(a),g=_(e);for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||
 c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.make
 Array(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bb=/alpha\([^)]*\)/i,bc=/opacity=([^)]*)/,bd=/-([a-z])/ig,be=/([A-Z])/g,bf=/^-?\d+(?:px)?$/i,bg=/^-?\d/,bh={position:"absolute",visibility:"hidden",display:"block"},bi=["Left","Right"],bj=["Top","Bottom"],bk,bl,bm,bn=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cs
 sHooks:{opacity:{get:function(a,b){if(b){var c=bk(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bk)return bk(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bd,bn)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHoo
 ks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bo(a,b,e):d.swap(a,bh,function(){f=bo(a,b,e)});if(f<=0){f=bk(a,b,b),f==="0px"&&bm&&(f=bm(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bf.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bb.test(f)?f.replace(bb,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bl=function(a,c,e){var f,g,h;e=e.replace(be,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.styl
 e(a,e));return f}),c.documentElement.currentStyle&&(bm=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bf.test(d)&&bg.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bk=bl||bm,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bp=/%20/g,bq=/\[\]$/,br=/\r?\n/g,bs=/#.*$/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bu=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bv=/(?:^file|^widget|\-extension):$/,bw=/^(?:GET|HEAD)$/,bx=/^\/\//,by=/\?/,bz=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bA=/^(?:select|textarea)/i,bB=/\s+/,bC=/([?&])_=[^
 &]*/,bD=/(^|\-)([a-z])/g,bE=function(a,b,c){return b+c.toUpperCase()},bF=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,bG=d.fn.load,bH={},bI={},bJ,bK;try{bJ=c.location.href}catch(bL){bJ=c.createElement("a"),bJ.href="",bJ=bJ.href}bK=bF.exec(bJ.toLowerCase()),d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bG)return bG.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bz,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.nam
 e&&!this.disabled&&(this.checked||bA.test(this.nodeName)||bu.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(br,"\r\n")}}):{name:b.name,value:c.replace(br,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bJ,isLocal:bv.test(bK[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded
 ",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bM(bH),ajaxTransport:bM(bI),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bP(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bQ(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigge
 r("ajaxComplete",[u,e]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bD,bE)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bt.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bs,"").replace(bx,bK[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bB),e
 .crossDomain||(q=bF.exec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bK[1]||q[2]!=bK[2]||(q[3]||(q[1]==="http:"?80:443))!=(bK[3]||(bK[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bN(bH,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!bw.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(by.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bC,"$1_="+w);e.url=x+(x===e.url?(by.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);i
 f(e.beforeSend&&(e.beforeSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bN(bI,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bO(g,a[g],c,f);return e.join("&").replace(bp,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bR=d.now(),bS=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bR++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.js
 onp!=null||b.jsonp!==!1&&(bS.test(b.url)||f&&bS.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bS,l),b.url===j&&(f&&(k=k.replace(bS,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentE
 lement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bT=d.now(),bU,bV;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bX()||bY()}:bX,bV=d.ajaxSettings.xhr(),d.support.ajax=!!bV,d.support.cors=bV&&"withCredentials"in bV,bV=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),(!a.crossDomain||a.hasContent)&&!e["X-Requested-With"]&&(e["X-Requ
 ested-With"]="XMLHttpRequest");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bU[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bU||(bU={},bW()),h=bT++,g.onreadystatechange=bU[h]=c):c()},abort:function(){c&&c(0,1)}}}});var bZ={},b$=/^(?:toggle|show|hide)$/,b_=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ca,cb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(cc("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=thi
 s[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cd(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cc("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(cc("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);i
 f(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cd(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(b$.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=b_.exec(e),j=f.cur();if(i){var k=parseFloat(i[2])
 ,l=i[3]||(d.cssNumber[c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:cc("show",1),slideUp:cc("hide",1),slideToggle:cc("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.
 call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!ca&&(ca=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(t
 his.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"line
 ar");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(ca),ca=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var ce=/^t(?:able|d|h)$/i,cf=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset
 .bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=cg(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l
 +=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!ce.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td>
 </tr></table>";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.styl
 e.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=cf.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!cf.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.
 fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=cg(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=cg(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.do
 cumentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);
\ No newline at end of file


[14/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/features-dashboard.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/features-dashboard.xml b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/features-dashboard.xml
deleted file mode 100755
index 3041414..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/features-dashboard.xml
+++ /dev/null
@@ -1,762 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<data>
-	<service name="Cloud Services" link="https://cloud.wso2.com"
-		key="manager">
-		<story title="Billing">
-			<story-content>Billing is the process where the cloud computing
-				service subscribers are charged
-				based on the metered data. Billing
-				usually happens on a monthly basis.
-				Billing uses
-				pricing rates defined
-				against usage plans and compute the invoice against
-				the usage
-				data.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tenant-billing/past_invoice.jsp"> Billing...</link>
-				<link url="/carbon/tenant-billing/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Metering">
-			<story-content>Metering measures levels of resource utilization, such
-				as network bandwidth usage and
-				data storage volume, consumed by the
-				cloud services subscribers, aka
-				tenants.
-				Resource utilization's
-				(bandwidth and storage usage) are measured on the fly
-				and the
-				measured data is stored for summarizing and analyzing.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tenant-usage/tenant_usage.jsp">Go to Metering....</link>
-				<link url="/carbon/tenant-usage/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Account Management">
-			<story-content>Account management allows a tenant to update and
-				validate contact information,
-				update the usage plan, validate the
-				account and even de-activate the
-				account .</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Manage account...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Users and Roles">
-			<story-content>You can add users and define your own roles for a
-				tenant. The permission model is
-				role based. So a tenant admin can
-				define what actions a role can perform
-				by
-				configuring permissions for
-				that role.</story-content>
-			<story-links>
-				<link url="/carbon/account-mgt/account_mgt.jsp">Manage
-					users/roles...</link>
-				<link url="/carbon/account-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="MT-Logging">
-			<story-content>Flexible logging support with integration to
-				enterprise logging systems. This facilitate to monitor your system
-				and application logs through a log viewer.</story-content>
-			<story-links>
-				<link url="/carbon/log-view/index.jsp">Go to Log Viewer....</link>
-				<link url="/carbon/log-view/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Usage Metering and Throttling">
-			<story-content>&lt;a
-				href="http://wso2.org/library/articles/2011/09/usage-metering-throttling-cloud-computing"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/usage_metering_and_throttling.jpg"
-				alt=""/&gt;</story-content>
-		</story>
-		<story title="How WSO2 StratosLive meets Security Challenges in Cloud">
-			<story-content> &lt;a
-				href="http://wso2.org/library/articles/2011/08/wso2-stratoslive-meets-security-challenges-cloud"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/tenant_isolation.png"
-				alt=""/&gt;&lt;/a&gt; </story-content>
-		</story>
-	</service>
-	<service name="WSO2 Enterprise Service Bus" link="https://esb.cloud.wso2.com"
-		key="esb">
-		<story title="Proxy Service">
-			<story-content> Proxy services facilitate location transparency and
-				provides the means for the
-				integration between various other
-				services, on different formats
-			</story-content>
-			<story-links>
-				<link url="/carbon/proxyservices/templates.jsp">Got to services...</link>
-				<link url="/carbon/proxyservices/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Sequence">
-			<story-content>Sequence is a collection of mediators attached to
-				perform a given mediation flow in an
-				integration.
-			</story-content>
-			<story-links>
-				<link url="/carbon/sequences/list_sequences.jsp">Go to Web Applications...</link>
-				<link url="/carbon/sequences/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Endpoint">
-			<story-content>Endpoints represent the third party services or other
-				endpoints the ESB is talking to,
-				this configuration allows you to
-				record a set of meta data about the
-				external endpoint
-				apart from it's
-				EPR
-			</story-content>
-			<story-links>
-				<link url="/carbon/endpoints/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/endpoints/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Scheduled Tasks">
-			<story-content>Job scheduling facility in the ESB with quartz
-				scheduler, helping several tasks to be
-				initiated and scheduled by the
-				ESB.</story-content>
-			<story-links>
-				<link url="/carbon/task/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/task/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Store &amp; Forward">
-			<story-content>Message Stores and Processors can be used to persist
-				messages to queues and then process
-				preserving SLAs.</story-content>
-			<story-links>
-				<link url="/carbon/message_processor/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/message_processor/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Priority Execution">
-			<story-content>Ability to categorize mediation flows with a priority
-				allowing certain messages or
-				mediation paths to get a high priority
-				with compared to other messages or
-				paths.</story-content>
-			<story-links>
-				<link url="/carbon/executors/list_executors.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/executors/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Application Services" link="https://appserver.cloud.wso2.com"
-		key="as">
-		<story title="Service Hosting">
-			<story-content>Different types of Web Services such as Axis2
-				Services, JAXWS Services, Jar Services
-				or Spring Services can be
-				deployed in Application Server. All
-				configurations such as
-				QoS can be
-				easily configured here.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Web Applications">
-			<story-content>Web Application hosting features in AppServer
-				supports
-				deployment of Tomcat
-				compliant Webapps. Deployed Webapps can be
-				easily managed using the Webapp
-				management facilities available in
-				the management console.
-			</story-content>
-			<story-links>
-				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
-				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Tracing">
-			<story-content>Trace the request and responses to your service.
-				Message Tracing is a vital
-				debugging tool when you have clients from
-				heterogeneous platforms.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="WSDL2Java Tool">
-			<story-content>Use WSDL2Java tool in Web Application Server to
-				convert Web Service WSDL to a set of
-				Java objects.</story-content>
-			<story-links>
-				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Java2WSDL Tool">
-			<story-content>Use Java2WSDL tool in Web Application Server make it
-				easy to develop a new web service.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Data Services" link="https://dss.cloud.wso2.com"
-		key="dss">
-		<story title="Data Service Hosting">
-			<story-content>Data Web Services can be deployed in Data Services
-				Server. All configurations such as
-				QoS can be easily configured here.
-			</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Data as a Service">
-			<story-content>Create your databases on the cloud, and acess those as
-				you would do with regular
-				databases.</story-content>
-			<story-links>
-				<link url="/carbon/ds/scriptAddSource.jsp">Go to data sources...</link>
-				<link url="/carbon/ds/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service Testing">
-			<story-content>Tryit tool can be used as a simple Web Service client
-				which can be used to try your
-				services within AppServer itself.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tryit/index.jsp">Go
-					to Service Testing...</link>
-				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Tracing">
-			<story-content>Trace the request and responses to your service.
-				Message Tracing is a vital
-				debugging tool when you have clients from
-				heterogeneous platforms.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message
-					Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="DB Explorer">
-			<story-content>Explore your databases using the explorer tool on
-				the cloud.</story-content>
-			<story-links>
-				<link url="/carbon/adminconsole/databases.jsp">Go to DB
-					Explorer Tool...</link>
-				<link url="/carbon/adminconsole/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Relational Storage Solutions on Cloud">
-			<story-content>&lt;a
-				href="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive"&gt;&lt;img
-				src="../../../../features-dashboard/dashboards/images/configure_db.png"
-				alt=""/&gt;&lt;/a&gt;</story-content>
-			<story-links>
-				<link
-					url="http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive">Read
-					online...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Governance Services" link="https://governance.cloud.wso2.com"
-		key="greg">
-		<story title="Service">
-			<story-content>Service is the basic entity of your SOA platform. You
-				can manage service metadata and
-				the service lifecycle as well as
-				maintain multiple versions of a given
-				service, and much
-				more.
-			</story-content>
-			<story-links>
-				<link url="/carbon/services/services.jsp">Got to services...</link>
-				<link url="/carbon/services/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="WSDL">
-			<story-content>WSDL defines the interface of a web service. You can
-				store, validate and manage WSDLs
-				with ease, keeping track of
-				dependencies and associations such as
-				services, schema and
-				policies.
-			</story-content>
-			<story-links>
-				<link url="/carbon/wsdl/wsdl.jsp">Go to WSDL</link>
-				<link url="/carbon/wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Schema">
-			<story-content>XML Schema defines data types in a WSDL. As in the
-				case of WSDLs, you can keep
-				associations of schema which helps in the
-				impact analysis process, when
-				maintaining the
-				data models associated
-				with your SOA.</story-content>
-			<story-links>
-				<link url="/carbon/schema/schema.jsp">Go to Schema...</link>
-				<link url="/carbon/schema/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Policy">
-			<story-content>Policies help standardize SOA behaviour. You can keep
-				track of the policies bound to a
-				service. It also supports policy
-				enforcement to control how SOA behaves as
-				desired by
-				both IT and
-				business personnel.</story-content>
-			<story-links>
-				<link url="/carbon/policy/policy.jsp">Go to Policy..</link>
-				<link url="/carbon/policy/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Search">
-			<story-content>The repository can store any arbitrary type of
-				resource. You can search for resources by
-				name, author, time created
-				or updated. You also can search for resources
-				by media type.
-			</story-content>
-			<story-links>
-				<link url="/carbon/search/advancedSearch.jsp">Go to Search...</link>
-				<link url="/carbon/search/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Activities">
-			<story-content>An activity log provide an invaluable insight to what
-				operations took place on the
-				repository. You can browse activities
-				while filtering them by date range, user
-				name, or
-				activity type.
-			</story-content>
-			<story-links>
-				<link url="/carbon/activities/activity.jsp">Go to Activities...</link>
-				<link url="/carbon/activities/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Notifications">
-			<story-content>The registry generates events when changes are made to
-				a particular resource or
-				collection. You can subscribe to these
-				events via e-mail, or forward them to a
-				web
-				service via SOAP or REST.
-			</story-content>
-			<story-links>
-				<link url="/carbon/notifications/notifications.jsp">Go to Notifications...</link>
-				<link url="/carbon/notifications/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Extensions">
-			<story-content>While we address most governance and registry related
-				scenarios out-of-the-box, you also
-				can upload your own extensions
-				that is capable of extending the basic
-				functionality of
-				the product
-			</story-content>
-			<story-links>
-				<link url="/carbon/extensions/add_extensions.jsp">Go to Activities...</link>
-				<link url="/carbon/extensions/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Identity Services" link="https://governance.cloud.wso2.com"
-		key="is">
-		<story title="User Profile">
-			<story-content>Update your user profile or add multiple user
-				profiles.The value from your profile will
-				be used to populate your
-				Information card and OpenID profiles.
-			</story-content>
-			<story-links>
-				<link url="/carbon/userprofile/index.jsp">Got to User Profile...</link>
-				<link url="/carbon/userprofile/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="OpenID">
-			<story-content>This OpenID can be used with any OpenID relying party
-				which trusts your domain for
-				login.</story-content>
-			<story-links>
-				<link url="/carbon/identity-provider/index.jsp">Go to OpenID...</link>
-				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Information Card">
-			<story-content>This card can be used with any identity selector that
-				supports Microsoft CardSpace
-				specifications and will allow you to
-				login to web applications that support
-				information
-				card logins.
-			</story-content>
-			<story-links>
-				<link url="/carbon/identity-provider/index.jsp">Go to Information Card...</link>
-				<link url="/carbon/identity-provider/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="SAML 2.0 Single Sign-On">
-			<story-content>Use WSO2 Identity Server for Single Sign-on
-				configuration. Service Providers can be
-				added and removed.
-			</story-content>
-			<story-links>
-				<link url="/carbon/sso-saml/manage_service_providers.jsp">Go to SAML 2.0 Single Sign-On..</link>
-				<link url="/carbon/sso-saml/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Multifactor Authentication">
-			<story-content>Use WSO2 Identity Server to Enable XMPP based
-				multi-factor authentication.</story-content>
-			<story-links>
-				<link url="/carbon/multi-factor/xmpp-config.jsp">Go to Multifactor Authentication...</link>
-				<link url="/carbon/multi-factor/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Users and Roles">
-			<story-content>WSO2 Identity Server enables you to manage users and
-				roles in your system.</story-content>
-			<story-links>
-				<link url="/carbon/userstore/index.jsp">Go to Users and Roles...</link>
-				<link url="/carbon/userstore/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Relying Parties">
-			<story-content>Manage your Relying Parties with WSO2 Identity Server.
-			</story-content>
-			<story-links>
-				<link url="/carbon/identity-trusted-relying-parties/add-trusted-rp.jsp">Go to Relying Parties...</link>
-				<link url="/carbon/identity-trusted-relying-parties/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Key Stores">
-			<story-content>Manage your Key Stores with WSO2 Identity Server
-			</story-content>
-			<story-links>
-				<link url="/carbon/keystoremgt/keystore-mgt.jsp">Go to Activities...</link>
-				<link url="/carbon/keystoremgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Activity Monitor" link="https://bam.cloud.wso2.com"
-		key="bam">
-		<story title="Real Time Mediation Monitoring">
-			<story-content>Monitor proxy services, endpoints and sequences and
-				their operations in real time. The
-				results gathered from the
-				real-time monitoring are presented in a clear and
-				easy-to-view
-				format.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Mediation Analysis">
-			<story-content>Analyze the historical mediation trends over time with
-				the help of visualization
-				framework.</story-content>
-			<story-links>
-				<link url="/carbon/webapp-mgt/upload.jsp">Go to Web Applications...</link>
-				<link url="/carbon/webapp-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Summary Generation">
-			<story-content>Generate a summarised view of collected statistics and
-				write gadgets to display these
-				summarised data.</story-content>
-			<story-links>
-				<link url="/carbon/tracer/index.jsp">Go to Message Tracing...</link>
-				<link url="/carbon/tracer/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service Invocation Analysis">
-			<story-content>rite gadgets to consume service statistics and present
-				to end user. Dashboard
-				support
-				Google Gadget specification.
-			</story-content>
-			<story-links>
-				<link url="/carbon/wsdl2code/index.jsp">Go to WSDL2Java Tool..</link>
-				<link url="/carbon/wsdl2code/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Dashboard">
-			<story-content>Monitor and correlate related business activities
-				across multiple server instances.
-				These activities can be used to
-				track and verify the smooth execution of
-				business.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Activity Correlation &amp; Monitoring">
-			<story-content>Monitor and correlate related business activities
-				across multiple server instances.
-				These activities can be used to
-				track and verify the smooth execution of
-				business.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message Collection &amp; Archival">
-			<story-content>>Collect messages coming into your SOA, analyze and
-				archive for future retrieval.</story-content>
-			<story-links>
-				<link url="/carbon/java2wsdl/index.jsp">Go to Java2WSDL Tool...</link>
-				<link url="/carbon/java2wsdl/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Business Process Services" link="https://bps.cloud.wso2.com"
-		key="bps">
-		<story title="WS-BPEL 2.0 &amp; BPELWS 1.1">
-			<story-content>WSO2 BPS supports both WS-BPEL 2.0 and BPEL4WS 1.1
-				standards. It also includes WSO2 BPS
-				specific extensions to enhance
-				the features provide by WS-BPEL.
-			</story-content>
-			<story-links>
-				<link url="">Got to Business Process Services...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Instance Data Cleanup">
-			<story-content>Allows multiple levels of instance data cleanup which
-				are accumulated during process
-				instance lifetime. XPath extensions,
-				Iteratable ForEach, Flexible Assigns,
-				XQuery 1.0 support and various
-				other extensions to BPEL language.</story-content>
-			<story-links>
-				<link url="">Go to OpenID...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="BPEL Extensions">
-			<story-content>Hot update BPEL processes and allows you to maintain
-				multiple versions of processes.</story-content>
-			<story-links>
-				<link url="">Go to Information Card...</link>
-				<link url="/carbon/admin/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="WSO2 Business Rule Server" link="https://brs.cloud.wso2.com"
-		key="brs">
-		<story title="Service Hosting Support">
-			<story-content>Service Hosting feature in Business Rules Server
-				enables deployment of Rule Services.</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Got to Business Process Services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Rule service creation support">
-			<story-content>Support for creating rule services with drools or
-				using rule services created with other
-				IDEs.</story-content>
-			<story-links>
-				<link url="/carbon/ruleservices/rule_service_wizard_step1.jsp">Go to Rule service creation...</link>
-				<link url="/carbon/ruleservices/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Registry as a Rule Repository">
-			<story-content>Registry as a Rule Repository.</story-content>
-			<story-links>
-				<link url="/carbon/resources/resource.jsp">Go to Registry Rule Repository..</link>
-				<link url="/carbon/resources/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Service testing">
-			<story-content>Tryit tool can be used as a simple Web Service client
-				which can be used to try your
-				services within AppServer itself.
-			</story-content>
-			<story-links>
-				<link url="/carbon/tryit/index.jsp">Go
-					to Service Testing...</link>
-				<link url="/carbon/tryit/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Cloud Gateway" link="https://cg.stratoslive.wso2.com"
-		key="cg">
-		<story title="Cloud Service">
-			<story-content>Publish a service or data residing behind a firewall
-				in a secure and controlled manner as a Cloud Service.
-			</story-content>
-			<story-links>
-				<link url="/carbon/service-mgt/index.jsp">Go to Cloud Services...</link>
-				<link url="/carbon/service-mgt/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Complex Event Processing Services" link="https://cep.cloud.wso2.com"
-		key="cep">
-		<story title="Bring CEP to SOA">
-			<story-content>Bring CEP to SOA by processing XML events and produce
-				results as XML events.</story-content>
-			<story-links>
-				<link url="/carbon/CEP/cep_queries.jsp">Go to CEP buckets list...</link>
-				<link url="/carbon/CEP/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Registry Storage">
-			<story-content>Ability to define different event streams, queries and
-				out put streams and store them in
-				the registry as a bucket.
-			</story-content>
-			<story-links>
-				<link url="/carbon/resources/resource.jsp">Go to Registry Storage...</link>
-				<link url="/carbon/messagebox/docs/userguide.html">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Esper and Fusion">
-			<story-content>Support Esper and fusion back end runtimes..
-			</story-content>
-			<story-links>
-				<link url="">Go to Esper and Fusion..</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Filter data from the XML event">
-			<story-content>Ability to filter data from the XML event using xpath
-				and format the result as an XML
-				event.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to Filter data...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Support different types of brokers">
-			<story-content>Support different types of brokers WS-Event, JMS to
-				receive publish events.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to brokers...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Storing broker configurations">
-			<story-content>Define and store such different broker configurations.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to brokers...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Administrative Console support">
-			<story-content>Administrative Console to create buckets, add
-				subscriptions etc..
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to Administrative Console ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Specify CEP queries">
-			<story-content>Ability to specify CEP queries inline or pick from the
-				registry.
-			</story-content>
-			<story-links>
-				<link url="">Go
-					to CEP queries ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-	<service name="Message Broker Services" link="https://mb.cloud.wso2.com"
-		key="mb">
-		<story title="Publish/Subscribe to Topics">
-			<story-content>WS-Eventing to publish/subscribe to topics using web
-				service standards.</story-content>
-			<story-links>
-				<link url="">Go to topics...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="AMQP">
-			<story-content>MS support thorough AMQP to publish/subscribe to
-				topics and Queues.</story-content>
-			<story-links>
-				<link url="">Go to AMQP...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Topic Authorization">
-			<story-content>MS support thorough AMQP to publish/subscribe to
-				topics and Queues.</story-content>
-			<story-links>
-				<link url="">Go to Topic Authorization...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Manage topics and queues permissions">
-			<story-content>Administrative console support to manage topics and
-				queues permissions.</story-content>
-			<story-links>
-				<link url="">Go to Manage topics and queues permissions...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="SQS support">
-			<story-content>SQS support to store retrieve messages using a web
-				service API.</story-content>
-			<story-links>
-				<link url="">Go to SQS ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="User based authorization for queues">
-			<story-content>User based authorization for queues.</story-content>
-			<story-links>
-				<link url="">Go to User based authorization ...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Manage message boxes">
-			<story-content>Administrative console support to manage message boxes
-				and store/retrieve messages.</story-content>
-			<story-links>
-				<link url="">Go to message boxes...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-		<story title="Message box as event sink">
-			<story-content>Ability to use a message box as the event sink for a
-				subscription.</story-content>
-			<story-links>
-				<link url="">Go to event sink support...</link>
-				<link url="">Read more (docs)...</link>
-			</story-links>
-		</story>
-	</service>
-</data>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/pom.xml
deleted file mode 100755
index 90b07b5..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/pom.xml
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
-        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
-        xmlns="http://maven.apache.org/POM/4.0.0"
-        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
-	<parent>
-		<groupId>org.wso2.stratos2</groupId>
-		<artifactId>wso2stratos2-parent</artifactId>
-		<version>1.0.1</version>
-		<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.carbon</groupId>
-    <artifactId>features-dashboard</artifactId>
-    <packaging>war</packaging>
-    <version>1.0.0</version>
-    <name>features-dashboard-webapp</name>
-    <description>features-dashboard-webapp</description>
-
-
-
-    <properties>
-        <CApp.type>web/application</CApp.type>
-    </properties>
-    <repositories>
-        <repository>
-            <id>wso2-maven2-repository-1</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </repository>
-    </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>wso2-maven2-repository-1</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </pluginRepository>
-    </pluginRepositories>
-    <build>
-        <sourceDirectory>src</sourceDirectory>
-        <plugins>
-               <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Export-Package>
-                            org.wso2.stratos.manager.dashboard.ui.*,
-                        </Export-Package>
-                        <Import-Package>
-                            org.wso2.carbon.ui.servlets.*,
-                            javax.servlet; version=2.4.0,
-                            javax.servlet.http; version=2.4.0,
-                            org.apache.lucene.*,
-                            *;resolution:=optional
-                        </Import-Package>
-                        <Carbon-Component>UIBundle</Carbon-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <configuration>
-                            <sources/>
-                        </configuration>
-                    </execution>
-                </executions>
-                <configuration/>
-            </plugin>
-            <plugin>
-                <artifactId>maven-war-plugin</artifactId>
-                <version>2.1.1</version>
-                <executions>
-                    <execution>
-                        <id>war</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>war</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <warSourceDirectory>WebContent</warSourceDirectory>
-                    <warName>features-dashboard</warName>
-                </configuration>
-            </plugin>
-            <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-     <dependencies>
-
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-        </dependency>
-       
-        
-    </dependencies>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Data.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Data.java b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Data.java
deleted file mode 100755
index 4aed361..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Data.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.beans;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-public class Data {
-	private Map<String, Service> service;
-
-	public Data() {
-		this.service = new HashMap<String, Service>();
-	}
-
-	public Map<String, Service> getServices() {
-		return service;
-	}
-
-	public String [] getKeys() {
-		Set<String>  temp = this.getServices().keySet();
-		return  temp.toArray(new String[0]);
-	}
-	
-	public  String [] getServiceNames() {
-		List <String> keyList = new ArrayList<String>();
-		for (Map.Entry<String, Service> entry : service.entrySet())
-		{
-			Service tempService = entry.getValue();
-			keyList.add(tempService.getName());
-		}
-		return keyList.toArray(new String[keyList.size()]);
-	}
-
-	public Service getService(String key) {
-		return this.getServices().get(key);
-	}
-
-	public void addService(Service service) {
-		this.getServices().put(service.getKey(), service);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Link.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Link.java b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Link.java
deleted file mode 100755
index a793ab7..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Link.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.beans;
-
-public class Link {
-	private String url;
-	private String description;
-
-	public String getUrl() {
-		return url;
-	}
-
-	public void setUrl(String url) {
-		this.url = url;
-	}
-
-	public String getDescription() {
-		return description;
-	}
-
-	public void setDescription(String description) {
-		this.description = description;
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Service.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Service.java b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Service.java
deleted file mode 100755
index 8367d57..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Service.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.beans;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class Service {
-
-	private String name;
-	private String link;
-	private String key;
-
-	public String getKey() {
-		return key;
-	}
-
-	public void setKey(String key) {
-		this.key = key;
-	}
-
-	public String getLink() {
-		return link;
-	}
-
-	public void setLink(String link) {
-		this.link = link;
-	}
-
-	private Map<String, Story> stories;
-
-	public Service() {
-		this.stories = new HashMap<String, Story>();
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public Map<String, Story> getStories() {
-		return stories;
-	}
-
-	public void setStories(Map<String, Story> stories) {
-		this.stories = stories;
-	}
-
-	public void addStories(Story story) {
-		this.getStories().put(story.getTitle(), story);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Story.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Story.java b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Story.java
deleted file mode 100755
index db00a22..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/beans/Story.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.beans;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class Story {
-	
-	private String title;
-	private Map<String, Link> links;
-	private String content;
-	
-	public Story () {
-		this.links =  new HashMap<String,Link>();
-	}
-	
-	public Map<String, Link> getLinks() {
-		return links;
-	}
-
-	public void setLinks(Map<String, Link> links) {
-		this.links = links;
-	}
-
-	public String getContent() {
-		return content;
-	}
-
-	public void setContent(String content) {
-		this.content = content;
-	}
-
-	public String getTitle() {
-		return title;
-	}
-
-	public void setTitle(String title) {
-		this.title = title;
-	}
-
-	public void addLink(Link link) {
-		this.getLinks().put(link.getUrl(), link);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/utils/Utils.java
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/utils/Utils.java b/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/utils/Utils.java
deleted file mode 100755
index 773154d..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features-dashboard/src/org/wso2/stratos/manager/feature/dashbord/ui/utils/Utils.java
+++ /dev/null
@@ -1,159 +0,0 @@
-package org.wso2.stratos.manager.feature.dashbord.ui.utils;
-import java.io.File;
-import java.io.FileInputStream;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-
-import org.apache.axiom.om.OMAttribute;
-import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.impl.builder.StAXOMBuilder;
-import org.wso2.stratos.manager.feature.dashbord.ui.beans.Data;
-import org.wso2.stratos.manager.feature.dashbord.ui.beans.Link;
-import org.wso2.stratos.manager.feature.dashbord.ui.beans.Service;
-import org.wso2.stratos.manager.feature.dashbord.ui.beans.Story;
-
-public class Utils {
-
-	public static Data pupulateDashboardFeatures() {
-		File featureDashboardXML = new File(getFeatureXMLFilePath());
-		//File featureDashboardXML = new File("features-dashboard.xml");
-		
-		Data data = new  Data();
-		try {
-			XMLStreamReader parser = xmlInputFactory.createXMLStreamReader(new FileInputStream(
-					featureDashboardXML));
-			StAXOMBuilder builder = new StAXOMBuilder(parser);
-			OMElement documentElement =  builder.getDocumentElement();
-			documentElement.build();
-			Iterator<OMElement> txElements = documentElement.getChildrenWithName(new QName("service"));
-		
-			while (txElements.hasNext()) {
-				OMElement txEle = txElements.next();
-				data.addService(getService(txEle));
-			}
-			Service service = data.getService("manager");
-
-//			Map<String, Story> stories = service.getStories();
-//			System.out.println(stories.size());
-//			int index = 1;
-//			for (Map.Entry<String, Story> entry : stories.entrySet()) {
-//				String divClassName = "story col" + index;
-//				Story tempStory = entry.getValue();
-//				String storyName = tempStory.getTitle();
-//				String storyContent = tempStory.getContent();
-//				System.out.println("Title : "+storyName+ " Content"+ storyContent);
-				//Map<String, Link> links = tempStory.getLinks();
-				//System.out.println("Size "+links.size());
-//			}
-//			String serviceNames [] = data.getKeys();
-//			for (String name : serviceNames) {
-//				System.out.println(name);
-				
-//				Service myservice =  data.getService(name);
-//				String name1 = myservice.getName();
-//				String link = myservice.getLink();
-//			    System.out.println(name1 + "/" + link);
-//			}
-//			 Map<String, Service> allServices= data.getServices();
-//			System.out.println(allServices.size());
-//			for (Map.Entry<String, Service> entry : allServices.entrySet())
-//			{
-//				Service myservice =  entry.getValue();
-//				String name = myservice.getName();
-//				String link = myservice.getLink();
-//			    System.out.println(name + "/" + link);
-//			}
-
-
-		 
-		} catch (Exception e) {
-			e.printStackTrace();
-		}
-		return data;
-	
-	}
-// + File.separator + "lib" + File.separator + 
-	public static String getFeatureXMLFilePath() {
-        String carbonHome = System.getProperty("carbon.home");
-        if (carbonHome == null) {
-            carbonHome = System.getenv("CARBON_HOME");
-            System.setProperty("carbon.home", carbonHome);
-        }
-        return carbonHome+"/repository/conf/multitenancy/features-dashboard.xml";
-    }
-	private static Service getService(OMElement txEle) {
-		OMAttribute serviceEle = txEle.getAttribute(new QName("name"));
-		OMAttribute serviceLinkEle = txEle.getAttribute(new QName("link"));
-		OMAttribute serviceKeyEle = txEle.getAttribute(new QName("key"));
-		Service serviceInfo = new Service();
-		serviceInfo.setName(serviceEle.getAttributeValue());
-		serviceInfo.setLink(serviceLinkEle.getAttributeValue());
-		serviceInfo.setKey(serviceKeyEle.getAttributeValue());
-		Iterator<OMElement> storyElements = txEle.getChildrenWithName(new QName("story"));
-		while (storyElements.hasNext()) {
-			OMElement storyEle = storyElements.next();
-     		serviceInfo.addStories(getStory(storyEle));
-		}
-		return serviceInfo;
-		
-	}
-	
-	private static Link getLink(OMElement linEle) {
-	//	OMElement linkContentEle = linEle.getFirstChildWithName(new QName("link"));
-		OMAttribute linkAttribtute = linEle.getAttribute(new QName("url"));
-		Link link = new Link();
-		link.setDescription(linEle.getText());
-		link.setUrl(linkAttribtute.getAttributeValue());
-		return link;
-	}
-	
-	private static Story getStory(OMElement storyEle) {
-		OMAttribute storyAttribtute = storyEle.getAttribute(new QName("title"));
-		Story storyInfo = new Story();
-		storyInfo.setTitle(storyAttribtute.getAttributeValue());
-		OMElement storyContentEle = storyEle.getFirstChildWithName(new QName("story-content"));
-		if (storyContentEle != null) {
-			storyInfo.setContent(storyContentEle.getText());
-		}
-		OMElement storyLinkEle = storyEle.getFirstChildWithName(new QName("story-links"));
-		if (storyLinkEle != null) {
-			Iterator<OMElement> linkElements = storyLinkEle.getChildrenWithName(new QName("link"));
-			while (linkElements.hasNext()) {
-				OMElement linkEle = linkElements.next();
-				storyInfo.addLink(getLink(linkEle));
-			}
-		}
-		
-		return storyInfo;
-	}
-	
-	public static void main(String args[]) {
-		pupulateDashboardFeatures();
-//		String mystr[] = {"a","b","c","d"};
-//		String wntedString="";
-//		for (int i =0; i< mystr.length; i++) {
-//		
-//			if (i == mystr.length-1) {
-//				wntedString = wntedString+mystr[i];
-//			} else {
-//				wntedString = wntedString+mystr[i]+",";
-//			}
-//		}
-//		System.out.println(wntedString);
-	}
-
-	private static XMLInputFactory xmlInputFactory;
-
-	/** pre-fetch the XMLInputFactory */
-	static {
-		xmlInputFactory = XMLInputFactory.newInstance();
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/features/pom.xml
deleted file mode 100755
index bdfcc9b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features/pom.xml
+++ /dev/null
@@ -1,46 +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.
- -->
-<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.stratos2</groupId>
-	<artifactId>wso2stratos2-parent</artifactId>
-	<version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-    
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2stratos2-features-parent</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos2 - Features Parent</name>
-    <url>http://wso2.org/projects/wsas/java</url>
-    <description>WSO2 Stratos2 Features Parent</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>service</module>
-    </modules>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features/service/etc/feature.properties
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features/service/etc/feature.properties b/products/stratos2/stratos_controller/1.0.1/modules/features/service/etc/feature.properties
deleted file mode 100755
index ad7a553..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features/service/etc/feature.properties
+++ /dev/null
@@ -1,242 +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.
-################################################################################
-
-providerName=WSO2 Inc.
-
-########################## license properties ##################################
-licenseURL=http://www.apache.org/licenses/LICENSE-2.0
-
-license=\
-                                 Apache License\n\
-                           Version 2.0, January 2004\n\
-                        http://www.apache.org/licenses/\n\
-\n\
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\
-\n\
-   1. Definitions.\n\
-\n\
-      "License" shall mean the terms and conditions for use, reproduction,\n\
-      and distribution as defined by Sections 1 through 9 of this document.\n\
-\n\
-      "Licensor" shall mean the copyright owner or entity authorized by\n\
-      the copyright owner that is granting the License.\n\
-\n\
-      "Legal Entity" shall mean the union of the acting entity and all\n\
-      other entities that control, are controlled by, or are under common\n\
-      control with that entity. For the purposes of this definition,\n\
-      "control" means (i) the power, direct or indirect, to cause the\n\
-      direction or management of such entity, whether by contract or\n\
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n\
-      outstanding shares, or (iii) beneficial ownership of such entity.\n\
-\n\
-      "You" (or "Your") shall mean an individual or Legal Entity\n\
-      exercising permissions granted by this License.\n\
-\n\
-      "Source" form shall mean the preferred form for making modifications,\n\
-      including but not limited to software source code, documentation\n\
-      source, and configuration files.\n\
-\n\
-      "Object" form shall mean any form resulting from mechanical\n\
-      transformation or translation of a Source form, including but\n\
-      not limited to compiled object code, generated documentation,\n\
-      and conversions to other media types.\n\
-\n\
-      "Work" shall mean the work of authorship, whether in Source or\n\
-      Object form, made available under the License, as indicated by a\n\
-      copyright notice that is included in or attached to the work\n\
-      (an example is provided in the Appendix below).\n\
-\n\
-      "Derivative Works" shall mean any work, whether in Source or Object\n\
-      form, that is based on (or derived from) the Work and for which the\n\
-      editorial revisions, annotations, elaborations, or other modifications\n\
-      represent, as a whole, an original work of authorship. For the purposes\n\
-      of this License, Derivative Works shall not include works that remain\n\
-      separable from, or merely link (or bind by name) to the interfaces of,\n\
-      the Work and Derivative Works thereof.\n\
-\n\
-      "Contribution" shall mean any work of authorship, including\n\
-      the original version of the Work and any modifications or additions\n\
-      to that Work or Derivative Works thereof, that is intentionally\n\
-      submitted to Licensor for inclusion in the Work by the copyright owner\n\
-      or by an individual or Legal Entity authorized to submit on behalf of\n\
-      the copyright owner. For the purposes of this definition, "submitted"\n\
-      means any form of electronic, verbal, or written communication sent\n\
-      to the Licensor or its representatives, including but not limited to\n\
-      communication on electronic mailing lists, source code control systems,\n\
-      and issue tracking systems that are managed by, or on behalf of, the\n\
-      Licensor for the purpose of discussing and improving the Work, but\n\
-      excluding communication that is conspicuously marked or otherwise\n\
-      designated in writing by the copyright owner as "Not a Contribution."\n\
-\n\
-      "Contributor" shall mean Licensor and any individual or Legal Entity\n\
-      on behalf of whom a Contribution has been received by Licensor and\n\
-      subsequently incorporated within the Work.\n\
-\n\
-   2. Grant of Copyright License. Subject to the terms and conditions of\n\
-      this License, each Contributor hereby grants to You a perpetual,\n\
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n\
-      copyright license to reproduce, prepare Derivative Works of,\n\
-      publicly display, publicly perform, sublicense, and distribute the\n\
-      Work and such Derivative Works in Source or Object form.\n\
-\n\
-   3. Grant of Patent License. Subject to the terms and conditions of\n\
-      this License, each Contributor hereby grants to You a perpetual,\n\
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n\
-      (except as stated in this section) patent license to make, have made,\n\
-      use, offer to sell, sell, import, and otherwise transfer the Work,\n\
-      where such license applies only to those patent claims licensable\n\
-      by such Contributor that are necessarily infringed by their\n\
-      Contribution(s) alone or by combination of their Contribution(s)\n\
-      with the Work to which such Contribution(s) was submitted. If You\n\
-      institute patent litigation against any entity (including a\n\
-      cross-claim or counterclaim in a lawsuit) alleging that the Work\n\
-      or a Contribution incorporated within the Work constitutes direct\n\
-      or contributory patent infringement, then any patent licenses\n\
-      granted to You under this License for that Work shall terminate\n\
-      as of the date such litigation is filed.\n\
-\n\
-   4. Redistribution. You may reproduce and distribute copies of the\n\
-      Work or Derivative Works thereof in any medium, with or without\n\
-      modifications, and in Source or Object form, provided that You\n\
-      meet the following conditions:\n\
-\n\
-      (a) You must give any other recipients of the Work or\n\
-          Derivative Works a copy of this License; and\n\
-\n\
-      (b) You must cause any modified files to carry prominent notices\n\
-          stating that You changed the files; and\n\
-\n\
-      (c) You must retain, in the Source form of any Derivative Works\n\
-          that You distribute, all copyright, patent, trademark, and\n\
-          attribution notices from the Source form of the Work,\n\
-          excluding those notices that do not pertain to any part of\n\
-          the Derivative Works; and\n\
-\n\
-      (d) If the Work includes a "NOTICE" text file as part of its\n\
-          distribution, then any Derivative Works that You distribute must\n\
-          include a readable copy of the attribution notices contained\n\
-          within such NOTICE file, excluding those notices that do not\n\
-          pertain to any part of the Derivative Works, in at least one\n\
-          of the following places: within a NOTICE text file distributed\n\
-          as part of the Derivative Works; within the Source form or\n\
-          documentation, if provided along with the Derivative Works; or,\n\
-          within a display generated by the Derivative Works, if and\n\
-          wherever such third-party notices normally appear. The contents\n\
-          of the NOTICE file are for informational purposes only and\n\
-          do not modify the License. You may add Your own attribution\n\
-          notices within Derivative Works that You distribute, alongside\n\
-          or as an addendum to the NOTICE text from the Work, provided\n\
-          that such additional attribution notices cannot be construed\n\
-          as modifying the License.\n\
-\n\
-      You may add Your own copyright statement to Your modifications and\n\
-      may provide additional or different license terms and conditions\n\
-      for use, reproduction, or distribution of Your modifications, or\n\
-      for any such Derivative Works as a whole, provided Your use,\n\
-      reproduction, and distribution of the Work otherwise complies with\n\
-      the conditions stated in this License.\n\
-\n\
-   5. Submission of Contributions. Unless You explicitly state otherwise,\n\
-      any Contribution intentionally submitted for inclusion in the Work\n\
-      by You to the Licensor shall be under the terms and conditions of\n\
-      this License, without any additional terms or conditions.\n\
-      Notwithstanding the above, nothing herein shall supersede or modify\n\
-      the terms of any separate license agreement you may have executed\n\
-      with Licensor regarding such Contributions.\n\
-\n\
-   6. Trademarks. This License does not grant permission to use the trade\n\
-      names, trademarks, service marks, or product names of the Licensor,\n\
-      except as required for reasonable and customary use in describing the\n\
-      origin of the Work and reproducing the content of the NOTICE file.\n\
-\n\
-   7. Disclaimer of Warranty. Unless required by applicable law or\n\
-      agreed to in writing, Licensor provides the Work (and each\n\
-      Contributor provides its Contributions) on an "AS IS" BASIS,\n\
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n\
-      implied, including, without limitation, any warranties or conditions\n\
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n\
-      PARTICULAR PURPOSE. You are solely responsible for determining the\n\
-      appropriateness of using or redistributing the Work and assume any\n\
-      risks associated with Your exercise of permissions under this License.\n\
-\n\
-   8. Limitation of Liability. In no event and under no legal theory,\n\
-      whether in tort (including negligence), contract, or otherwise,\n\
-      unless required by applicable law (such as deliberate and grossly\n\
-      negligent acts) or agreed to in writing, shall any Contributor be\n\
-      liable to You for damages, including any direct, indirect, special,\n\
-      incidental, or consequential damages of any character arising as a\n\
-      result of this License or out of the use or inability to use the\n\
-      Work (including but not limited to damages for loss of goodwill,\n\
-      work stoppage, computer failure or malfunction, or any and all\n\
-      other commercial damages or losses), even if such Contributor\n\
-      has been advised of the possibility of such damages.\n\
-\n\
-   9. Accepting Warranty or Additional Liability. While redistributing\n\
-      the Work or Derivative Works thereof, You may choose to offer,\n\
-      and charge a fee for, acceptance of support, warranty, indemnity,\n\
-      or other liability obligations and/or rights consistent with this\n\
-      License. However, in accepting such obligations, You may act only\n\
-      on Your own behalf and on Your sole responsibility, not on behalf\n\
-      of any other Contributor, and only if You agree to indemnify,\n\
-      defend, and hold each Contributor harmless for any liability\n\
-      incurred by, or claims asserted against, such Contributor by reason\n\
-      of your accepting any such warranty or additional liability.\n\
-\n\
-   END OF TERMS AND CONDITIONS\n\
-\n\
-   APPENDIX: How to apply the Apache License to your work.\n\
-\n\
-      To apply the Apache License to your work, attach the following\n\
-      boilerplate notice, with the fields enclosed by brackets "[]"\n\
-      replaced with your own identifying information. (Don't include\n\
-      the brackets!)  The text should be enclosed in the appropriate\n\
-      comment syntax for the file format. We also recommend that a\n\
-      file or class name and description of purpose be included on the\n\
-      same "printed page" as the copyright notice for easier\n\
-      identification within third-party archives.\n\
-\n\
-   Copyright [yyyy] [name of copyright owner]\n\
-\n\
-   Licensed under the Apache License, Version 2.0 (the "License");\n\
-   you may not use this file except in compliance with the License.\n\
-   You may obtain a copy of the License at\n\
-\n\
-       http://www.apache.org/licenses/LICENSE-2.0\n\
-\n\
-   Unless required by applicable law or agreed to in writing, software\n\
-   distributed under the License is distributed on an "AS IS" BASIS,\n\
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
-   See the License for the specific language governing permissions and\n\
-   limitations under the License.\n
-
-######################### copyright properties #################################
-copyrightURL=TODO
-
-copyright=\
-Copyright (c) WSO2 Inc. (http://wso2.com)\n\
-\n\
-Licensed under the Apache License, Version 2.0 (the "License");\n\
-you may not use this file except in compliance with the License.\n\
-You may obtain a copy of the License at\n\
-\n\
-http://www.apache.org/licenses/LICENSE-2.0\n\
-\n\
-Unless required by applicable law or agreed to in writing, software\n\
-distributed under the License is distributed on an "AS IS" BASIS,\n\
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
-See the License for the specific language governing permissions and\n\
-limitations under the License.\n
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.feature/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.feature/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.feature/pom.xml
deleted file mode 100755
index 7a35638..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.feature/pom.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.
--->
-
-<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.stratos2</groupId>
-        <artifactId>wso2stratos2-features-parent</artifactId>
-        <version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos2.feature</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos - Cloud Manager Composite Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the bundles required for Cloud Manager functionality
-    </description>
-
-     <dependencies>
-        <dependency>
-            <groupId>org.wso2.stratos2</groupId>
-            <artifactId>org.wso2.stratos2.server.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-        <dependency>
-            <groupId>org.wso2.stratos2</groupId>
-            <artifactId>org.wso2.stratos2.ui.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.stratos2</id>
-                            <propertiesFile>../etc/feature.properties</propertiesFile>
-                            <includedFeatures>
-                                <includedFeatureDef>
-                                    org.wso2.stratos2:org.wso2.stratos2.server.feature
-                                </includedFeatureDef>
-                                <includedFeatureDef>
-                                    org.wso2.stratos2:org.wso2.stratos2.ui.feature
-                                </includedFeatureDef>
-                            </includedFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.server.feature/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.server.feature/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.server.feature/pom.xml
deleted file mode 100755
index 92519c6..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/features/service/org.wso2.stratos2.server.feature/pom.xml
+++ /dev/null
@@ -1,237 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!--
- ~ Copyright (c) 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.
--->
-
-<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.stratos2</groupId>
-        <artifactId>wso2stratos2-features-parent</artifactId>
-        <version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.stratos2.server.feature</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0.1</version>
-    <name>WSO2 Stratos - Cloud Manager Core Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the core bundles required for Back-end Cloud Manager
-        functionality
-    </description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.account.mgt</artifactId>
-	    <version>${stratos.component.version}</version>
-        </dependency>
-        <!--<dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.stratos.common</artifactId>
-        </dependency>-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.email.sender</artifactId>
-	        <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt.core</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.tenant.mgt.email.sender</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.theme.mgt</artifactId>
-	    <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.validate.domain</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.keystore.mgt</artifactId>
-            <version>${stratos.component.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.email.verification</artifactId>
-		<version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task</artifactId>
-	<version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.quartz-scheduler.wso2</groupId>
-            <artifactId>quartz</artifactId>
-	<version>2.1.1.wso2v1</version>
-        </dependency>
-        <!--<dependency>
-            <groupId>org.mvel.wso2</groupId>
-            <artifactId>mvel2</artifactId>
-            <version>2.0.10.wso2v1</version>
-        </dependency>-->
-        <dependency>
-            <groupId>joda-time.wso2</groupId>
-            <artifactId>joda-time</artifactId>
-            <version>1.6.0.wso2v1</version>
-        </dependency>
-        <!--<dependency>
-            <groupId>antlr.wso2</groupId>
-            <artifactId>antlr</artifactId>
-            <version>${antlr.wso2.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.antlr.wso2</groupId>
-            <artifactId>antlr-runtime</artifactId>
-            <version>3.2.0.wso2v1</version>
-        </dependency>-->
-        <dependency>
-            <groupId>janino.wso2</groupId>
-            <artifactId>janino</artifactId>
-            <version>2.5.15.wso2v1</version>
-        </dependency>
-	    <dependency>
-            <groupId>org.apache.axis.wso2</groupId>
-            <artifactId>axis</artifactId>
-            <version>1.4.0.wso2v1</version>
-        </dependency>
-
-
-        <!--<dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-core</artifactId>
-	<version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-commons</artifactId>
-	<version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-extensions</artifactId>
-	<version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-tasks</artifactId>
-	<version>${synapse.version}</version>
-        </dependency>-->
-        <dependency>
-            <groupId>kaptcha.wso2</groupId>
-            <artifactId>kaptcha</artifactId>
-	<version>2.3.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.security.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-   <dependency>
-                <groupId>org.wso2.stratos2</groupId>
-                <artifactId>org.wso2.stratos.manager.services.mgt</artifactId>
-                <version>${stratos.controller.version}</version>
-            </dependency>
-    </dependencies>
-
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.stratos2.server</id>
-                            <propertiesFile>../etc/feature.properties</propertiesFile>
-                            <adviceFile>
-                                <properties>
-                                    <propertyDef>org.wso2.carbon.p2.category.type:server
-                                    </propertyDef>
-                                    <propertyDef>org.eclipse.equinox.p2.type.group:false
-                                    </propertyDef>
-                                </properties>
-                            </adviceFile>
-                            <bundles>
-                                <bundleDef>org.quartz-scheduler.wso2:quartz</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.task:${carbon.version}</bundleDef>
-                                <!--<bundleDef>org.mvel.wso2:mvel2</bundleDef>-->
-                                <bundleDef>joda-time.wso2:joda-time</bundleDef>
-                                <!--<bundleDef>antlr.wso2:antlr</bundleDef>
-                                <bundleDef>org.antlr.wso2:antlr-runtime</bundleDef>-->
-                                <bundleDef>janino.wso2:janino:2.5.15.wso2v1</bundleDef>
-				<bundleDef>org.apache.axis.wso2:axis:1.4.0.wso2v1</bundleDef>
-
-                                <!--<bundleDef>org.apache.synapse:synapse-core:2.1.0-wso2v7</bundleDef>
-                                <bundleDef>org.apache.synapse:synapse-commons:2.1.0-wso2v7</bundleDef>
-                                <bundleDef>org.apache.synapse:synapse-extensions:2.1.0-wso2v7</bundleDef>
-                                <bundleDef>org.apache.synapse:synapse-tasks:2.1.0-wso2v7</bundleDef>-->
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.payment.paypal:${stratos.component.version}</bundleDef>
-				<bundleDef>com.paypal.sdk.wso2:paypal:1.1.0.wso2v1</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.business.messaging.paypal.integration.core:${carbon.version}</bundleDef>
-				
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.stratos.common</bundleDef>-->
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.email.sender:${stratos.component.version}</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.email.sender:${stratos.component.version}</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.account.mgt:${stratos.component.version}</bundleDef>
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt</bundleDef>-->
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.tenant.mgt.core</bundleDef>-->
-                                <!--<bundleDef>org.wso2.carbon:org.wso2.carbon.theme.mgt</bundleDef>-->
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.validate.domain:${stratos.component.version}</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.email.verification:${carbon.version}</bundleDef>
-                                <bundleDef>org.wso2.stratos2:org.wso2.stratos.manager.services.mgt:${stratos.controller.version}</bundleDef>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.keystore.mgt:${stratos.component.version}</bundleDef>
-                                <bundleDef>kaptcha.wso2:kaptcha:2.3.0.wso2v1</bundleDef>
-                                <!-- stubs -->
-                            </bundles>
-                            <importFeatures>
-                                <importFeatureDef>org.wso2.carbon.core.server:${carbon.version}</importFeatureDef>
-                                <importFeatureDef>org.wso2.carbon.security.mgt:${carbon.version}</importFeatureDef>
-                            </importFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>


[08/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/stratos-datasources.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/stratos-datasources.xml b/products/stratos_controller/conf/stratos-datasources.xml
new file mode 100755
index 0000000..9096549
--- /dev/null
+++ b/products/stratos_controller/conf/stratos-datasources.xml
@@ -0,0 +1,50 @@
+<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
+  
+    <providers>
+        <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
+    </providers>
+  
+    <datasources>
+		<datasource>
+            <name>WSO2BillingDS</name>
+            <description>The datasource used for registry and user manager</description>
+            <jndiConfig>
+                <name>jdbc/WSO2BillingDS</name>
+            </jndiConfig>
+            <definition type="RDBMS">
+                <configuration>
+                    <url>jdbc:h2:repository/database/WSO2BILLING_DB;DB_CLOSE_ON_EXIT=FALSE</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>
+
+	<datasource>
+            <name>WSO2S2DS</name>
+            <description>The datasource used for s2</description>
+            <jndiConfig>
+                <name>jdbc/WSO2S2DS</name>
+            </jndiConfig>
+            <definition type="RDBMS">
+                <configuration>
+                    <url>jdbc:h2:repository/database/WSO2S2_DB;DB_CLOSE_ON_EXIT=FALSE</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>
+      </datasources>
+</datasources-configuration>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/synapse-configs/default/registry.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/synapse-configs/default/registry.xml b/products/stratos_controller/conf/synapse-configs/default/registry.xml
new file mode 100644
index 0000000..b19a4c8
--- /dev/null
+++ b/products/stratos_controller/conf/synapse-configs/default/registry.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
+  -->
+
+<!-- Registry declaration of the WSO2 ESB -->
+<registry xmlns="http://ws.apache.org/ns/synapse" provider="org.wso2.carbon.mediation.registry.WSO2Registry">
+    <!--all resources loaded from the URL registry would be
+    cached for this number of milliseconds -->
+    <parameter name="cachableDuration">15000</parameter>
+</registry>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/synapse-configs/default/sequences/errorHandler.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/synapse-configs/default/sequences/errorHandler.xml b/products/stratos_controller/conf/synapse-configs/default/sequences/errorHandler.xml
new file mode 100644
index 0000000..62c31a6
--- /dev/null
+++ b/products/stratos_controller/conf/synapse-configs/default/sequences/errorHandler.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
+  -->
+    <sequence name="errorHandler" xmlns="http://ws.apache.org/ns/synapse">
+	<log level="full">
+        	<property name="MESSAGE" value="Executing default 'fault' sequence"/>
+        	<property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
+        	<property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
+    	</log>
+        <makefault response="true">
+            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
+        </makefault>
+        <send/>
+    </sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/synapse-configs/default/sequences/fault.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/synapse-configs/default/sequences/fault.xml b/products/stratos_controller/conf/synapse-configs/default/sequences/fault.xml
new file mode 100644
index 0000000..1192bbd
--- /dev/null
+++ b/products/stratos_controller/conf/synapse-configs/default/sequences/fault.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
+  -->
+
+<!-- Default fault sequence shipped with the Apache Synapse -->
+<sequence xmlns="http://ws.apache.org/ns/synapse" name="fault">
+
+    <!-- Log the message at the full log level with the ERROR_MESSAGE and the ERROR_CODE-->
+    <!-- log level="full">
+        <property name="MESSAGE" value="Executing default 'fault' sequence"/>
+        <property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
+        <property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
+    </log -->
+
+    <!-- Drops the messages by default if there is a fault -->
+    <script language="js"><![CDATA[
+        mc.setPayloadXML(
+           <{mc.getProperty("SERVICENAME")}Response xmlns="org.wso2.gateway">
+            <Timestamp>{new Date()}</Timestamp>
+            <Ack>Failure</Ack>
+            <Errors>
+             <ShortMessage>Gateway Error</ShortMessage>
+             <LongMessage>{mc.getProperty("ERROR_MESSAGE")}</LongMessage>
+             <ErrorCode>500</ErrorCode>
+             <SeverityCode>Error</SeverityCode>
+             <ErrorClassification>RequestError</ErrorClassification>
+            </Errors>
+            <ServiceName>{mc.getProperty("SERVICENAME")}</ServiceName>
+            <ResponseCode>{mc.getProperty("HTTP_SC")}</ResponseCode>
+            <ContentType>{mc.getProperty("Content-Type")}</ContentType>
+            <Version>1.5.1</Version>
+           </{mc.getProperty("SERVICENAME")}Response>
+        );
+      ]]></script>
+    <switch source="get-property('ERROR_CODE')">
+        <case regex="101504">   <!-- TIMEOUT ERROR -->
+            <property name="HTTP_SC" value="504" scope="axis2"/>
+            <sequence key="seq_timeout"/>
+        </case>
+        <case regex="303001">
+            <property name="HTTP_SC" value="503" scope="axis2"/>
+            <sequence key="seq_endpoint_down"/>
+        </case>
+        <case regex="111503">
+            <property name="HTTP_SC" value="503" scope="axis2"/>
+            <sequence key="seq_endpoint_down"/>
+        </case>
+        <default>
+            <property name="HTTP_SC" value="500" scope="axis2"/>
+        </default>
+    </switch>
+    <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
+    <header name="To" action="remove"/>
+    <property name="RESPONSE" value="true"/>
+    <property name="messageType" value="text/xml" scope="axis2"/>
+    <property name="ContentType" value="text/xml" scope="axis2"/>
+
+    <send/>
+
+</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/synapse-configs/default/sequences/main.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/synapse-configs/default/sequences/main.xml b/products/stratos_controller/conf/synapse-configs/default/sequences/main.xml
new file mode 100644
index 0000000..e8ead4a
--- /dev/null
+++ b/products/stratos_controller/conf/synapse-configs/default/sequences/main.xml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
+  -->
+
+<!-- Default main sequence shipped with the WSO2 ESB -->
+<sequence xmlns="http://ws.apache.org/ns/synapse" name="main" onError="fault">
+    <description>The main sequence for the message mediation</description>
+
+    <in>
+        <property name="REQUEST_HOST_HEADER" expression="$trp:host" scope="axis2"/>
+        <property name="SERVICE_PREFIX" expression="$axis2:SERVICE_PREFIX"/>
+        <send>
+            <!--endpoint name="sdlbEndpoint">
+                <session type="http">-->
+                    <!-- Session timout is 15mins-->
+                    <!--sessionTimeout>900000</sessionTimeout>
+                </session>
+                <serviceDynamicLoadbalance failover="true"
+                                           algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"
+                                           configuration="$system:loadbalancer.xml"/>
+            </endpoint>
+            -->
+	          <!--endpoint name="tenantAwareLBEndpoint">
+                <class name ="org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint">
+                     <parameter name="algorithm"> org.apache.synapse.endpoints.algorithms.RoundRobin</parameter>
+                     <parameter name="configuration">$system:loadbalancer.conf</parameter>
+                     <parameter name="failover">true</parameter>          
+                     <parameter name="sessionTimeout">900000</parameter>
+  	            </class>
+ 	          </endpoint-->
+        </send>
+        <drop/>
+    </in>
+
+    <out>
+        <!-- Handling status codes: 301, 302 Redirection -->
+        <filter source="$trp:Location" regex=".+">
+            <property name="LB_SP_Host" expression="$ctx:SERVICE_PREFIX"
+                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
+
+            <property name="LB_Location_Protocol" expression="$trp:Location"
+                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="1"/>
+            <property name="LB_Location_Host" expression="$trp:Location"
+                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="2"/>
+            <property name="LB_Location_Path" expression="$trp:Location"
+                      pattern="(^http.?://\b)(.*):(\d*)(.*)" group="4"/>
+
+            <!--<log level="custom">
+               <property name="ameera-ocation" expression="$trp:Location"/>
+               <property name="ameera-sprefix" expression="$ctx:SERVICE_PREFIX"/>
+           </log>-->
+
+            <filter xpath="fn:lower-case($ctx:LB_SP_Host)=fn:lower-case($ctx:LB_Location_Host)">
+                <then>
+                    <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
+                        <case regex="https://">
+                            <property name="Location"
+                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
+                                      scope="transport"/>
+                        </case>
+                        <case regex="http://">
+                            <property name="Location"
+                                      expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
+                                      scope="transport"/>
+                        </case>
+                    </switch>
+                </then>
+
+                <else>
+                    <filter xpath="$ctx:LB_REQUEST_HOST=fn:lower-case($ctx:LB_Location_Host)">
+                        <switch source="fn:lower-case($ctx:LB_Location_Protocol)">
+                            <case regex="https://">
+                                <property name="Location"
+                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
+                                          scope="transport"/>
+                            </case>
+                            <case regex="http://">
+                                <property name="Location"
+                                          expression="fn:concat($ctx:LB_Location_Protocol,$ctx:LB_REQUEST_HOST,$ctx:LB_Location_Path)"
+                                          scope="transport"/>
+                            </case>
+                        </switch>
+                    </filter>
+                </else>
+            </filter>
+        </filter>
+
+        <!-- Send the messages where they have been sent (i.e. implicit To EPR) -->
+        <property name="messageType" value="text/html" scope="axis2"/>
+        <send/>
+        <drop/>
+    </out>
+
+</sequence>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/synapse-configs/default/synapse.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/synapse-configs/default/synapse.xml b/products/stratos_controller/conf/synapse-configs/default/synapse.xml
new file mode 100755
index 0000000..f3da986
--- /dev/null
+++ b/products/stratos_controller/conf/synapse-configs/default/synapse.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) 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.
+  -->
+
+<!-- The default synapse configuration shipped with the WSO2 Elastic  Load Balancer
+ -->
+
+<definitions xmlns="http://ws.apache.org/ns/synapse">
+</definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/synapse.properties
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/synapse.properties b/products/stratos_controller/conf/synapse.properties
new file mode 100755
index 0000000..36e21c2
--- /dev/null
+++ b/products/stratos_controller/conf/synapse.properties
@@ -0,0 +1,35 @@
+#
+#  Copyright (c) 2005-2010, 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.
+#
+
+#synapse.threads.core = 20
+#synapse.threads.max = 100
+#synapse.threads.keepalive = 5
+#synapse.threads.qlen = 10
+#synapse.threads.group = synapse-thread-group
+#synapse.threads.idprefix = SynapseWorker
+
+synapse.sal.endpoints.sesssion.timeout.default=600000
+
+#In memory statistics cleaning state 
+statistics.clean.enable=false
+
+# Dependency tracking Synapse observer
+# Comment out to disable dependency management
+synapse.observers=org.wso2.carbon.mediation.dependency.mgt.DependencyTracker
+
+# User defined wsdlLocator/Schema Resolver Implementations.
+# synapse.wsdl.resolver=org.wso2.carbon.mediation.initializer.RegistryWSDLLocator
+# synapse.schema.resolver=org.wso2.carbon.mediation.initializer.RegistryXmlSchemaURIResolver
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/tenant-reg-agent.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/tenant-reg-agent.xml b/products/stratos_controller/conf/tenant-reg-agent.xml
new file mode 100755
index 0000000..ba5c7ad
--- /dev/null
+++ b/products/stratos_controller/conf/tenant-reg-agent.xml
@@ -0,0 +1,24 @@
+<!--
+ ~ 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.
+ -->
+<tenantRegListenerServers>
+    <!--<server>
+        <serverUrl>https://10.100.1.206:9443/services/</serverUrl>
+        <userName>admin</userName>
+        <password>admin</password>
+    </server>-->
+</tenantRegListenerServers>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/throttling-rules.drl
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/throttling-rules.drl b/products/stratos_controller/conf/throttling-rules.drl
new file mode 100755
index 0000000..2225fa6
--- /dev/null
+++ b/products/stratos_controller/conf/throttling-rules.drl
@@ -0,0 +1,251 @@
+import org.wso2.carbon.throttling.manager.dataobjects.*;
+import org.wso2.carbon.billing.mgt.dataobjects.*;
+import org.wso2.carbon.stratos.common.constants.*;
+
+// free users restrictions
+
+rule unsetRestrictFreeUsers
+when
+ $package: MultitenancyPackage(name == "Demo")
+ $dataContext : ThrottlingDataContext()
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
+
+end
+
+
+rule restrictFreeDataVolume
+when
+ $package: MultitenancyPackage(name == "Demo")
+ $dataContext : ThrottlingDataContext()
+ eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (20 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
+            "You have exceeded the maximum allowed disk storage of 20Mb. Please upgrade the subscription.");
+end
+
+
+rule unsetRestrictFreeDataVolume
+when
+ $package: MultitenancyPackage(name == "Demo")
+ $dataContext : ThrottlingDataContext()
+ eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (20 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
+end
+
+
+rule restrictFreeBandwidth
+when
+ $package: MultitenancyPackage(name == "Demo")
+ $dataContext : ThrottlingDataContext()
+ eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
+ 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) > (50 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION, true, 
+            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");
+ validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION, true, 
+            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");
+ validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION, true, 
+            "You have exceeded the maximum allowed bandwidth of 50Mb. Please upgrade the subscription.");                      
+end
+
+
+rule unsetRestrictFreeBandwidth
+when
+ $package: MultitenancyPackage(name == "Demo")
+ $dataContext : ThrottlingDataContext()
+ eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
+ 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) < (50 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION,false,null);
+ validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION,false,null);
+ validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION,false,null);
+end
+
+
+//---------------------------------------------------------------------------------
+// small users restrictions
+
+
+
+rule restrictSmallDataVolume
+when
+ $package: MultitenancyPackage(name == "SMB")
+ $dataContext : ThrottlingDataContext()
+ eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (50 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
+            "You have exceeded the maximum allowed disk storage of 50Mb. Please upgrade the subscription.");
+end
+
+
+rule unsetRestrictSmallDataVolume
+when
+ $package: MultitenancyPackage(name == "SMB")
+ $dataContext : ThrottlingDataContext()
+ eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (50 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
+end
+
+
+rule restrictSmallBandwidth
+when
+ $package: MultitenancyPackage(name == "SMB")
+ $dataContext : ThrottlingDataContext()
+ eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
+ 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) > (150 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION, true, 
+            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription.");
+ validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION, true, 
+            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription.");
+ validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION, true, 
+            "You have exceeded the maximum allowed bandwidth of 150Mb. Please upgrade the subscription."); 
+end
+
+
+rule unsetRestrictSmallBandwidth
+when
+ $package: MultitenancyPackage(name == "SMB")
+ $dataContext : ThrottlingDataContext()
+ eval(($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) + 
+ 		$dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_OUTGOING_BANDWIDTH)) < (150 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_SERVICE_IN_BANDWIDTH_ACTION,false,null);
+ validation.setTenantBlocked(StratosConstants.THROTTLING_WEBAPP_IN_BANDWIDTH_ACTION,false,null);
+ validation.setTenantBlocked(StratosConstants.THROTTLING_OUT_DATA_ACTION,false,null);
+end
+
+
+rule unsetRestrictSmallUsers
+when
+ $package: MultitenancyPackage(name == "SMB")
+ $dataContext : ThrottlingDataContext()
+then
+
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
+
+end
+
+
+
+
+//-------------------------------------------------------------------------------
+// medium users restrictions
+
+
+
+rule restrictMediumDataVolume
+when
+ $package: MultitenancyPackage(name == "Professional")
+ $dataContext : ThrottlingDataContext()
+ eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (500 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
+            "You have exceeded the maximum allowed disk storage of 500Mb. Please upgrade the subscription.");
+end
+
+
+rule unsetRestrictMediumDataVolume
+when
+ $package: MultitenancyPackage(name == "Professional")
+ $dataContext : ThrottlingDataContext()
+ eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (500 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
+end
+
+
+rule unsetRestrictMediumUsers
+when
+ $package: MultitenancyPackage(name == "Professional")
+ $dataContext : ThrottlingDataContext()
+then
+
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
+
+end
+
+
+
+//-----------------------------------------------------------------------------------------------
+// large users restrictions
+
+
+rule restrictLargeDataVolume
+when
+ $package: MultitenancyPackage(name == "Enterprise")
+ $dataContext : ThrottlingDataContext()
+ eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > (1500 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, 
+            "You have exceeded the maximum allowed disk storage of 1500Mb.");
+end
+
+
+rule unsetRestrictLargeDataVolume
+when
+ $package: MultitenancyPackage(name == "Enterprise")
+ $dataContext : ThrottlingDataContext()
+ eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) <= (1500 * 1024 * 1024) && 
+            $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package)
+
+then
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, false, null);
+end
+
+
+rule unsetRestrictLargeUsers
+when
+ $package: MultitenancyPackage(name == "Enterprise")
+ $dataContext : ThrottlingDataContext()
+then
+
+ ThrottlingAccessValidation validation = $dataContext.getAccessValidation();
+ validation.setTenantBlocked(StratosConstants.THROTTLING_ADD_USER_ACTION, false, null);
+
+end
+
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/user-mgt.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/user-mgt.xml b/products/stratos_controller/conf/user-mgt.xml
new file mode 100644
index 0000000..c902307
--- /dev/null
+++ b/products/stratos_controller/conf/user-mgt.xml
@@ -0,0 +1,238 @@
+<!--
+  ~ Copyright 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.
+  -->
+        
+<UserManager>
+    <Realm>
+        <Configuration>
+                <AdminRole>admin</AdminRole>
+                <AdminUser>
+                     <UserName>admin</UserName>
+                     <Password>admin</Password>
+                </AdminUser>
+            <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
+            <Property name="dataSource">jdbc/WSO2CarbonDB</Property>
+            <Property name="MultiTenantRealmConfigBuilder">org.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder</Property>
+        </Configuration>
+	<!-- Following is the default user store manager. This user store manager is based on embedded-apacheds LDAP. It reads/writes users and roles into the 		     default apacheds LDAP user store. Descriptions about each of the following properties can be found in user management documentation of the 	 respective product. In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->
+	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
+            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
+            <Property name="ConnectionName">uid=admin,ou=system</Property>
+            <Property name="ConnectionPassword">admin</Property>
+            <Property name="passwordHashMethod">SHA</Property>
+            <Property name="UserNameListFilter">(objectClass=person)</Property>
+	    <Property name="UserEntryObjectClass">wso2Person</Property>
+            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
+            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
+            <Property name="UserNameAttribute">uid</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+            <Property name="ReadLDAPGroups">true</Property>
+	    <Property name="WriteLDAPGroups">true</Property>
+	    <Property name="EmptyRolesAllowed">true</Property>
+            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
+            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
+            <Property name="GroupEntryObjectClass">groupOfNames</Property>
+            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+	    <Property name="UserRolesCacheEnabled">true</Property>
+	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
+        </UserStoreManager-->
+
+	<!-- Following is the configuration for internal JDBC user store. This user store manager is based on JDBC. In case if application needs to manage 		     passwords externally set property <Property name="PasswordsExternallyManaged">true</Property>. In case if user core cache domain is needed to 			identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>. Furthermore properties, IsEmailUserName and 	     			DomainCalculation are readonly properties. 
+	     Note: Do not comment within UserStoreManager tags. Cause, specific tag names are used as tokens when building configurations for products. -->	
+        <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager">
+	    <Property name="ReadOnly">false</Property>
+            <Property name="MaxUserNameListLength">100</Property>
+            <Property name="IsEmailUserName">false</Property>
+            <Property name="DomainCalculation">default</Property>
+            <Property name="PasswordDigest">SHA-256</Property>
+            <Property name="StoreSaltedPassword">true</Property>
+            <Property name="UserNameUniqueAcrossTenants">false</Property>
+            <Property name="PasswordJavaRegEx">^[\S]{5,30}$</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="UsernameJavaRegEx">^[^~!#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+	    <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+	    <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+        </UserStoreManager>
+	
+	<!-- If product is using an external LDAP as the user store in READ ONLY mode, use following user manager.
+		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+ 	-->
+        <!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager">
+            <Property name="ReadOnly">true</Property>
+	    <Property name="MaxUserNameListLength">100</Property>
+            <Property name="ConnectionURL">ldap://localhost:10389</Property>
+            <Property name="ConnectionName">uid=admin,ou=system</Property>
+            <Property name="ConnectionPassword">admin</Property>
+            <Property name="UserSearchBase">ou=system</Property>
+            <Property name="UserNameListFilter">(objectClass=person)</Property>
+            <Property name="UserNameAttribute">uid</Property>
+            <Property name="ReadLDAPGroups">false</Property>
+            <Property name="GroupSearchBase">ou=system</Property>
+            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
+        </UserStoreManager-->
+	
+	<!-- Active directory configuration is as follows.
+	    In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+	    There are few special properties for "Active Directory". 
+	    They are : 
+	    1.Referral - (comment out this property if this feature is not reuired) This enables LDAP referral support.
+	    2.BackLinksEnabled - (Do not comment, set to true or false) In some cases LDAP works with BackLinksEnabled. In which role is stored
+	     at user level. Depending on this value we need to change the Search Base within code.
+	    3.isADLDSRole - (Do not comment) Set to true if connecting to an AD LDS instance else set to false.  
+	-->
+	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager">
+            <Property name="defaultRealmName">WSO2.ORG</Property>
+            <Property name="kdcEnabled">false</Property>
+            <Property name="ConnectionURL">ldaps://10.100.1.100:636</Property> 
+            <Property name="ConnectionName">CN=admin,CN=Users,DC=WSO2,DC=Com</Property>
+            <Property name="ConnectionPassword">A1b2c3d4</Property>
+	    <Property name="passwordHashMethod">SHA</Property>
+            <Property name="UserSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
+            <Property name="UserEntryObjectClass">user</Property>
+            <Property name="UserNameAttribute">cn</Property>
+            <Property name="isADLDSRole">false</Property>
+	    <Property name="userAccountControl">512</Property>
+            <Property name="UserNameListFilter">(objectClass=user)</Property>
+	    <Property name="UserNameSearchFilter">(&amp;(objectClass=user)(cn=?))</Property>
+            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
+            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
+	    <Property name="ReadLDAPGroups">true</Property>
+	    <Property name="WriteLDAPGroups">true</Property>
+	    <Property name="EmptyRolesAllowed">true</Property>
+            <Property name="GroupSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
+	    <Property name="GroupEntryObjectClass">group</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+            <Property name="GroupNameListFilter">(objectcategory=group)</Property>
+	    <Property name="GroupNameSearchFilter">(&amp;(objectClass=group)(cn=?))</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+            <Property name="Referral">follow</Property>
+	    <Property name="BackLinksEnabled">true</Property>
+        </UserStoreManager-->
+	
+	<!-- If product is using an external LDAP as the user store in read/write mode, use following user manager 
+		In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+	-->
+	<!--UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
+            <Property name="ConnectionURL">ldap://localhost:10389</Property>
+            <Property name="ConnectionName">uid=admin,ou=system</Property>
+            <Property name="ConnectionPassword">secret</Property>
+            <Property name="passwordHashMethod">SHA</Property>
+            <Property name="UserNameListFilter">(objectClass=person)</Property>
+	    <Property name="UserEntryObjectClass">inetOrgPerson</Property>
+            <Property name="UserSearchBase">ou=system</Property>
+            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
+            <Property name="UserNameAttribute">uid</Property>
+	    <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
+            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+	    <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;]{3,30}$</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="ReadLDAPGroups">true</Property>
+	    <Property name="WriteLDAPGroups">true</Property>
+	    <Property name="EmptyRolesAllowed">false</Property>
+            <Property name="GroupSearchBase">ou=system</Property>
+            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
+            <Property name="GroupEntryObjectClass">groupOfNames</Property>
+            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+	    <Property name="ReplaceEscapeCharactersAtUserLogin">true</Property>
+        </UserStoreManager-->
+
+	<!-- Following user manager is used by Identity Server (IS) as its default user manager. 
+	     IS will do token replacement when building the product. Therefore do not change the syntax. 
+	     If "kdcEnabled" parameter is true, IS will allow service principle management. Thus "ServicePasswordJavaRegEx", "ServiceNameJavaRegEx"
+	     properties control the service name format and service password formats.
+	     In case if user core cache domain is needed to identify uniquely set property <Property name="UserCoreCacheIdentifier">domain</Property>
+	-->
+	<!--ISUserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
+            <Property name="defaultRealmName">WSO2.ORG</Property>
+            <Property name="kdcEnabled">false</Property>
+            <Property name="ConnectionURL">ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}</Property>
+            <Property name="ConnectionName">uid=admin,ou=system</Property>
+            <Property name="ConnectionPassword">admin</Property>
+            <Property name="passwordHashMethod">SHA</Property>
+            <Property name="UserNameListFilter">(objectClass=person)</Property>
+            <Property name="UserEntryObjectClass">scimPerson</Property>
+            <Property name="UserSearchBase">ou=Users,dc=wso2,dc=org</Property>
+            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
+            <Property name="UserNameAttribute">uid</Property>
+            <Property name="PasswordJavaScriptRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="ServicePasswordJavaRegEx">^[\\S]{5,30}$</Property>
+	    <Property name="ServiceNameJavaRegEx">^[\\S]{2,30}/[\\S]{2,30}$</Property>
+            <Property name="UsernameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+            <Property name="RolenameJavaScriptRegEx">^[\\S]{3,30}$</Property>
+            <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>
+	    <Property name="ReadLDAPGroups">true</Property>
+	    <Property name="WriteLDAPGroups">true</Property>
+	    <Property name="EmptyRolesAllowed">true</Property>
+            <Property name="GroupSearchBase">ou=Groups,dc=wso2,dc=org</Property>
+            <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
+	    <Property name="GroupEntryObjectClass">groupOfNames</Property>
+            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
+            <Property name="GroupNameAttribute">cn</Property>
+            <Property name="MembershipAttribute">member</Property>
+            <Property name="UserRolesCacheEnabled">true</Property>
+	    <Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property>
+	    <Property name="SCIMEnabled">true</Property>
+        </ISUserStoreManager-->
+
+        <AuthorizationManager
+            class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager">
+            <Property name="AdminRoleManagementPermissions">/permission</Property>
+	    <Property name="AuthorizationCacheEnabled">true</Property>
+        </AuthorizationManager>
+    </Realm>
+</UserManager>
+
+<!--*******Description of some of the configuration properties used in user-mgt.xml*********************************
+UserRolesCacheEnabled - This is to indicate whether to cache role list of a user. By default it is set to true.
+                        You may need to disable it if user-roles are changed by external means and need to reflect
+                        those changes in the carbon product immediately.
+
+ReplaceEscapeCharactersAtUserLogin - This is to configure whether escape characters in user name needs to be replaced at user login.
+				     Currently the identified escape characters that needs to be replaced are '\' & '\\'
+
+UserDNPattern - This property will be used when authenticating users. During authentication we do a bind. But if the user is login with
+                email address or some other property we need to first lookup LDAP and retreive DN for the user. This involves an additional step. 
+                If UserDNPattern is specified the DN will be contructed using the pattern specified in this property. Performance of this is much better than looking
+                up DN and binding user.
+
+passwordHashMethod - This says how the password should be stored. Allowed values are as follows,
+                     SHA - Uses SHA digest method
+                     MD5 - Uses MD 5 digest method
+                     PLAIN_TEXT - Plain text passwords
+                     In addition to above this supports all digest methods supported by http://docs.oracle.com/javase/6/docs/api/java/security/MessageDigest.html.
+
+-->

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/conf/zoo.cfg
----------------------------------------------------------------------
diff --git a/products/stratos_controller/conf/zoo.cfg b/products/stratos_controller/conf/zoo.cfg
new file mode 100644
index 0000000..ca3cc26
--- /dev/null
+++ b/products/stratos_controller/conf/zoo.cfg
@@ -0,0 +1,4 @@
+tickTime=2000
+dataDir=repository/data/zookeeper
+clientPort=2181
+start_zk_server=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/cloud-service-mgt/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/cloud-service-mgt/pom.xml b/products/stratos_controller/modules/cloud-service-mgt/pom.xml
new file mode 100644
index 0000000..5e10daf
--- /dev/null
+++ b/products/stratos_controller/modules/cloud-service-mgt/pom.xml
@@ -0,0 +1,98 @@
+<!-- 
+  #  Licensed to the Apache Software Foundation (ASF) under one
+  #  or more contributor license agreements.  See the NOTICE file
+  #  distributed with this work for additional information
+  #  regarding copyright ownership.  The ASF licenses this file
+  #  to you under the Apache License, Version 2.0 (the
+  #  "License"); you may not use this file except in compliance
+  #  with the License.  You may obtain a copy of the License at
+  #  
+  #  http://www.apache.org/licenses/LICENSE-2.0
+  #  
+  #  Unless required by applicable law or agreed to in writing,
+  #  software distributed under the License is distributed on an
+  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  #  KIND, either express or implied.  See the License for the
+  #  specific language governing permissions and limitations
+  #  under the License.
+  -->
+<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.apache.stratos</groupId>
+	<artifactId>stratos-controller-parent</artifactId>
+	<version>3.0.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.apache.stratos.manager.services.mgt</artifactId>
+    <packaging>bundle</packaging>
+    <name>Apache Stratos - Cloud Manager Cloud Services Management</name>
+
+    <build>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-scr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Name>${project.artifactId}</Bundle-Name>
+                        <Private-Package>
+                            org.apache.stratos.manager.services.mgt.*,
+                        </Private-Package>
+                        <Import-Package>
+                            org.wso2.carbon.registry.core.*;version=1.0.1,
+                            !javax.xml.namespace,
+                            javax.xml.namespace; version=0.0.0,
+                            javax.servlet; version=2.4.0,
+                            javax.servlet.http; version=2.4.0,
+                            org.apache.axiom.*; version="${axiom.osgi.version.range}",
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+
+    </build>
+ <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.registry.core</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+        <!--<dependency>-->
+            <!--<groupId>org.wso2.carbon</groupId>-->
+            <!--<artifactId>org.wso2.carbon.registry.extensions</artifactId>-->
+            <!--<version>${registry-component.version}</version>-->
+        <!--</dependency>-->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.registry.resource</artifactId>
+            <version>${wso2carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.stratos.common</artifactId>
+            <version>${stratos.component.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.stratos</groupId>
+            <artifactId>org.apache.stratos.tenant.mgt</artifactId>
+            <version>${apache.stratos.version}</version>
+        </dependency>
+    </dependencies>
+   
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/beans/CloudService.java
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/beans/CloudService.java b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/beans/CloudService.java
new file mode 100644
index 0000000..7648280
--- /dev/null
+++ b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/beans/CloudService.java
@@ -0,0 +1,85 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.stratos.manager.services.mgt.beans;
+
+public class CloudService {
+    private String name;
+    private String label;
+    private String link;
+    private String icon;
+    private String description;
+    private boolean active;
+    private String productPageURL;
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getLabel() {
+        return label;
+    }
+
+    public void setLabel(String label) {
+        this.label = label;
+    }
+
+    public String getLink() {
+        return link;
+    }
+
+    public void setLink(String link) {
+        this.link = link;
+    }
+
+    public String getIcon() {
+        return icon;
+    }
+
+    public void setIcon(String icon) {
+        this.icon = icon;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    public boolean isActive() {
+        return active;
+    }
+
+    public void setActive(boolean active) {
+        this.active = active;
+    }
+
+    public String getProductPageURL() {
+        return productPageURL;
+    }
+
+    public void setProductPageURL(String productPageURL) {
+        this.productPageURL = productPageURL;
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
new file mode 100644
index 0000000..542e601
--- /dev/null
+++ b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/internal/CloudServiceMgtServiceComponent.java
@@ -0,0 +1,74 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.stratos.manager.services.mgt.internal;
+
+import org.apache.stratos.manager.services.mgt.util.Util;
+import org.wso2.carbon.registry.core.service.RegistryService;
+import org.wso2.carbon.user.core.service.RealmService;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import org.osgi.service.component.ComponentContext;
+
+/**
+ * @scr.component name="org.wso2.stratos.manager.services.mgt"
+ * immediate="true"
+ * @scr.reference name="registry.service"
+ * interface="org.wso2.carbon.registry.core.service.RegistryService" cardinality="1..1"
+ * policy="dynamic" bind="setRegistryService" unbind="unsetRegistryService"
+ * @scr.reference name="user.realmservice.default"
+ * interface="org.wso2.carbon.user.core.service.RealmService"
+ * cardinality="1..1" policy="dynamic" bind="setRealmService"
+ * unbind="unsetRealmService"
+ */
+public class CloudServiceMgtServiceComponent {
+    private static Log log = LogFactory.getLog(CloudServiceMgtServiceComponent.class);
+
+    protected void activate(ComponentContext context) {
+        try {
+            Util.loadCloudServicesConfiguration();
+            Util.loadServiceIcons();
+            log.debug("******* Cloud Manager Service Manager bundle is activated ******* ");
+        } catch (Throwable e) {
+            String msg = "******* Cloud Manager Service Manager bundle activation failed. ******* ";
+            log.error(msg, e);
+        }
+    }
+
+    protected void deactivate(ComponentContext context) {
+        log.debug("******* Cloud Manager Service Manager bundle is deactivated ******* ");
+    }
+    protected void setRegistryService(RegistryService registryService) {
+        Util.setRegistryService(registryService);
+    }
+
+    protected void unsetRegistryService(RegistryService registryService) {
+        Util.setRegistryService(null);
+    }
+
+    protected void setRealmService(RealmService realmService) {
+        Util.setRealmService(realmService);
+    }
+
+    protected void unsetRealmService(RealmService realmService) {
+        Util.setRealmService(null);
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/services/CloudManagerService.java
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/services/CloudManagerService.java b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/services/CloudManagerService.java
new file mode 100644
index 0000000..f12a4bb
--- /dev/null
+++ b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/services/CloudManagerService.java
@@ -0,0 +1,122 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.stratos.manager.services.mgt.services;
+
+import org.wso2.carbon.core.AbstractAdmin;
+import org.wso2.carbon.registry.core.session.UserRegistry;
+import org.apache.stratos.common.config.CloudServiceConfig;
+import org.apache.stratos.common.config.CloudServicesDescConfig;
+import org.apache.stratos.common.constants.StratosConstants;
+import org.apache.stratos.manager.services.mgt.beans.CloudService;
+import org.apache.stratos.manager.services.mgt.util.Util;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+public class CloudManagerService extends AbstractAdmin {
+    
+    public CloudService[] retrieveCloudServiceInfo() throws Exception {
+        UserRegistry registry = (UserRegistry)getConfigUserRegistry();
+        int tenantId = registry.getTenantId();
+
+        CloudServicesDescConfig cloudServicesDesc = Util.getCloudServicesDescConfig();
+        Map<String, CloudServiceConfig> cloudServiceConfigs =
+                cloudServicesDesc.getCloudServiceConfigs();
+        List<CloudService> cloudServices = new ArrayList<CloudService>();
+        if (cloudServiceConfigs != null) {
+            Set<String> configKeys = cloudServiceConfigs.keySet();
+            for (String configKey : configKeys) {
+                CloudServiceConfig cloudServiceConfig = cloudServiceConfigs.get(configKey);
+                String label = cloudServiceConfig.getLabel();
+                if (label == null) {
+                    // we are only returning display-able services
+                    continue;
+                }
+                CloudService cloudService = new CloudService();
+                String name = cloudServiceConfig.getName();
+                cloudService.setName(name);
+                cloudService.setLabel(label);
+                cloudService.setLink(cloudServiceConfig.getLink());
+                cloudService.setIcon(cloudServiceConfig.getIcon());
+                cloudService.setDescription(cloudServiceConfig.getDescription());
+                cloudService.setProductPageURL(cloudServiceConfig.getProductPageURL());
+                boolean active = Util.isCloudServiceActive(name, tenantId);
+                cloudService.setActive(tenantId == 0 || active);
+
+                cloudServices.add(cloudService);
+            }
+        }
+        return cloudServices.toArray(new CloudService[cloudServices.size()]);
+    }
+
+    public void saveCloudServicesActivity(String[] activeServiceNames) throws Exception {
+        UserRegistry registry = (UserRegistry)getConfigUserRegistry();
+        int tenantId = registry.getTenantId();
+
+        CloudServicesDescConfig cloudServicesDesc = Util.getCloudServicesDescConfig();
+        Map<String, CloudServiceConfig> cloudServiceConfigMap =
+                cloudServicesDesc.getCloudServiceConfigs();
+
+        List<String> activeServiceNamesList = Arrays.asList(activeServiceNames);
+        if (cloudServiceConfigMap != null) {
+            for (String cloudServiceName : cloudServiceConfigMap.keySet()) {
+                if (activeServiceNamesList.contains(cloudServiceName)) {
+                    // this should be made active
+                    if (!Util.isCloudServiceActive(cloudServiceName, tenantId)) {
+                        Util.setCloudServiceActive(true, cloudServiceName, tenantId);
+                    }
+                } else {
+                    // this should be made inactive
+                    if (Util.isCloudServiceActive(cloudServiceName, tenantId)) {
+                        Util.setCloudServiceActive(false, cloudServiceName, tenantId);
+                    }
+
+                }
+            }
+        }
+        Util.setCloudServiceActive(true, StratosConstants.CLOUD_IDENTITY_SERVICE, tenantId);
+        Util.setCloudServiceActive(true, StratosConstants.CLOUD_GOVERNANCE_SERVICE, tenantId);
+    }
+
+    public void activate(String cloudServiceName) throws Exception {
+        UserRegistry registry = (UserRegistry) getConfigUserRegistry();
+        int tenantId = registry.getTenantId();
+        if (!Util.isCloudServiceActive(cloudServiceName, tenantId)) {
+            Util.setCloudServiceActive(true, cloudServiceName, tenantId);
+        }
+    }
+
+    public void deactivate(String cloudServiceName) throws Exception {
+        if (StratosConstants.CLOUD_IDENTITY_SERVICE.equals(cloudServiceName) ||
+            StratosConstants.CLOUD_GOVERNANCE_SERVICE.equals(cloudServiceName)) {
+            // cloud identity and governance services cannot be deactivated..
+            return;
+        }
+        UserRegistry registry = (UserRegistry) getConfigUserRegistry();
+        int tenantId = registry.getTenantId();
+        if (Util.isCloudServiceActive(cloudServiceName, tenantId)) {
+            Util.setCloudServiceActive(false, cloudServiceName, tenantId);
+        }
+    }
+}
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/util/Constants.java
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/util/Constants.java b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/util/Constants.java
new file mode 100644
index 0000000..3b615b2
--- /dev/null
+++ b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/util/Constants.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.stratos.manager.services.mgt.util;
+
+public class Constants {
+    public static final String CLOUD_SERVICE_INFO_STORE_PATH =
+            "/repository/components/org.wso2.stratos/cloud-manager/cloud-services";
+    public static final String CLOUD_SERVICE_ICONS_STORE_PATH =
+            "/repository/components/org.wso2.stratos/cloud-manager/" +
+                    "cloud-services-icons";
+
+    public static final String CLOUD_SERVICE_IS_ACTIVE_PROP_KEY = "active";
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/util/Util.java
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/util/Util.java b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/util/Util.java
new file mode 100644
index 0000000..904537f
--- /dev/null
+++ b/products/stratos_controller/modules/cloud-service-mgt/src/main/java/org/apache/stratos/manager/services/mgt/util/Util.java
@@ -0,0 +1,264 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.stratos.manager.services.mgt.util;
+
+import org.wso2.carbon.registry.core.Collection;
+import org.wso2.carbon.registry.core.RegistryConstants;
+import org.wso2.carbon.registry.core.Resource;
+import org.wso2.carbon.registry.core.exceptions.RegistryException;
+import org.wso2.carbon.registry.core.service.RegistryService;
+import org.wso2.carbon.registry.core.session.UserRegistry;
+import org.apache.stratos.common.config.CloudServiceConfig;
+import org.apache.stratos.common.config.CloudServicesDescConfig;
+import org.apache.stratos.common.config.PermissionConfig;
+import org.apache.stratos.common.constants.StratosConstants;
+import org.apache.stratos.common.util.CommonUtil;
+import org.wso2.carbon.user.api.RealmConfiguration;
+import org.wso2.carbon.user.core.service.RealmService;
+import org.wso2.carbon.user.core.tenant.TenantManager;
+import org.wso2.carbon.user.mgt.UserMgtConstants;
+import org.wso2.carbon.utils.CarbonUtils;
+
+import org.apache.axiom.om.OMElement;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.activation.MimetypesFileTypeMap;
+
+public class Util {
+
+    private static final Log log = LogFactory.getLog(Util.class);
+
+    private static final String CONFIG_FILENAME = "cloud-services-desc.xml";
+
+    private static RegistryService registryService;
+    private static RealmService realmService;
+    private static CloudServicesDescConfig cloudServicesDescConfig = null;
+
+    public static synchronized void setRegistryService(RegistryService service) {
+        if ((registryService == null) || (service == null)) {
+            registryService = service;
+        }
+    }
+
+    public static RegistryService getRegistryService() {
+        return registryService;
+    }
+
+    public static synchronized void setRealmService(RealmService service) {
+        if ((realmService == null) || (service == null)) {
+            realmService = service;
+        }
+    }
+
+    public static RealmService getRealmService() {
+        return realmService;
+    }
+
+    public static TenantManager getTenantManager() {
+        return realmService.getTenantManager();
+    }
+
+    public static RealmConfiguration getBootstrapRealmConfiguration() {
+        return realmService.getBootstrapRealmConfiguration();
+    }
+
+    public static UserRegistry getTenantZeroSystemGovernanceRegistry() throws RegistryException {
+        return registryService.getGovernanceSystemRegistry();
+    }
+
+    public static UserRegistry getSystemGovernanceRegistry(int tenantId) throws RegistryException {
+        return registryService.getGovernanceSystemRegistry(tenantId);
+    }
+
+    public static UserRegistry getSystemConfigRegistry(int tenantId) throws RegistryException {
+        return registryService.getConfigSystemRegistry(tenantId);
+    }
+
+    public static void loadCloudServicesConfiguration() throws Exception {
+        // now load the cloud services configuration
+        String configFileName =
+                CarbonUtils.getCarbonConfigDirPath() + File.separator + StratosConstants.MULTITENANCY_CONFIG_FOLDER +
+                        File.separator+ CONFIG_FILENAME;
+        OMElement configElement;
+        try {
+            configElement = CommonUtil.buildOMElement(new FileInputStream(configFileName));
+        } catch (Exception e) {
+            String msg = "Error in building the cloud service configuration. config filename: " +
+                            configFileName + ".";
+            log.error(msg, e);
+            throw new Exception(msg, e);
+        }
+        cloudServicesDescConfig = new CloudServicesDescConfig(configElement);
+    }
+
+    public static CloudServicesDescConfig getCloudServicesDescConfig() {
+        return cloudServicesDescConfig;
+    }
+
+    public static CloudServiceConfig getCloudServiceConfig(String cloudServiceName) {
+        Map<String, CloudServiceConfig> cloudServiceConfigs =
+                cloudServicesDescConfig.getCloudServiceConfigs();
+        return cloudServiceConfigs.get(cloudServiceName);
+    }
+
+    public static void setCloudServiceActive(boolean active, String cloudServiceName, 
+                                             int tenantId)throws Exception {
+        CloudServiceConfig cloudServiceConfig = getCloudServiceConfig(cloudServiceName);
+        if (cloudServiceConfig.getLabel() == null) {
+            // for the non-labeled services, we are not setting/unsetting the service active
+            return;
+        }
+
+        UserRegistry tenantZeroSystemGovernanceRegistry;
+        UserRegistry systemConfigRegistry;
+        try {
+            tenantZeroSystemGovernanceRegistry = Util.getTenantZeroSystemGovernanceRegistry();
+            systemConfigRegistry = Util.getSystemConfigRegistry(tenantId);
+        } catch (RegistryException e) {
+            String msg = "Error in getting the tenant 0 system config registry";
+            log.error(msg, e);
+            throw new Exception(msg, e);
+        }
+
+        String cloudServiceInfoPath =
+                Constants.CLOUD_SERVICE_INFO_STORE_PATH + RegistryConstants.PATH_SEPARATOR +
+                        tenantId + RegistryConstants.PATH_SEPARATOR + cloudServiceName;
+        Resource cloudServiceInfoResource;
+        if (tenantZeroSystemGovernanceRegistry.resourceExists(cloudServiceInfoPath)) {
+            cloudServiceInfoResource = tenantZeroSystemGovernanceRegistry.get(cloudServiceInfoPath);
+        } else {
+            cloudServiceInfoResource = tenantZeroSystemGovernanceRegistry.newCollection();
+        }
+        cloudServiceInfoResource.setProperty(Constants.CLOUD_SERVICE_IS_ACTIVE_PROP_KEY,
+                active ? "true" : "false");
+        tenantZeroSystemGovernanceRegistry.put(cloudServiceInfoPath, cloudServiceInfoResource);
+
+        // then we will copy the permissions
+        List<PermissionConfig> permissionConfigs = cloudServiceConfig.getPermissionConfigs();
+        for (PermissionConfig permissionConfig : permissionConfigs) {
+            String path = permissionConfig.getPath();
+            String name = permissionConfig.getName();
+            if (active) {
+                if (!systemConfigRegistry.resourceExists(path)) {
+                    Collection collection = systemConfigRegistry.newCollection();
+                    collection.setProperty(UserMgtConstants.DISPLAY_NAME, name);
+                    systemConfigRegistry.put(path, collection);
+                }
+            } else {
+                if (systemConfigRegistry.resourceExists(path)) {
+                    systemConfigRegistry.delete(path);
+                }
+            }
+        }
+    }
+
+    public static boolean isCloudServiceActive(String cloudServiceName, 
+                                               int tenantId)throws Exception {
+        UserRegistry systemGovernanceRegistry;
+        try {
+            systemGovernanceRegistry = Util.getTenantZeroSystemGovernanceRegistry();
+        } catch (RegistryException e) {
+            String msg = "Error in getting the tenant 0 system config registry";
+            log.error(msg, e);
+            throw new Exception(msg, e);
+        }
+
+        String cloudServiceInfoPath =
+                Constants.CLOUD_SERVICE_INFO_STORE_PATH + RegistryConstants.PATH_SEPARATOR +
+                        tenantId + RegistryConstants.PATH_SEPARATOR + cloudServiceName;
+        
+        if (systemGovernanceRegistry.resourceExists(cloudServiceInfoPath)) {
+            Resource cloudServiceInfoResource = systemGovernanceRegistry.get(cloudServiceInfoPath);
+            String isActiveStr = cloudServiceInfoResource.getProperty(
+                    Constants.CLOUD_SERVICE_IS_ACTIVE_PROP_KEY);
+            return "true".equals(isActiveStr);
+        }
+        
+        return false;
+    }
+
+    /**
+     * Currently this is not used, as the icons are loaded from the webapps
+     * 
+     * @throws Exception
+     */
+    public static void loadServiceIcons() throws Exception {
+        String serviceIconDirLocation =
+                CarbonUtils.getCarbonHome() + "/resources/cloud-service-icons";
+        File serviceIconDirDir = new File(serviceIconDirLocation);
+        UserRegistry registry = getTenantZeroSystemGovernanceRegistry();
+        try {
+            // adding the common media types
+            Map<String, String> extensionToMediaTypeMap = new HashMap<String, String>();
+            extensionToMediaTypeMap.put("gif", "img/gif");
+            extensionToMediaTypeMap.put("jpg", "img/gif");
+            extensionToMediaTypeMap.put("png", "img/png");
+
+            File[] filesAndDirs = serviceIconDirDir.listFiles();
+            if (filesAndDirs == null) {
+                return;
+            }
+            List<File> filesDirs = Arrays.asList(filesAndDirs);
+
+            for (File file : filesDirs) {
+                String filename = file.getName();
+                String fileRegistryPath = Constants.CLOUD_SERVICE_ICONS_STORE_PATH +
+                                RegistryConstants.PATH_SEPARATOR + filename;
+
+                // Add the file to registry
+                Resource newResource = registry.newResource();
+                String mediaType = null;
+                if (filename.contains(".")) {
+                    String fileExt = filename.substring(filename.lastIndexOf(".") + 1);
+                    mediaType = extensionToMediaTypeMap.get(fileExt.toLowerCase());
+                }
+                if (mediaType == null) {
+                    mediaType = new MimetypesFileTypeMap().getContentType(file);
+                }
+                newResource.setMediaType(mediaType);
+                newResource.setContentStream(new FileInputStream(file));
+                registry.put(fileRegistryPath, newResource);
+            }
+        } catch (Exception e) {
+            String msg = "Error loading icons to the system registry for registry path: " +
+                            Constants.CLOUD_SERVICE_ICONS_STORE_PATH;
+            log.error(msg, e);
+            throw new Exception(msg, e);
+        }
+
+        try {
+            CommonUtil.setAnonAuthorization(RegistryConstants.GOVERNANCE_REGISTRY_BASE_PATH + 
+                    Constants.CLOUD_SERVICE_ICONS_STORE_PATH, registry.getUserRealm());
+        } catch (RegistryException e) {
+            String msg = "Setting the annon access enabled for the services icons paths.";
+            log.error(msg, e);
+            throw new Exception(msg, e);
+        }
+
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml b/products/stratos_controller/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
new file mode 100644
index 0000000..29bdc6b
--- /dev/null
+++ b/products/stratos_controller/modules/cloud-service-mgt/src/main/resources/META-INF/component.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  #  Licensed to the Apache Software Foundation (ASF) under one
+  #  or more contributor license agreements.  See the NOTICE file
+  #  distributed with this work for additional information
+  #  regarding copyright ownership.  The ASF licenses this file
+  #  to you under the Apache License, Version 2.0 (the
+  #  "License"); you may not use this file except in compliance
+  #  with the License.  You may obtain a copy of the License at
+  #
+  #  http://www.apache.org/licenses/LICENSE-2.0
+  #
+  #  Unless required by applicable law or agreed to in writing,
+  #  software distributed under the License is distributed on an
+  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  #  KIND, either express or implied.  See the License for the
+  #  specific language governing permissions and limitations
+  #  under the License.
+  -->
+
+<component xmlns="http://products.wso2.org/carbon">
+    <ManagementPermissions>
+        <ManagementPermission>
+            <DisplayName>Configure</DisplayName>
+            <ResourceId>/permission/admin/configure</ResourceId>
+        </ManagementPermission>
+        <ManagementPermission>
+            <DisplayName>Cloud-Services</DisplayName>
+            <ResourceId>/permission/admin/configure/cloud-services</ResourceId>
+        </ManagementPermission>
+   </ManagementPermissions>
+</component>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos_controller/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml b/products/stratos_controller/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
new file mode 100644
index 0000000..efc772e
--- /dev/null
+++ b/products/stratos_controller/modules/cloud-service-mgt/src/main/resources/META-INF/services.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  #  Licensed to the Apache Software Foundation (ASF) under one
+  #  or more contributor license agreements.  See the NOTICE file
+  #  distributed with this work for additional information
+  #  regarding copyright ownership.  The ASF licenses this file
+  #  to you under the Apache License, Version 2.0 (the
+  #  "License"); you may not use this file except in compliance
+  #  with the License.  You may obtain a copy of the License at
+  #
+  #  http://www.apache.org/licenses/LICENSE-2.0
+  #
+  #  Unless required by applicable law or agreed to in writing,
+  #  software distributed under the License is distributed on an
+  #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  #  KIND, either express or implied.  See the License for the
+  #  specific language governing permissions and limitations
+  #  under the License.
+  -->
+<serviceGroup>
+    <service name="CloudManagerService" scope="transportsession">
+        <transports>
+            <transport>https</transport>
+        </transports>
+        <parameter name="ServiceClass" locked="false">
+            org.apache.stratos.manager.services.mgt.services.CloudManagerService
+        </parameter>
+        <operation name="retrieveCloudServiceInfo">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/login</parameter>
+        </operation>
+        <operation name="saveCloudServicesActivity">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
+        </operation>
+        <operation name="activate">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
+        </operation>
+        <operation name="deactivate">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/cloud-services</parameter>
+        </operation>
+    </service>
+    <parameter name="adminService" locked="true">true</parameter>
+    <parameter name="hiddenService" locked="true">true</parameter>
+</serviceGroup>


[37/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.js b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.js
deleted file mode 100755
index 6ecf0fa..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(jQuery,undefined){jQuery.ui=jQuery.ui||{};if(jQuery.ui.version){return}jQuery.extend(jQuery.ui,{version:"1.8.14",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});jQuery.fn.extend({_focus:jQuery.fn.focus,focus:function(delay,fn){return typeof delay==="number"?this.each(function(){var elem=this;setTimeout(function(){jQuery(elem).focus();if(fn){fn.call(elem)}},delay)}):this._focus.apply(this,arguments)},scrollParent:function(){var scrollParent;if((jQuery.browser.msie&&(/(static|relative)/).test(this.css('position')))||(/absolute/).test(this.css('position'))){scrollParent=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(jQuery
 .curCSS(this,'position',1))&&(/(auto|scroll)/).test(jQuery.curCSS(this,'overflow',1)+jQuery.curCSS(this,'overflow-y',1)+jQuery.curCSS(this,'overflow-x',1))}).eq(0)}else{scrollParent=this.parents().filter(function(){return(/(auto|scroll)/).test(jQuery.curCSS(this,'overflow',1)+jQuery.curCSS(this,'overflow-y',1)+jQuery.curCSS(this,'overflow-x',1))}).eq(0)}return(/fixed/).test(this.css('position'))||!scrollParent.length?jQuery(document):scrollParent},zIndex:function(zIndex){if(zIndex!==undefined){return this.css("zIndex",zIndex)}if(this.length){var elem=jQuery(this[0]),position,value;while(elem.length&&elem[0]!==document){position=elem.css("position");if(position==="absolute"||position==="relative"||position==="fixed"){value=parseInt(elem.css("zIndex"),10);if(!isNaN(value)&&value!==0){return value}}elem=elem.parent()}}return 0},disableSelection:function(){return this.bind((jQuery.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(event){event.preventDefault(
 )})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});jQuery.each(["Width","Height"],function(i,name){var side=name==="Width"?["Left","Right"]:["Top","Bottom"],type=name.toLowerCase(),orig={innerWidth:jQuery.fn.innerWidth,innerHeight:jQuery.fn.innerHeight,outerWidth:jQuery.fn.outerWidth,outerHeight:jQuery.fn.outerHeight};function reduce(elem,size,border,margin){jQuery.each(side,function(){size-=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;if(border){size-=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0}if(margin){size-=parseFloat(jQuery.curCSS(elem,"margin"+this,true))||0}});return size}jQuery.fn["inner"+name]=function(size){if(size===undefined){return orig["inner"+name].call(this)}return this.each(function(){jQuery(this).css(type,reduce(this,size)+"px")})};jQuery.fn["outer"+name]=function(size,margin){if(typeof size!=="number"){return orig["outer"+name].call(this,size)}return this.each(function(){jQuery(this).css(type,reduce(this,size
 ,true,margin)+"px")})}});function focusable(element,isTabIndexNotNaN){var nodeName=element.nodeName.toLowerCase();if("area"===nodeName){var map=element.parentNode,mapName=map.name,img;if(!element.href||!mapName||map.nodeName.toLowerCase()!=="map"){return false}img=jQuery("img[usemap=#"+mapName+"]")[0];return!!img&&visible(img)}return(/input|select|textarea|button|object/.test(nodeName)?!element.disabled:"a"==nodeName?element.href||isTabIndexNotNaN:isTabIndexNotNaN)&&visible(element)}function visible(element){return!jQuery(element).parents().andSelf().filter(function(){return jQuery.curCSS(this,"visibility")==="hidden"||jQuery.expr.filters.hidden(this)}).length}jQuery.extend(jQuery.expr[":"],{data:function(elem,i,match){return!!jQuery.data(elem,match[3])},focusable:function(element){return focusable(element,!isNaN(jQuery.attr(element,"tabindex")))},tabbable:function(element){var tabIndex=jQuery.attr(element,"tabindex"),isTabIndexNaN=isNaN(tabIndex);return(isTabIndexNaN||tabIndex>=0)&
 &focusable(element,!isTabIndexNaN)}});jQuery(function(){var body=document.body,div=body.appendChild(div=document.createElement("div"));jQuery.extend(div.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});jQuery.support.minHeight=div.offsetHeight===100;jQuery.support.selectstart="onselectstart"in div;body.removeChild(div).style.display="none"});jQuery.extend(jQuery.ui,{plugin:{add:function(module,option,set){var proto=jQuery.ui[module].prototype;for(var i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]])}},call:function(instance,name,args){var set=instance.plugins[name];if(!set||!instance.element[0].parentNode){return}for(var i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args)}}}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(el,a){if(jQuery(el).css("overflow")==="hidden"){return false}var scroll=(a&&a==="l
 eft")?"scrollLeft":"scrollTop",has=false;if(el[scroll]>0){return true}el[scroll]=1;has=(el[scroll]>0);el[scroll]=0;return has},isOverAxis:function(x,reference,size){return(x>reference)&&(x<(reference+size))},isOver:function(y,x,top,left,height,width){return jQuery.ui.isOverAxis(y,top,height)&&jQuery.ui.isOverAxis(x,left,width)}})})(jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.min.js b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.min.js
deleted file mode 100755
index 577548e..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.core.min.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*!
- * jQuery UI 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI
- */
-(function(c,j){function k(a,b){var d=a.nodeName.toLowerCase();if("area"===d){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&l(a)}return(/input|select|textarea|button|object/.test(d)?!a.disabled:"a"==d?a.href||b:b)&&l(a)}function l(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.14",
-keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();
-b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,
-"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",
-function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,m,n){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(m)g-=parseFloat(c.curCSS(f,"border"+this+"Width",true))||0;if(n)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,
-outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){return k(a,!isNaN(c.attr(a,"tabindex")))},tabbable:function(a){var b=c.attr(a,"tabindex"),d=isNaN(b);
-return(d||b>=0)&&k(a,!d)}});c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=
-0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.tabs.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.tabs.min.js b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.tabs.min.js
deleted file mode 100755
index 11a67c1..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.tabs.min.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * jQuery UI Tabs 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Tabs
- *
- * Depends:
- *	jquery.ui.core.js
- *	jquery.ui.widget.js
- */
-(function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b=="selected")this.options.collapsible&&
-e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=
-d(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){function e(g,f){g.css("display","");!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr("href"),l=i.split("#")[0],q;if(l&&(l===location.toString().split("#")[0]||
-(q=d("base")[0])&&l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&&i!=="#"){d.data(f,"href.tabs",i);d.data(f,"load.tabs",i.replace(/#.*$/,""));i=a._tabId(f);f.href="#"+i;f=a.element.find("#"+i);if(!f.length){f=d(c.panelTemplate).attr("id",i).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
-this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(c.selected===p){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!=="number"&&c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)c.selected=
-this.lis.index(this.lis.filter(".ui-tabs-selected"));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected>=0&&this.anchors[c.selected]||c.selected<0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&&c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
-if(c.selected>=0&&this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(c.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));
-this.element[c.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");c.cookie&&this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&&!d(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");c.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(c.event!=="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+
-g)};this.lis.bind("mouseover.tabs",function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal",
-function(){e(f,o);a._trigger("show",null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")};
-this.anchors.bind(c.event+".tabs",function(){var g=this,f=d(g).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass("ui-tabs-selected")&&!c.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a.panels.filter(":animated").length||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass("ui-tabs-selected")){c.selected=
--1;c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.length){i.length&&a.element.queue("tabs",function(){s(g,i)});a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";
-d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e=
-d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});b.cookie&&this._cookie(null,b.cookie);return this},add:function(b,
-e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf("#")?b.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var j=c.element.find("#"+b);j.length||(j=d(h.panelTemplate).attr("id",b).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]);
-j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove();
-if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1<this.anchors.length?1:-1));e.disabled=d.map(d.grep(e.disabled,function(h){return h!=b}),function(h){return h>=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger("enable",null,
-this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this},
-load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c,
-"cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
-url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.14"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k<a.anchors.length?k:0)},b);j&&j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&&
-a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind("tabsshow",h);this.anchors.bind(c.event+".tabs",e);h()}else{clearTimeout(a.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(c.event+".tabs",e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.widget.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.widget.min.js b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.widget.min.js
deleted file mode 100755
index 39ab91a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.ui.widget.min.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*!
- * jQuery UI Widget 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Widget
- */
-(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
-a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
-e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
-this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
-widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
-enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.validate.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.validate.js b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.validate.js
deleted file mode 100755
index c602148..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/jquery.validate.js
+++ /dev/null
@@ -1,1166 +0,0 @@
-/**
- * jQuery Validation Plugin 1.8.1
- *
- * http://bassistance.de/jquery-plugins/jquery-plugin-validation/
- * http://docs.jquery.com/Plugins/Validation
- *
- * Copyright (c) 2006 - 2011 Jörn Zaefferer
- *
- * Dual licensed under the MIT and GPL licenses:
- *   http://www.opensource.org/licenses/mit-license.php
- *   http://www.gnu.org/licenses/gpl.html
- */
-
-(function(jQuery) {
-
-jQuery.extend(jQuery.fn, {
-	// http://docs.jquery.com/Plugins/Validation/validate
-	validate: function( options ) {
-
-		// if nothing is selected, return nothing; can't chain anyway
-		if (!this.length) {
-			options && options.debug && window.console && console.warn( "nothing selected, can't validate, returning nothing" );
-			return;
-		}
-
-		// check if a validator for this form was already created
-		var validator = jQuery.data(this[0], 'validator');
-		if ( validator ) {
-			return validator;
-		}
-
-		validator = new jQuery.validator( options, this[0] );
-		jQuery.data(this[0], 'validator', validator);
-
-		if ( validator.settings.onsubmit ) {
-
-			// allow suppresing validation by adding a cancel class to the submit button
-			this.find("input, button").filter(".cancel").click(function() {
-				validator.cancelSubmit = true;
-			});
-
-			// when a submitHandler is used, capture the submitting button
-			if (validator.settings.submitHandler) {
-				this.find("input, button").filter(":submit").click(function() {
-					validator.submitButton = this;
-				});
-			}
-
-			// validate the form on submit
-			this.submit( function( event ) {
-				if ( validator.settings.debug )
-					// prevent form submit to be able to see console output
-					event.preventDefault();
-
-				function handle() {
-					if ( validator.settings.submitHandler ) {
-						if (validator.submitButton) {
-							// insert a hidden input as a replacement for the missing submit button
-							var hidden = jQuery("<input type='hidden'/>").attr("name", validator.submitButton.name).val(validator.submitButton.value).appendTo(validator.currentForm);
-						}
-						validator.settings.submitHandler.call( validator, validator.currentForm );
-						if (validator.submitButton) {
-							// and clean up afterwards; thanks to no-block-scope, hidden can be referenced
-							hidden.remove();
-						}
-						return false;
-					}
-					return true;
-				}
-
-				// prevent submit for invalid forms or custom submit handlers
-				if ( validator.cancelSubmit ) {
-					validator.cancelSubmit = false;
-					return handle();
-				}
-				if ( validator.form() ) {
-					if ( validator.pendingRequest ) {
-						validator.formSubmitted = true;
-						return false;
-					}
-					return handle();
-				} else {
-					validator.focusInvalid();
-					return false;
-				}
-			});
-		}
-
-		return validator;
-	},
-	// http://docs.jquery.com/Plugins/Validation/valid
-	valid: function() {
-        if ( jQuery(this[0]).is('form')) {
-            return this.validate().form();
-        } else {
-            var valid = true;
-            var validator = jQuery(this[0].form).validate();
-            this.each(function() {
-				valid &= validator.element(this);
-            });
-            return valid;
-        }
-    },
-	// attributes: space seperated list of attributes to retrieve and remove
-	removeAttrs: function(attributes) {
-		var result = {},
-			$element = this;
-		jQuery.each(attributes.split(/\s/), function(index, value) {
-			result[value] = $element.attr(value);
-			$element.removeAttr(value);
-		});
-		return result;
-	},
-	// http://docs.jquery.com/Plugins/Validation/rules
-	rules: function(command, argument) {
-		var element = this[0];
-
-		if (command) {
-			var settings = jQuery.data(element.form, 'validator').settings;
-			var staticRules = settings.rules;
-			var existingRules = jQuery.validator.staticRules(element);
-			switch(command) {
-			case "add":
-				jQuery.extend(existingRules, jQuery.validator.normalizeRule(argument));
-				staticRules[element.name] = existingRules;
-				if (argument.messages)
-					settings.messages[element.name] = jQuery.extend( settings.messages[element.name], argument.messages );
-				break;
-			case "remove":
-				if (!argument) {
-					delete staticRules[element.name];
-					return existingRules;
-				}
-				var filtered = {};
-				jQuery.each(argument.split(/\s/), function(index, method) {
-					filtered[method] = existingRules[method];
-					delete existingRules[method];
-				});
-				return filtered;
-			}
-		}
-
-		var data = jQuery.validator.normalizeRules(
-		jQuery.extend(
-			{},
-			jQuery.validator.metadataRules(element),
-			jQuery.validator.classRules(element),
-			jQuery.validator.attributeRules(element),
-			jQuery.validator.staticRules(element)
-		), element);
-
-		// make sure required is at front
-		if (data.required) {
-			var param = data.required;
-			delete data.required;
-			data = jQuery.extend({required: param}, data);
-		}
-
-		return data;
-	}
-});
-
-// Custom selectors
-jQuery.extend(jQuery.expr[":"], {
-	// http://docs.jquery.com/Plugins/Validation/blank
-	blank: function(a) {return !jQuery.trim("" + a.value);},
-	// http://docs.jquery.com/Plugins/Validation/filled
-	filled: function(a) {return !!jQuery.trim("" + a.value);},
-	// http://docs.jquery.com/Plugins/Validation/unchecked
-	unchecked: function(a) {return !a.checked;}
-});
-
-// constructor for validator
-jQuery.validator = function( options, form ) {
-	this.settings = jQuery.extend( true, {}, jQuery.validator.defaults, options );
-	this.currentForm = form;
-	this.init();
-};
-
-jQuery.validator.format = function(source, params) {
-	if ( arguments.length == 1 )
-		return function() {
-			var args = jQuery.makeArray(arguments);
-			args.unshift(source);
-			return jQuery.validator.format.apply( this, args );
-		};
-	if ( arguments.length > 2 && params.constructor != Array  ) {
-		params = jQuery.makeArray(arguments).slice(1);
-	}
-	if ( params.constructor != Array ) {
-		params = [ params ];
-	}
-	jQuery.each(params, function(i, n) {
-		source = source.replace(new RegExp("\\{" + i + "\\}", "g"), n);
-	});
-	return source;
-};
-
-jQuery.extend(jQuery.validator, {
-
-	defaults: {
-		messages: {},
-		groups: {},
-		rules: {},
-		errorClass: "error",
-		validClass: "valid",
-		errorElement: "label",
-		focusInvalid: true,
-		errorContainer: jQuery( [] ),
-		errorLabelContainer: jQuery( [] ),
-		onsubmit: true,
-		ignore: [],
-		ignoreTitle: false,
-		onfocusin: function(element) {
-			this.lastActive = element;
-
-			// hide error label and remove error class on focus if enabled
-			if ( this.settings.focusCleanup && !this.blockFocusCleanup ) {
-				this.settings.unhighlight && this.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.validClass );
-				this.addWrapper(this.errorsFor(element)).hide();
-			}
-		},
-		onfocusout: function(element) {
-			if ( !this.checkable(element) && (element.name in this.submitted || !this.optional(element)) ) {
-				this.element(element);
-			}
-		},
-		onkeyup: function(element) {
-			if ( element.name in this.submitted || element == this.lastElement ) {
-				this.element(element);
-			}
-		},
-		onclick: function(element) {
-			// click on selects, radiobuttons and checkboxes
-			if ( element.name in this.submitted )
-				this.element(element);
-			// or option elements, check parent select in that case
-			else if (element.parentNode.name in this.submitted)
-				this.element(element.parentNode);
-		},
-		highlight: function(element, errorClass, validClass) {
-			if (element.type === 'radio') {
-				this.findByName(element.name).addClass(errorClass).removeClass(validClass);
-			} else {
-				jQuery(element).addClass(errorClass).removeClass(validClass);
-			}
-		},
-		unhighlight: function(element, errorClass, validClass) {
-			if (element.type === 'radio') {
-				this.findByName(element.name).removeClass(errorClass).addClass(validClass);
-			} else {
-				jQuery(element).removeClass(errorClass).addClass(validClass);
-			}
-		}
-	},
-
-	// http://docs.jquery.com/Plugins/Validation/Validator/setDefaults
-	setDefaults: function(settings) {
-		jQuery.extend( jQuery.validator.defaults, settings );
-	},
-
-	messages: {
-		required: "This field is required.",
-		remote: "Please fix this field.",
-		email: "Please enter a valid email address.",
-		url: "Please enter a valid URL.",
-		date: "Please enter a valid date.",
-		dateISO: "Please enter a valid date (ISO).",
-		number: "Please enter a valid number.",
-		digits: "Please enter only digits.",
-		creditcard: "Please enter a valid credit card number.",
-		equalTo: "Please enter the same value again.",
-		accept: "Please enter a value with a valid extension.",
-		maxlength: jQuery.validator.format("Please enter no more than {0} characters."),
-		minlength: jQuery.validator.format("Please enter at least {0} characters."),
-		rangelength: jQuery.validator.format("Please enter a value between {0} and {1} characters long."),
-		range: jQuery.validator.format("Please enter a value between {0} and {1}."),
-		max: jQuery.validator.format("Please enter a value less than or equal to {0}."),
-		min: jQuery.validator.format("Please enter a value greater than or equal to {0}.")
-	},
-
-	autoCreateRanges: false,
-
-	prototype: {
-
-		init: function() {
-			this.labelContainer = jQuery(this.settings.errorLabelContainer);
-			this.errorContext = this.labelContainer.length && this.labelContainer || jQuery(this.currentForm);
-			this.containers = jQuery(this.settings.errorContainer).add( this.settings.errorLabelContainer );
-			this.submitted = {};
-			this.valueCache = {};
-			this.pendingRequest = 0;
-			this.pending = {};
-			this.invalid = {};
-			this.reset();
-
-			var groups = (this.groups = {});
-			jQuery.each(this.settings.groups, function(key, value) {
-				jQuery.each(value.split(/\s/), function(index, name) {
-					groups[name] = key;
-				});
-			});
-			var rules = this.settings.rules;
-			jQuery.each(rules, function(key, value) {
-				rules[key] = jQuery.validator.normalizeRule(value);
-			});
-
-			function delegate(event) {
-				var validator = jQuery.data(this[0].form, "validator"),
-					eventType = "on" + event.type.replace(/^validate/, "");
-				validator.settings[eventType] && validator.settings[eventType].call(validator, this[0] );
-			}
-			jQuery(this.currentForm)
-				.validateDelegate(":text, :password, :file, select, textarea", "focusin focusout keyup", delegate)
-				.validateDelegate(":radio, :checkbox, select, option", "click", delegate);
-
-			if (this.settings.invalidHandler)
-				jQuery(this.currentForm).bind("invalid-form.validate", this.settings.invalidHandler);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Validator/form
-		form: function() {
-			this.checkForm();
-			jQuery.extend(this.submitted, this.errorMap);
-			this.invalid = jQuery.extend({}, this.errorMap);
-			if (!this.valid())
-				jQuery(this.currentForm).triggerHandler("invalid-form", [this]);
-			this.showErrors();
-			return this.valid();
-		},
-
-		checkForm: function() {
-			this.prepareForm();
-			for ( var i = 0, elements = (this.currentElements = this.elements()); elements[i]; i++ ) {
-				this.check( elements[i] );
-			}
-			return this.valid();
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Validator/element
-		element: function( element ) {
-			element = this.clean( element );
-			this.lastElement = element;
-			this.prepareElement( element );
-			this.currentElements = jQuery(element);
-			var result = this.check( element );
-			if ( result ) {
-				delete this.invalid[element.name];
-			} else {
-				this.invalid[element.name] = true;
-			}
-			if ( !this.numberOfInvalids() ) {
-				// Hide error containers on last error
-				this.toHide = this.toHide.add( this.containers );
-			}
-			this.showErrors();
-			return result;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Validator/showErrors
-		showErrors: function(errors) {
-			if(errors) {
-				// add items to error list and map
-				jQuery.extend( this.errorMap, errors );
-				this.errorList = [];
-				for ( var name in errors ) {
-					this.errorList.push({
-						message: errors[name],
-						element: this.findByName(name)[0]
-					});
-				}
-				// remove items from success list
-				this.successList = jQuery.grep( this.successList, function(element) {
-					return !(element.name in errors);
-				});
-			}
-			this.settings.showErrors
-				? this.settings.showErrors.call( this, this.errorMap, this.errorList )
-				: this.defaultShowErrors();
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Validator/resetForm
-		resetForm: function() {
-			if ( jQuery.fn.resetForm )
-				jQuery( this.currentForm ).resetForm();
-			this.submitted = {};
-			this.prepareForm();
-			this.hideErrors();
-			this.elements().removeClass( this.settings.errorClass );
-		},
-
-		numberOfInvalids: function() {
-			return this.objectLength(this.invalid);
-		},
-
-		objectLength: function( obj ) {
-			var count = 0;
-			for ( var i in obj )
-				count++;
-			return count;
-		},
-
-		hideErrors: function() {
-			this.addWrapper( this.toHide ).hide();
-		},
-
-		valid: function() {
-			return this.size() == 0;
-		},
-
-		size: function() {
-			return this.errorList.length;
-		},
-
-		focusInvalid: function() {
-			if( this.settings.focusInvalid ) {
-				try {
-					jQuery(this.findLastActive() || this.errorList.length && this.errorList[0].element || [])
-					.filter(":visible")
-					.focus()
-					// manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find
-					.trigger("focusin");
-				} catch(e) {
-					// ignore IE throwing errors when focusing hidden elements
-				}
-			}
-		},
-
-		findLastActive: function() {
-			var lastActive = this.lastActive;
-			return lastActive && jQuery.grep(this.errorList, function(n) {
-				return n.element.name == lastActive.name;
-			}).length == 1 && lastActive;
-		},
-
-		elements: function() {
-			var validator = this,
-				rulesCache = {};
-
-			// select all valid inputs inside the form (no submit or reset buttons)
-			return jQuery(this.currentForm)
-			.find("input, select, textarea")
-			.not(":submit, :reset, :image, [disabled]")
-			.not( this.settings.ignore )
-			.filter(function() {
-				!this.name && validator.settings.debug && window.console && console.error( "%o has no name assigned", this);
-
-				// select only the first element for each name, and only those with rules specified
-				if ( this.name in rulesCache || !validator.objectLength(jQuery(this).rules()) )
-					return false;
-
-				rulesCache[this.name] = true;
-				return true;
-			});
-		},
-
-		clean: function( selector ) {
-			return jQuery( selector )[0];
-		},
-
-		errors: function() {
-			return jQuery( this.settings.errorElement + "." + this.settings.errorClass, this.errorContext );
-		},
-
-		reset: function() {
-			this.successList = [];
-			this.errorList = [];
-			this.errorMap = {};
-			this.toShow = jQuery([]);
-			this.toHide = jQuery([]);
-			this.currentElements = jQuery([]);
-		},
-
-		prepareForm: function() {
-			this.reset();
-			this.toHide = this.errors().add( this.containers );
-		},
-
-		prepareElement: function( element ) {
-			this.reset();
-			this.toHide = this.errorsFor(element);
-		},
-
-		check: function( element ) {
-			element = this.clean( element );
-
-			// if radio/checkbox, validate first element in group instead
-			if (this.checkable(element)) {
-				element = this.findByName( element.name ).not(this.settings.ignore)[0];
-			}
-
-			var rules = jQuery(element).rules();
-			var dependencyMismatch = false;
-			for (var method in rules ) {
-				var rule = { method: method, parameters: rules[method] };
-				try {
-					var result = jQuery.validator.methods[method].call( this, element.value.replace(/\r/g, ""), element, rule.parameters );
-
-					// if a method indicates that the field is optional and therefore valid,
-					// don't mark it as valid when there are no other rules
-					if ( result == "dependency-mismatch" ) {
-						dependencyMismatch = true;
-						continue;
-					}
-					dependencyMismatch = false;
-
-					if ( result == "pending" ) {
-						this.toHide = this.toHide.not( this.errorsFor(element) );
-						return;
-					}
-
-					if( !result ) {
-						this.formatAndAdd( element, rule );
-						return false;
-					}
-				} catch(e) {
-					this.settings.debug && window.console && console.log("exception occured when checking element " + element.id
-						 + ", check the '" + rule.method + "' method", e);
-					throw e;
-				}
-			}
-			if (dependencyMismatch)
-				return;
-			if ( this.objectLength(rules) )
-				this.successList.push(element);
-			return true;
-		},
-
-		// return the custom message for the given element and validation method
-		// specified in the element's "messages" metadata
-		customMetaMessage: function(element, method) {
-			if (!jQuery.metadata)
-				return;
-
-			var meta = this.settings.meta
-				? jQuery(element).metadata()[this.settings.meta]
-				: jQuery(element).metadata();
-
-			return meta && meta.messages && meta.messages[method];
-		},
-
-		// return the custom message for the given element name and validation method
-		customMessage: function( name, method ) {
-			var m = this.settings.messages[name];
-			return m && (m.constructor == String
-				? m
-				: m[method]);
-		},
-
-		// return the first defined argument, allowing empty strings
-		findDefined: function() {
-			for(var i = 0; i < arguments.length; i++) {
-				if (arguments[i] !== undefined)
-					return arguments[i];
-			}
-			return undefined;
-		},
-
-		defaultMessage: function( element, method) {
-			return this.findDefined(
-				this.customMessage( element.name, method ),
-				this.customMetaMessage( element, method ),
-				// title is never undefined, so handle empty string as undefined
-				!this.settings.ignoreTitle && element.title || undefined,
-				jQuery.validator.messages[method],
-				"<strong>Warning: No message defined for " + element.name + "</strong>"
-			);
-		},
-
-		formatAndAdd: function( element, rule ) {
-			var message = this.defaultMessage( element, rule.method ),
-				theregex = /\$?\{(\d+)\}/g;
-			if ( typeof message == "function" ) {
-				message = message.call(this, rule.parameters, element);
-			} else if (theregex.test(message)) {
-				message = jQuery.format(message.replace(theregex, '{$1}'), rule.parameters);
-			}
-			this.errorList.push({
-				message: message,
-				element: element
-			});
-
-			this.errorMap[element.name] = message;
-			this.submitted[element.name] = message;
-		},
-
-		addWrapper: function(toToggle) {
-			if ( this.settings.wrapper )
-				toToggle = toToggle.add( toToggle.parent( this.settings.wrapper ) );
-			return toToggle;
-		},
-
-		defaultShowErrors: function() {
-			for ( var i = 0; this.errorList[i]; i++ ) {
-				var error = this.errorList[i];
-				this.settings.highlight && this.settings.highlight.call( this, error.element, this.settings.errorClass, this.settings.validClass );
-				this.showLabel( error.element, error.message );
-			}
-			if( this.errorList.length ) {
-				this.toShow = this.toShow.add( this.containers );
-			}
-			if (this.settings.success) {
-				for ( var i = 0; this.successList[i]; i++ ) {
-					this.showLabel( this.successList[i] );
-				}
-			}
-			if (this.settings.unhighlight) {
-				for ( var i = 0, elements = this.validElements(); elements[i]; i++ ) {
-					this.settings.unhighlight.call( this, elements[i], this.settings.errorClass, this.settings.validClass );
-				}
-			}
-			this.toHide = this.toHide.not( this.toShow );
-			this.hideErrors();
-			this.addWrapper( this.toShow ).show();
-		},
-
-		validElements: function() {
-			return this.currentElements.not(this.invalidElements());
-		},
-
-		invalidElements: function() {
-			return jQuery(this.errorList).map(function() {
-				return this.element;
-			});
-		},
-
-		showLabel: function(element, message) {
-			var label = this.errorsFor( element );
-			if ( label.length ) {
-				// refresh error/success class
-				label.removeClass().addClass( this.settings.errorClass );
-
-				// check if we have a generated label, replace the message then
-				label.attr("generated") && label.html(message);
-			} else {
-				// create label
-				label = jQuery("<" + this.settings.errorElement + "/>")
-					.attr({"for":  this.idOrName(element), generated: true})
-					.addClass(this.settings.errorClass)
-					.html(message || "");
-				if ( this.settings.wrapper ) {
-					// make sure the element is visible, even in IE
-					// actually showing the wrapped element is handled elsewhere
-					label = label.hide().show().wrap("<" + this.settings.wrapper + "/>").parent();
-				}
-				if ( !this.labelContainer.append(label).length )
-					this.settings.errorPlacement
-						? this.settings.errorPlacement(label, jQuery(element) )
-						: label.insertAfter(element);
-			}
-			if ( !message && this.settings.success ) {
-				label.text("");
-				typeof this.settings.success == "string"
-					? label.addClass( this.settings.success )
-					: this.settings.success( label );
-			}
-			this.toShow = this.toShow.add(label);
-		},
-
-		errorsFor: function(element) {
-			var name = this.idOrName(element);
-    		return this.errors().filter(function() {
-				return jQuery(this).attr('for') == name;
-			});
-		},
-
-		idOrName: function(element) {
-			return this.groups[element.name] || (this.checkable(element) ? element.name : element.id || element.name);
-		},
-
-		checkable: function( element ) {
-			return /radio|checkbox/i.test(element.type);
-		},
-
-		findByName: function( name ) {
-			// select by name and filter by form for performance over form.find("[name=...]")
-			var form = this.currentForm;
-			return jQuery(document.getElementsByName(name)).map(function(index, element) {
-				return element.form == form && element.name == name && element  || null;
-			});
-		},
-
-		getLength: function(value, element) {
-			switch( element.nodeName.toLowerCase() ) {
-			case 'select':
-				return jQuery("option:selected", element).length;
-			case 'input':
-				if( this.checkable( element) )
-					return this.findByName(element.name).filter(':checked').length;
-			}
-			return value.length;
-		},
-
-		depend: function(param, element) {
-			return this.dependTypes[typeof param]
-				? this.dependTypes[typeof param](param, element)
-				: true;
-		},
-
-		dependTypes: {
-			"boolean": function(param, element) {
-				return param;
-			},
-			"string": function(param, element) {
-				return !!jQuery(param, element.form).length;
-			},
-			"function": function(param, element) {
-				return param(element);
-			}
-		},
-
-		optional: function(element) {
-			return !jQuery.validator.methods.required.call(this, jQuery.trim(element.value), element) && "dependency-mismatch";
-		},
-
-		startRequest: function(element) {
-			if (!this.pending[element.name]) {
-				this.pendingRequest++;
-				this.pending[element.name] = true;
-			}
-		},
-
-		stopRequest: function(element, valid) {
-			this.pendingRequest--;
-			// sometimes synchronization fails, make sure pendingRequest is never < 0
-			if (this.pendingRequest < 0)
-				this.pendingRequest = 0;
-			delete this.pending[element.name];
-			if ( valid && this.pendingRequest == 0 && this.formSubmitted && this.form() ) {
-				jQuery(this.currentForm).submit();
-				this.formSubmitted = false;
-			} else if (!valid && this.pendingRequest == 0 && this.formSubmitted) {
-				jQuery(this.currentForm).triggerHandler("invalid-form", [this]);
-				this.formSubmitted = false;
-			}
-		},
-
-		previousValue: function(element) {
-			return jQuery.data(element, "previousValue") || jQuery.data(element, "previousValue", {
-				old: null,
-				valid: true,
-				message: this.defaultMessage( element, "remote" )
-			});
-		}
-
-	},
-
-	classRuleSettings: {
-		required: {required: true},
-		email: {email: true},
-		url: {url: true},
-		date: {date: true},
-		dateISO: {dateISO: true},
-		dateDE: {dateDE: true},
-		number: {number: true},
-		numberDE: {numberDE: true},
-		digits: {digits: true},
-		creditcard: {creditcard: true}
-	},
-
-	addClassRules: function(className, rules) {
-		className.constructor == String ?
-			this.classRuleSettings[className] = rules :
-			jQuery.extend(this.classRuleSettings, className);
-	},
-
-	classRules: function(element) {
-		var rules = {};
-		var classes = jQuery(element).attr('class');
-		classes && jQuery.each(classes.split(' '), function() {
-			if (this in jQuery.validator.classRuleSettings) {
-				jQuery.extend(rules, jQuery.validator.classRuleSettings[this]);
-			}
-		});
-		return rules;
-	},
-
-	attributeRules: function(element) {
-		var rules = {};
-		var $element = jQuery(element);
-
-		for (var method in jQuery.validator.methods) {
-			var value = $element.attr(method);
-			if (value) {
-				rules[method] = value;
-			}
-		}
-
-		// maxlength may be returned as -1, 2147483647 (IE) and 524288 (safari) for text inputs
-		if (rules.maxlength && /-1|2147483647|524288/.test(rules.maxlength)) {
-			delete rules.maxlength;
-		}
-
-		return rules;
-	},
-
-	metadataRules: function(element) {
-		if (!jQuery.metadata) return {};
-
-		var meta = jQuery.data(element.form, 'validator').settings.meta;
-		return meta ?
-			jQuery(element).metadata()[meta] :
-			jQuery(element).metadata();
-	},
-
-	staticRules: function(element) {
-		var rules = {};
-		var validator = jQuery.data(element.form, 'validator');
-		if (validator.settings.rules) {
-			rules = jQuery.validator.normalizeRule(validator.settings.rules[element.name]) || {};
-		}
-		return rules;
-	},
-
-	normalizeRules: function(rules, element) {
-		// handle dependency check
-		jQuery.each(rules, function(prop, val) {
-			// ignore rule when param is explicitly false, eg. required:false
-			if (val === false) {
-				delete rules[prop];
-				return;
-			}
-			if (val.param || val.depends) {
-				var keepRule = true;
-				switch (typeof val.depends) {
-					case "string":
-						keepRule = !!jQuery(val.depends, element.form).length;
-						break;
-					case "function":
-						keepRule = val.depends.call(element, element);
-						break;
-				}
-				if (keepRule) {
-					rules[prop] = val.param !== undefined ? val.param : true;
-				} else {
-					delete rules[prop];
-				}
-			}
-		});
-
-		// evaluate parameters
-		jQuery.each(rules, function(rule, parameter) {
-			rules[rule] = jQuery.isFunction(parameter) ? parameter(element) : parameter;
-		});
-
-		// clean number parameters
-		jQuery.each(['minlength', 'maxlength', 'min', 'max'], function() {
-			if (rules[this]) {
-				rules[this] = Number(rules[this]);
-			}
-		});
-		jQuery.each(['rangelength', 'range'], function() {
-			if (rules[this]) {
-				rules[this] = [Number(rules[this][0]), Number(rules[this][1])];
-			}
-		});
-
-		if (jQuery.validator.autoCreateRanges) {
-			// auto-create ranges
-			if (rules.min && rules.max) {
-				rules.range = [rules.min, rules.max];
-				delete rules.min;
-				delete rules.max;
-			}
-			if (rules.minlength && rules.maxlength) {
-				rules.rangelength = [rules.minlength, rules.maxlength];
-				delete rules.minlength;
-				delete rules.maxlength;
-			}
-		}
-
-		// To support custom messages in metadata ignore rule methods titled "messages"
-		if (rules.messages) {
-			delete rules.messages;
-		}
-
-		return rules;
-	},
-
-	// Converts a simple string to a {string: true} rule, e.g., "required" to {required:true}
-	normalizeRule: function(data) {
-		if( typeof data == "string" ) {
-			var transformed = {};
-			jQuery.each(data.split(/\s/), function() {
-				transformed[this] = true;
-			});
-			data = transformed;
-		}
-		return data;
-	},
-
-	// http://docs.jquery.com/Plugins/Validation/Validator/addMethod
-	addMethod: function(name, method, message) {
-		jQuery.validator.methods[name] = method;
-		jQuery.validator.messages[name] = message != undefined ? message : jQuery.validator.messages[name];
-		if (method.length < 3) {
-			jQuery.validator.addClassRules(name, jQuery.validator.normalizeRule(name));
-		}
-	},
-
-	methods: {
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/required
-		required: function(value, element, param) {
-			// check if dependency is met
-			if ( !this.depend(param, element) )
-				return "dependency-mismatch";
-			switch( element.nodeName.toLowerCase() ) {
-			case 'select':
-				// could be an array for select-multiple or a string, both are fine this way
-				var val = jQuery(element).val();
-				return val && val.length > 0;
-			case 'input':
-				if ( this.checkable(element) )
-					return this.getLength(value, element) > 0;
-			default:
-				return jQuery.trim(value).length > 0;
-			}
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/remote
-		remote: function(value, element, param) {
-			if ( this.optional(element) )
-				return "dependency-mismatch";
-
-			var previous = this.previousValue(element);
-			if (!this.settings.messages[element.name] )
-				this.settings.messages[element.name] = {};
-			previous.originalMessage = this.settings.messages[element.name].remote;
-			this.settings.messages[element.name].remote = previous.message;
-
-			param = typeof param == "string" && {url:param} || param;
-
-			if ( this.pending[element.name] ) {
-				return "pending";
-			}
-			if ( previous.old === value ) {
-				return previous.valid;
-			}
-
-			previous.old = value;
-			var validator = this;
-			this.startRequest(element);
-			var data = {};
-			data[element.name] = value;
-			jQuery.ajax(jQuery.extend(true, {
-				url: param,
-				mode: "abort",
-				port: "validate" + element.name,
-				dataType: "json",
-				data: data,
-				success: function(response) {
-					validator.settings.messages[element.name].remote = previous.originalMessage;
-					var valid = response === true;
-					if ( valid ) {
-						var submitted = validator.formSubmitted;
-						validator.prepareElement(element);
-						validator.formSubmitted = submitted;
-						validator.successList.push(element);
-						validator.showErrors();
-					} else {
-						var errors = {};
-						var message = response || validator.defaultMessage( element, "remote" );
-						errors[element.name] = previous.message = jQuery.isFunction(message) ? message(value) : message;
-						validator.showErrors(errors);
-					}
-					previous.valid = valid;
-					validator.stopRequest(element, valid);
-				}
-			}, param));
-			return "pending";
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/minlength
-		minlength: function(value, element, param) {
-			return this.optional(element) || this.getLength(jQuery.trim(value), element) >= param;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/maxlength
-		maxlength: function(value, element, param) {
-			return this.optional(element) || this.getLength(jQuery.trim(value), element) <= param;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/rangelength
-		rangelength: function(value, element, param) {
-			var length = this.getLength(jQuery.trim(value), element);
-			return this.optional(element) || ( length >= param[0] && length <= param[1] );
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/min
-		min: function( value, element, param ) {
-			return this.optional(element) || value >= param;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/max
-		max: function( value, element, param ) {
-			return this.optional(element) || value <= param;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/range
-		range: function( value, element, param ) {
-			return this.optional(element) || ( value >= param[0] && value <= param[1] );
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/email
-		email: function(value, element) {
-			// contributed by Scott Gonzalez: http://projects.scottsplayground.com/email_address_validation/
-			return this.optional(element) || /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/url
-		url: function(value, element) {
-			// contributed by Scott Gonzalez: http://projects.scottsplayground.com/iri/
-			return this.optional(element) || /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.
 |_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/date
-		date: function(value, element) {
-			return this.optional(element) || !/Invalid|NaN/.test(new Date(value));
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/dateISO
-		dateISO: function(value, element) {
-			return this.optional(element) || /^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/number
-		number: function(value, element) {
-			return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/digits
-		digits: function(value, element) {
-			return this.optional(element) || /^\d+$/.test(value);
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/creditcard
-		// based on http://en.wikipedia.org/wiki/Luhn
-		creditcard: function(value, element) {
-			if ( this.optional(element) )
-				return "dependency-mismatch";
-			// accept only digits and dashes
-			if (/[^0-9-]+/.test(value))
-				return false;
-			var nCheck = 0,
-				nDigit = 0,
-				bEven = false;
-
-			value = value.replace(/\D/g, "");
-
-			for (var n = value.length - 1; n >= 0; n--) {
-				var cDigit = value.charAt(n);
-				var nDigit = parseInt(cDigit, 10);
-				if (bEven) {
-					if ((nDigit *= 2) > 9)
-						nDigit -= 9;
-				}
-				nCheck += nDigit;
-				bEven = !bEven;
-			}
-
-			return (nCheck % 10) == 0;
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/accept
-		accept: function(value, element, param) {
-			param = typeof param == "string" ? param.replace(/,/g, '|') : "png|jpe?g|gif";
-			return this.optional(element) || value.match(new RegExp(".(" + param + ")$", "i"));
-		},
-
-		// http://docs.jquery.com/Plugins/Validation/Methods/equalTo
-		equalTo: function(value, element, param) {
-			// bind to the blur event of the target in order to revalidate whenever the target field is updated
-			// TODO find a way to bind the event just once, avoiding the unbind-rebind overhead
-			var target = jQuery(param).unbind(".validate-equalTo").bind("blur.validate-equalTo", function() {
-				jQuery(element).valid();
-			});
-			return value == target.val();
-		}
-
-	}
-
-});
-
-// deprecated, use jQuery.validator.format instead
-jQuery.format = jQuery.validator.format;
-
-})(jQuery);
-
-// ajax mode: abort
-// usage: jQuery.ajax({ mode: "abort"[, port: "uniqueport"]});
-// if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort()
-;(function(jQuery) {
-	var pendingRequests = {};
-	// Use a prefilter if available (1.5+)
-	if ( jQuery.ajaxPrefilter ) {
-		jQuery.ajaxPrefilter(function(settings, _, xhr) {
-			var port = settings.port;
-			if (settings.mode == "abort") {
-				if ( pendingRequests[port] ) {
-					pendingRequests[port].abort();
-				}
-				pendingRequests[port] = xhr;
-			}
-		});
-	} else {
-		// Proxy ajax
-		var ajax = jQuery.ajax;
-		jQuery.ajax = function(settings) {
-			var mode = ( "mode" in settings ? settings : jQuery.ajaxSettings ).mode,
-				port = ( "port" in settings ? settings : jQuery.ajaxSettings ).port;
-			if (mode == "abort") {
-				if ( pendingRequests[port] ) {
-					pendingRequests[port].abort();
-				}
-				return (pendingRequests[port] = ajax.apply(this, arguments));
-			}
-			return ajax.apply(this, arguments);
-		};
-	}
-})(jQuery);
-
-// provides cross-browser focusin and focusout events
-// IE has native support, in other browsers, use event caputuring (neither bubbles)
-
-// provides delegate(type: String, delegate: Selector, handler: Callback) plugin for easier event delegation
-// handler is only called when jQuery(event.target).is(delegate), in the scope of the jquery-object for event.target
-;(function(jQuery) {
-	// only implement if not provided by jQuery core (since 1.4)
-	// TODO verify if jQuery 1.4's implementation is compatible with older jQuery special-event APIs
-	if (!jQuery.event.special.focusin && !jQuery.event.special.focusout && document.addEventListener) {
-		jQuery.each({
-			focus: 'focusin',
-			blur: 'focusout'
-		}, function( original, fix ){
-			jQuery.event.special[fix] = {
-				setup:function() {
-					this.addEventListener( original, handler, true );
-				},
-				teardown:function() {
-					this.removeEventListener( original, handler, true );
-				},
-				handler: function(e) {
-					arguments[0] = jQuery.event.fix(e);
-					arguments[0].type = fix;
-					return jQuery.event.handle.apply(this, arguments);
-				}
-			};
-			function handler(e) {
-				e = jQuery.event.fix(e);
-				e.type = fix;
-				return jQuery.event.handle.call(this, e);
-			}
-		});
-	};
-	jQuery.extend(jQuery.fn, {
-		validateDelegate: function(delegate, type, handler) {
-			return this.bind(type, function(event) {
-				var target = jQuery(event.target);
-				if (target.is(delegate)) {
-					return handler.apply(target, arguments);
-				}
-			});
-		}
-	});
-})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
deleted file mode 100755
index 954e22d..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
deleted file mode 100755
index 64ece57..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
deleted file mode 100755
index abdc010..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
deleted file mode 100755
index 9b383f4..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
deleted file mode 100755
index a23baad..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
deleted file mode 100755
index 42ccba2..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
deleted file mode 100755
index 39d5824..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
deleted file mode 100755
index f127367..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
deleted file mode 100755
index 359397a..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_222222_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_222222_256x240.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_222222_256x240.png
deleted file mode 100755
index b273ff1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_222222_256x240.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_228ef1_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_228ef1_256x240.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_228ef1_256x240.png
deleted file mode 100755
index a641a37..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_228ef1_256x240.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png
deleted file mode 100755
index 2675cae..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png
deleted file mode 100755
index e117eff..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffffff_256x240.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffffff_256x240.png b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffffff_256x240.png
deleted file mode 100755
index 42f8f99..0000000
Binary files a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/images/ui-icons_ffffff_256x240.png and /dev/null differ


[22/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
deleted file mode 100755
index 13acb8d..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * jQuery Orbit Plugin 1.2.3
- * www.ZURB.com/playground
- * Copyright 2010, ZURB
- * Free to use under the MIT license.
- * http://www.opensource.org/licenses/mit-license.php
-*/
-
-(function(d){d.fn.orbit=function(a){a=d.extend({animation:"horizontal-push",animationSpeed:600,timer:!0,advanceSpeed:4E3,pauseOnHover:!1,startClockOnMouseOut:!1,startClockOnMouseOutAfter:1E3,directionalNav:!0,captions:!0,captionAnimation:"fade",captionAnimationSpeed:600,bullets:!1,bulletThumbs:!1,bulletThumbLocation:"",afterSlideChange:function(){}},a);return this.each(function(){function q(){if(!a.timer||a.timer=="false")return!1;else r.is(":hidden")?s=setInterval(function(){l("next")},a.advanceSpeed):
-(o=!0,x.removeClass("active"),s=setInterval(function(){var a="rotate("+m+"deg)";m+=2;t.css({"-webkit-transform":a,"-moz-transform":a,"-o-transform":a});m>180&&(t.addClass("move"),z.addClass("move"));m>360&&(t.removeClass("move"),z.removeClass("move"),m=0,l("next"))},a.advanceSpeed/180))}function n(){if(!a.timer||a.timer=="false")return!1;else o=!1,clearInterval(s),x.addClass("active")}function A(){if(!a.captions||a.captions=="false")return!1;else{var y=e.eq(b).data("caption");(_captionHTML=d(y).html())?
-(j.attr("id",y).html(_captionHTML),a.captionAnimation=="none"&&j.show(),a.captionAnimation=="fade"&&j.fadeIn(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideDown(a.captionAnimationSpeed)):(a.captionAnimation=="none"&&j.hide(),a.captionAnimation=="fade"&&j.fadeOut(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideUp(a.captionAnimationSpeed))}}function B(){if(a.bullets)D.children("li").removeClass("active").eq(b).addClass("active");else return!1}function l(d){function c(){e.eq(f).css({"z-index":1});
-u=!1;a.afterSlideChange.call(this)}var f=b,g=d;if(f==g)return!1;if(e.length=="1")return!1;u||(u=!0,d=="next"?(b++,b==p&&(b=0)):d=="prev"?(b--,b<0&&(b=p-1)):(b=d,f<b?g="next":f>b&&(g="prev")),B(),e.eq(f).css({"z-index":2}),a.animation=="fade"&&e.eq(b).css({opacity:0,"z-index":3}).animate({opacity:1},a.animationSpeed,c),a.animation=="horizontal-slide"&&(g=="next"&&e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),g=="prev"&&e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,
-c)),a.animation=="vertical-slide"&&(g=="prev"&&e.eq(b).css({top:v,"z-index":3}).animate({top:0},a.animationSpeed,c),g=="next"&&e.eq(b).css({top:-v,"z-index":3}).animate({top:0},a.animationSpeed,c)),a.animation=="horizontal-push"&&(g=="next"&&(e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:-h},a.animationSpeed)),g=="prev"&&(e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:h},a.animationSpeed))),A())}var b=0,
-p=0,h,v,u,f=d(this).addClass("orbit"),c=f.wrap('<div class="orbit-wrapper" />').parent();f.add(h).width("1px").height("1px");var e=f.children("img, a, div");e.each(function(){var a=d(this),b=a.width(),a=a.height();b>f.width()&&(f.add(c).width(b),h=f.width());a>f.height()&&(f.add(c).height(a),v=f.height());p++});if(e.length==1)a.directionalNav=!1,a.timer=!1,a.bullets=!1;e.eq(b).css({"z-index":3}).fadeIn(function(){e.css({display:"block"})});if(a.timer){c.append('<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>');
-var r=d("div.timer"),o;if(r.length!=0){var t=d("div.timer span.rotator"),z=d("div.timer span.mask"),x=d("div.timer span.pause"),m=0,s;q();r.click(function(){o?n():q()});if(a.startClockOnMouseOut){var C;c.mouseleave(function(){C=setTimeout(function(){o||q()},a.startClockOnMouseOutAfter)});c.mouseenter(function(){clearTimeout(C)})}}}a.pauseOnHover&&c.mouseenter(function(){n()});if(a.captions){c.append('<div class="orbit-caption"></div>');var j=c.children(".orbit-caption");A()}if(a.directionalNav){if(a.directionalNav==
-"false")return!1;c.append('<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>');var k=c.children("div.slider-nav").children("span.left"),w=c.children("div.slider-nav").children("span.right");k.click(function(){n();l("prev")});w.click(function(){n();l("next")})}if(a.bullets){c.append('<ul class="orbit-bullets"></ul>');var D=d("ul.orbit-bullets");for(i=0;i<p;i++){k=d("<li>"+(i+1)+"</li>");if(a.bulletThumbs&&(w=e.eq(i).data("thumb")))k=d('<li class="has-thumb">'+
-i+"</li>"),k.css({background:"url("+a.bulletThumbLocation+w+") no-repeat"});d("ul.orbit-bullets").append(k);k.data("index",i);k.click(function(){n();l(d(this).data("index"))})}B()}})}})(jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit-1.2.3.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit-1.2.3.css b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit-1.2.3.css
deleted file mode 100755
index bff4f1f..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit-1.2.3.css
+++ /dev/null
@@ -1,202 +0,0 @@
-/* CSS for jQuery Orbit Plugin 1.2.3
- * www.ZURB.com/playground
- * Copyright 2010, ZURB
- * Free to use under the MIT license.
- * http://www.opensource.org/licenses/mit-license.php
- 
- 
- 
-/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
-   ================================================== */
-#featured { 
-	width: 940px;
-	height: 450px;
-	url('orbit/loading.gif') no-repeat center center;
-	overflow: hidden; }
-#featured>img,  
-#featured>div,
-#featured>a { display: none; }
-
-
-
-
-/* CONTAINER
-   ================================================== */
-
-div.orbit-wrapper {
-    width: 1px;
-    height: 1px;
-    position: relative; }
-
-div.orbit {
-    width: 1px;
-    height: 1px;
-    position: relative;
-    overflow: hidden }
-
-div.orbit>img {
-    position: absolute;
-    top: 0;
-    left: 0;
-    display: none; }
-
-div.orbit>a {
-    border: none;
-    position: absolute;
-    top: 0;
-    left: 0;
-    line-height: 0; 
-    display: none; }
-
-.orbit>div {
-    position: absolute;
-    top: 0;
-    left: 0;
-    width: 100%;
-    height: 100%; }
-
-/* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
-
-
-/* TIMER
-   ================================================== */
-
-div.timer {
-    width: 40px;
-    height: 40px;
-    overflow: hidden;
-    position: absolute;
-    top: 10px;
-    right: 10px;
-    opacity: .6;
-    cursor: pointer;
-    z-index: 1001; }
-
-span.rotator {
-    display: block;
-    width: 40px;
-    height: 40px;
-    position: absolute;
-    top: 0;
-    left: -20px;
-    background: url(orbit/rotator-black.png) no-repeat;
-    z-index: 3; }
-
-span.mask {
-    display: block;
-    width: 20px;
-    height: 40px;
-    position: absolute;
-    top: 0;
-    right: 0;
-    z-index: 2;
-    overflow: hidden; }
-
-span.rotator.move {
-    left: 0 }
-
-span.mask.move {
-    width: 40px;
-    left: 0;
-    background: url(orbit/timer-black.png) repeat 0 0; }
-
-span.pause {
-    display: block;
-    width: 40px;
-    height: 40px;
-    position: absolute;
-    top: 0;
-    left: 0;
-    background: url(orbit/pause-black.png) no-repeat;
-    z-index: 4;
-    opacity: 0; }
-
-span.pause.active {
-    background: url(orbit/pause-black.png) no-repeat 0 -40px }
-
-div.timer:hover span.pause,
-span.pause.active {
-    opacity: 1 }
-
-
-/* CAPTIONS
-   ================================================== */
-
-.orbit-caption {
-    display: none;
-    font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
-
-.orbit-wrapper .orbit-caption {
-    background: #000;
-    background: rgba(0,0,0,.6);
-    z-index: 1000;
-    color: #fff;
-	text-align: center;
-	padding: 7px 0;
-    font-size: 13px;
-    position: absolute;
-    right: 0;
-    bottom: 0;
-    width: 100%; }
-
-
-/* DIRECTIONAL NAV
-   ================================================== */
-
-div.slider-nav {
-    display: block }
-
-div.slider-nav span {
-    width: 30px;
-    height: 41px;
-    text-indent: -9999px;
-    position: absolute;
-    z-index: 1000;
-    background-color: #fffff;
-    top: 50%;
-    margin-top: -22px;
-    cursor: pointer; }
-
-div.slider-nav span.right {
-    background: url(orbit/right-arrow.png);
-    right: 0; }
-
-div.slider-nav span.left {
-    background: url(orbit/left-arrow.png);
-    left: 0; }
-
-/* BULLET NAV
-   ================================================== */
-
-.orbit-bullets {
-    position: absolute;
-    z-index: 1000;
-    list-style: none;
-    bottom: -40px;
-    left: 50%;
-	margin-left: -50px;
-    padding: 0; }
-
-.orbit-bullets li {
-    float: left;
-    margin-left: 5px;
-    cursor: pointer;
-    color: #999;
-    text-indent: -9999px;
-    background: url(orbit/bullets.jpg) no-repeat 4px 0;
-    width: 13px;
-    height: 12px;
-    overflow: hidden; }
-
-.orbit-bullets li.active {
-    color: #222;
-    background-position: -8px 0; }
-    
-.orbit-bullets li.has-thumb {
-    background: none;
-    width: 100px;
-    height: 75px; }
-
-.orbit-bullets li.active.has-thumb {
-    background-position: 0 0;
-    border-top: 2px solid #000; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/left-arrow.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/left-arrow.png b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/left-arrow.png
deleted file mode 100755
index bd65cb1..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/left-arrow.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/loading.gif
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/loading.gif b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/loading.gif
deleted file mode 100755
index 969f505..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/loading.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/mask-black.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/mask-black.png b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/mask-black.png
deleted file mode 100755
index e4e77b5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/mask-black.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/right-arrow.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/right-arrow.png b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/right-arrow.png
deleted file mode 100755
index 2c9baab..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/right-arrow.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/rotator-black.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/rotator-black.png b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/rotator-black.png
deleted file mode 100755
index a0d24a7..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/rotator-black.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/timer-black.png
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/timer-black.png b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/timer-black.png
deleted file mode 100755
index e4e77b5..0000000
Binary files a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/js/orbit/timer-black.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/style.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/style.css b/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/style.css
deleted file mode 100755
index 587c997..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/lib/home/style.css
+++ /dev/null
@@ -1,160 +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 15px; }
-
-div#header { height: 140px; }
-div.top-nav {
-	float: right;
-}
-div.top-nav ul {
-	list-style: none;
-	margin: 0px;
-	padding: 0px;
-}
-div.top-nav ul li {
-	position: relative;
-	float: left;
-	padding-left: 10px;
-	padding-right: 10px;
-	padding-top: 10px;
-	padding-bottom: 0px;
-	border-right: solid 1px #005577;
-}
-div.top-nav ul li.right {
-	border-right: 0px;
-}
-div.top-nav ul li a {
-	color: #005577;
-	font-weight: bold;
-	font-size: 16px;
-}
-div.top-nav ul li a:hover {
-	color: #ffffff;
-}
-div.logo { float: left; margin-top: 25px; }
-div#content { background-color: #ffffff; background-image: url(images/content-bg.gif); background-repeat: repeat-y; background-position: left top; }
-div#left {
-	float: left;
-	width: 400px;
-	background-image: url(images/left-bg.gif);
-	background-position: right top;
-	background-repeat: no-repeat;
-}
-div#left div.stratos-products div.title {
-	margin-left: 30px;
-	margin-top: 5px;
-	font-size: 24px;
-	font-weight: normal;
-	line-height: 32px;
-}
-div#left div.stratos-products div.products {
-	margin-left: 30px;
-	margin-top: 25px;
-	padding-bottom: 40px;
-}
-div#left div.stratos-products div.products a {
-	display: block;
-	height: 24px;
-	margin-bottom: 7px;
-	background-image: url(images/stratos-products.gif);
-	background-repeat: no-repeat;
-	background-position: left top;
-}
-div#left div.stratos-products div.products a {
-	background: url(images/stratos-products-new.jpg) no-repeat top left;
-}
-div#left div.stratos-products div.products a.as-new{ background-position: 0 0; width: 170px; height: 24px; } 
-div#left div.stratos-products div.products a.bam-new{ background-position: 0 -74px; width: 204px; height: 23px; } 
-div#left div.stratos-products div.products a.bps-new{ background-position: 0 -147px; width: 198px; height: 23px; } 
-div#left div.stratos-products div.products a.brs-new{ background-position: 0 -220px; width: 183px; height: 23px; } 
-div#left div.stratos-products div.products a.cep-new{ background-position: 0 -293px; width: 231px; height: 22px; } 
-div#left div.stratos-products div.products a.cg-new{ background-position: 0 -365px; width: 148px; height: 24px; } 
-div#left div.stratos-products div.products a.dss-new{ background-position: 0 -439px; width: 181px; height: 24px; } 
-div#left div.stratos-products div.products a.esb-new{ background-position: 0 -513px; width: 192px; height: 24px; }
-div#left div.stratos-products div.products a.greg-new{ background-position: 0 -587px; width: 180px; height: 23px; } 
-div#left div.stratos-products div.products a.is-new{ background-position: 0 -660px; width: 147px; height: 23px; } 
-div#left div.stratos-products div.products a.mb-new{ background-position: 0 -733px; width: 157px; height: 23px; } 
-div#left div.stratos-products div.products a.ss-new{ background-position: 0 -806px; width: 142px; height: 23px; } 
-div#left div.stratos-products div.products a.ts-new{ background-position: 0 -879px; width: 130px; height: 23px; } 
-div#left div.stratos-products div.products a:hover { opacity:0.7;filter:alpha(opacity=70) }
-div#right {
-	float: left;
-	width: 560px;
-}
-
-div#right div.register { width: 555px; margin-top: 15px; margin-right: 0px; padding-bottom: 10px; text-align: center;
-background-image: url(images/intro-bg.gif);background-position: center bottom; background-repeat: no-repeat;
-}
-div#right div.register a { display: block; height: 62px; margin-bottom: 10px; }
-div#right div.register a img { margin-bottom: 7px; }
-div#right div.register a:hover img { opacity:0.7;filter:alpha(opacity=70) }
-
-div#right div.banner{
-	width: 500px;
-	margin: auto;
-	height: 297px;
-	margin-top: 30px;
-}
-div#right div.banner div#featured {
-	width: 500px;
-	height: 297px;
-}
-div#right div.banner div#featured div.screencast {
-	width: 500px;
-	height: 297px;
-	text-align: center;
-}
-div#right div.banner div#featured div.screencast h2 {
-	font-size: 16px;
-	margin-top: 0px;
-	margin-bottom: 0px;
-	padding-bottom: 8px;
-	padding-top: 8px;
-	line-height: 16px;
-	background-color: #000000;
-	color: #ffffff;
-	margin-left: 30px;
-	margin-right: 30px;
-}
-div#right div.banner div#featured div.whitepaper, div#right div.banner div#featured div.webinar {
-	width: 500px;
-	height: 297px;
-	text-align: center;
-	margin-top: 23px;
-}
-div#bottom { 
-	background-image: url(images/feature-middle-bg.gif);
-	background-position: center top;
-	background-repeat: no-repeat; 
-	}
-div#bottom div.feature {
-	float: left; 
-	width: 240px;
-	padding-left: 40px;
-	padding-right: 40px;
-	font-size: 20px;
-	line-height: 25px;
-	font-weight: bold;
-	text-align: center;
-	padding-bottom: 20px;
-}
-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; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/pom.xml b/products/stratos2/stratos_controller/1.0.1/modules/distribution/pom.xml
deleted file mode 100755
index c748748..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/pom.xml
+++ /dev/null
@@ -1,772 +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.
- -->
-<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.stratos2</groupId>
-	    <artifactId>wso2stratos2-parent</artifactId>
-	    <version>1.0.1</version>
-            <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2sc</artifactId>
-    <packaging>jar</packaging>
-    <name>WSO2 Stratos2  - Distribution</name>
-    <description>WSO2 Stratos2  Distribution</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <version>${rampart.mar.version}</version>
-            <type>mar</type>
-        </dependency>
-	<dependency>
-            <groupId>org.wso2.andes.wso2</groupId>
-            <artifactId>andes-client</artifactId>
-            <version>0.13.wso2v6</version>
-            <type>jar</type>
-        </dependency>
-	<dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>features-dashboard</artifactId>
-            <version>${features-dashboard.war.version}</version>
-            <type>war</type>
-        </dependency>
-        <dependency>
-            <groupId>com.h2database.wso2</groupId>
-            <artifactId>h2-database-engine</artifactId>
-            <version>${orbit.version.h2.engine}</version>
-        </dependency>
-	 <!-- Carbon core distribution -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>wso2carbon-core</artifactId>
-            <version>${carbon.kernel.version}</version>
-            <type>zip</type>
-        </dependency>
-
-        <!-- Synapse dependencies -->
-        <!--dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-commons</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-nhttp-transport</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-pipe-transport</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-core</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-tasks</artifactId>
-            <version>${synapse.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-extensions</artifactId>
-            <version>${synapse.version}</version>
-        </dependency-->
-
-        <!-- Carbon mediation initializer -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.initializer</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.bridge</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-	      <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.dependency.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-
-        
-        <!-- ### Required Carbon components ### -->
-        <!-- Transport managament components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Transport components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.http</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.nhttp</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.https</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.transport.mail</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Sequence management components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.service</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.sequences.common</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.sequences</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.router.impl</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.clazz.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.command.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-         <!--Entitlement mediator dependency -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.identity.entitlement.mediator</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-         <!--OAuth mediator dependency -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.identity.oauth.mediator</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-
-        <!--Drools dependency-->
-        <dependency>
-            <groupId>org.drools.wso2</groupId>
-            <artifactId>drools</artifactId>
-            <version>5.0.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>jsr94.wso2</groupId>
-            <artifactId>jsr94</artifactId>
-            <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.mvel.wso2</groupId>
-            <artifactId>mvel2</artifactId>
-            <version>2.0.10.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>joda-time.wso2</groupId>
-            <artifactId>joda-time</artifactId>
-            <version>1.6.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.antlr.wso2</groupId>
-            <artifactId>antlr-runtime</artifactId>
-            <version>3.1.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>janino.wso2</groupId>
-            <artifactId>janino</artifactId>
-            <version>2.5.15.wso2v1</version>
-        </dependency>
-        <!-- Endpoints component -->
-	      <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.endpoint.common</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.endpoint</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Local Entries component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.localentry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Service management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.service.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Operation management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.operation.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Module Management component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.module.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Security components (orbit) -->
-         <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-policy</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-trust</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart.wso2</groupId>
-            <artifactId>rampart-core</artifactId>
-            <version>1.6.1.wso2v1</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <type>mar</type>
-            <version>1.6.1-wso2v1</version>
-        </dependency>
-        
-        <!-- Policy Editor component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.policyeditor</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Task component with startups -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.startup</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.task.services</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Synapse Config admin component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.configadmin</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Synapse Registry component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediation.registry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Datasources component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.datasource</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Throttle component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.throttle</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- Caching component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.caching</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- RM component -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.rm</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-              
-        <!-- Menus -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.ui.menu.registry</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <!-- ### Required Carbon orbit dependencies ### -->
-        <dependency>
-            <groupId>org.apache.geronimo.specs.wso2</groupId>
-            <artifactId>geronimo-jms_1.1_spec</artifactId>
-            <version>1.1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-net.wso2</groupId>
-            <artifactId>commons-net</artifactId>
-            <version>2.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>jsch.wso2</groupId>
-            <artifactId>jsch</artifactId>
-            <version>0.1.41-wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents.wso2</groupId>
-            <artifactId>httpcore-nio</artifactId>
-            <version>4.1.0.wso2v2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.quartz-scheduler.wso2</groupId>
-            <artifactId>quartz</artifactId>
-            <version>2.1.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.codehaus.woodstox</groupId>
-            <artifactId>wstx-asl</artifactId>
-            <version>3.2.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
-            <version>1.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>net.sf.saxon.wso2</groupId>
-            <artifactId>saxon</artifactId>
-            <version>8.9.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.abdera.wso2</groupId>
-            <artifactId>abdera</artifactId>
-            <version>1.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.ws.wso2</groupId>
-            <artifactId>spring.framework</artifactId>
-            <version>2.5.1.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-io.wso2</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>2.0.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-collections.wso2</groupId>
-            <artifactId>commons-collections</artifactId>
-            <version>3.2.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.savan.wso2</groupId>
-            <artifactId>savan-core</artifactId>
-            <version>1.0.0-wso2v2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.caching</groupId>
-            <artifactId>wso2caching-core</artifactId>
-            <version>3.5.0</version>
-        </dependency>
-        <!--Bouncycastle dependency for clients and servers-->
-        <dependency>
-            <groupId>bouncycastle</groupId>
-            <artifactId>bcprov-jdk15</artifactId>
-            <version>132</version>
-        </dependency>
-
-        <!-- autoscale components -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.mediator.autoscale</artifactId>
-            <version>4.0.3</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.discovery.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.relay</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-
-    </dependencies>
-
-    <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>
-                <version>2.0-alpha-4</version>
-                <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>
-                                <artifactItem>
-                                    <groupId>com.acme.shoppingcart.global</groupId>
-                                    <artifactId>shopping-cart-global</artifactId>
-                                    <version>${shoppingcart.global.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>1-run-ant</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <path id="h2.classpath">
-                                    <path refid="maven.compile.classpath"/>
-                                </path>
-                                <echo
-                                        message="########### Create Billing Database ##############"/>
-                                <sql
-                                        driver="org.h2.Driver"
-                                        url="jdbc:h2:${basedir}/target/database/WSO2BILLING_DB"
-                                        userid="wso2carbon" password="wso2carbon" autocommit="true"
-                                        onerror="continue">
-                                    <classpath>
-                                        <path refid="h2.classpath"/>
-                                    </classpath>
-                                    <fileset file="../../billing-script/billing-h2.sql"/>
-				    <fileset file="../../billing-script/metering_h2.sql"/>
-                                </sql>
-                                <echo
-                                        message="##################### END ########################"/>
-                            </tasks>
-                        </configuration>
-                    </execution>
-
-                    <execution>
-                        <id>1-run-ant2</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <path id="h2.classpath">
-                                    <path refid="maven.compile.classpath"/>
-                                </path>
-                                <echo
-                                        message="########### Create S2 Foundation Schema Database ##############"/>
-                                <sql
-                                        driver="org.h2.Driver"
-                                        url="jdbc:h2:${basedir}/target/database/WSO2S2_DB"
-                                        userid="wso2carbon" password="wso2carbon" autocommit="true"
-                                        onerror="continue">
-                                    <classpath>
-                                        <path refid="h2.classpath"/>
-                                    </classpath>
-				    <fileset file="../../billing-script/s2_h2.sql"/>
-                                </sql>
-                                <echo
-                                        message="##################### END ########################"/>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>3-extract-docs-from-components</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <property name="tempdir" value="target/docs-temp"/>
-                                <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>
-                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/conf" overwrite="true">
-                                    <fileset dir="../../conf">
-                                        <include name="user-mgt.xml"/>
-                                    </fileset>
-                                </copy>
-                                <delete file="target/${project.artifactId}-${project.version}.zip"/>
-                                <delete dir="${tempdir}"/>
-                                <mkdir dir="${tempdir}"/>
-                                <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="**/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="**/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}"/>
-                            </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/shopping-cart-global-${shoppingcart.global.version}"/>
-                                <delete file="target/${project.artifactId}-${project.version}.jar"/>
-                                <delete dir="target/sources"/>
-                                <delete dir="target/site"/>
-                                <delete dir="target/database"/>
-                                <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.0</version>
-                <executions>
-                    <execution>
-                        <phase>5-package</phase>
-                        <goals>
-                            <goal>site</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    <profiles>
-        <profile>
-            <id>default</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-assembly-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>1-pre_dist</id>
-                                <phase>test</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <filters>
-                                        <filter>${basedir}/src/assembly/filter.properties</filter>
-                                    </filters>
-                                    <descriptors>
-                                        <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>4-dist</id>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <filters>
-                                        <filter>${basedir}/src/assembly/filter.properties</filter>
-                                    </filters>
-                                    <descriptors>
-                                        <descriptor>${basedir}/src/assembly/bin.xml</descriptor>
-                                        <!--<descriptor>${basedir}/src/assembly/src.xml</descriptor>-->
-                                        <!--<descriptor>${basedir}/src/assembly/docs.xml</descriptor>-->
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>fix_configuration</id>
-            <activation>
-                <property>
-                    <name>build</name>
-                    <value>box</value>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-assembly-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>1-pre_dist</id>
-                                <phase>test</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <filters>
-                                        <filter>${basedir}/src/assembly/filter.properties</filter>
-                                    </filters>
-                                    <descriptors>
-                                        <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>4-dist</id>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <filters>
-                                        <filter>${basedir}/src/assembly/filter.properties</filter>
-                                    </filters>
-                                    <descriptors>
-                                        <descriptor>${basedir}/src/assembly/bin.xml</descriptor>
-                                        <!--<descriptor>${basedir}/src/assembly/src.xml</descriptor>-->
-                                        <!--<descriptor>${basedir}/src/assembly/docs.xml</descriptor>-->
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/config.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/config.xml b/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/config.xml
deleted file mode 100755
index 4155716..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/config.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- -
- - Licensed to the Apache Software Foundation (ASF) under one
- - or more contributor license agreements.  See the NOTICE file
- - distributed with this work for additional information
- - regarding copyright ownership.  The ASF licenses this file
- - to you under the Apache License, Version 2.0 (the
- - "License"); you may not use this file except in compliance
- - with the License.  You may obtain a copy of the License at
- -
- -   http://www.apache.org/licenses/LICENSE-2.0
- -
- - Unless required by applicable law or agreed to in writing,
- - software distributed under the License is distributed on an
- - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- - KIND, either express or implied.  See the License for the
- - specific language governing permissions and limitations
- - under the License.
- -
- -->
-<broker>
-    <prefix>${QPID_HOME}</prefix>
-    <work>${QPID_WORK}</work>
-    <conf>${prefix}/etc</conf>
-
-    <plugin-directory>${QPID_HOME}/lib/plugins</plugin-directory>
-    <cache-directory>${QPID_WORK}/cache</cache-directory>
-    
-    <connector>
-        <!-- To enable SSL edit the keystorePath and keystorePassword
-	     and set enabled to true. 
-             To disasble Non-SSL port set sslOnly to true -->
-        <ssl>
-            <enabled>false</enabled>
-            <sslOnly>false</sslOnly>
-            <keystorePath>/path/to/keystore.ks</keystorePath>
-            <keystorePassword>keystorepass</keystorePassword>
-        </ssl>
-        <qpidnio>false</qpidnio>
-        <protectio>
-            <enabled>false</enabled>
-            <readBufferLimitSize>262144</readBufferLimitSize>
-            <writeBufferLimitSize>262144</writeBufferLimitSize>	    
-        </protectio>
-        <transport>nio</transport>
-        <port>5672</port>
-        <sslport>8672</sslport>
-        <socketReceiveBuffer>32768</socketReceiveBuffer>
-        <socketSendBuffer>32768</socketSendBuffer>
-    </connector>
-    <management>
-        <enabled>true</enabled>
-        <jmxport>8999</jmxport>
-        <ssl>
-            <enabled>false</enabled>
-            <!-- Update below path to your keystore location, or run the bin/create-example-ssl-stores(.sh|.bat)
-                 script from within the etc/ folder to generate an example store with self-signed cert -->
-            <keyStorePath>${conf}/qpid.keystore</keyStorePath>
-            <keyStorePassword>password</keyStorePassword>
-        </ssl>
-    </management>
-    <advanced>
-        <filterchain enableExecutorPool="true"/>
-        <enablePooledAllocator>false</enablePooledAllocator>
-        <enableDirectBuffers>false</enableDirectBuffers>
-        <framesize>65535</framesize>
-        <compressBufferOnQueue>false</compressBufferOnQueue>
-        <enableJMSXUserID>false</enableJMSXUserID>
-        <locale>en_US</locale>	
-    </advanced>
-
-    <security>
-        <principal-databases>
-            <principal-database>
-                <name>carbon-user-store</name>
-                <class>org.wso2.carbon.qpid.authentication.qpid.CarbonBasedPrincipalDatabase</class>
-            </principal-database>
-        </principal-databases>
-
-        <msg-auth>false</msg-auth>
-        
-        <jmx>
-            <access>${conf}/jmxremote.access</access>
-            <principal-database>carbon-user-store</principal-database>
-        </jmx>
-    </security>
-
-    <virtualhosts>${conf}/virtualhosts.xml</virtualhosts>
-    
-    <heartbeat>
-        <delay>0</delay>
-        <timeoutFactor>2.0</timeoutFactor>
-    </heartbeat>
-    <queue>
-        <auto_register>true</auto_register>
-    </queue>
-
-    <status-updates>ON</status-updates>
-
-</broker>
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/jmxremote.access
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/jmxremote.access b/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/jmxremote.access
deleted file mode 100755
index f496e92..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/jmxremote.access
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-#Generated by JMX Console : Last edited by user:admin
-#Tue Jun 12 16:46:39 BST 2007
-#admin=admin
-#guest=readonly
-#user=readwrite

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/virtualhosts.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/virtualhosts.xml b/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/virtualhosts.xml
deleted file mode 100755
index 235994b..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/etc/virtualhosts.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- -
- - Licensed to the Apache Software Foundation (ASF) under one
- - or more contributor license agreements.  See the NOTICE file
- - distributed with this work for additional information
- - regarding copyright ownership.  The ASF licenses this file
- - to you under the Apache License, Version 2.0 (the
- - "License"); you may not use this file except in compliance
- - with the License.  You may obtain a copy of the License at
- -
- -   http://www.apache.org/licenses/LICENSE-2.0
- -
- - Unless required by applicable law or agreed to in writing,
- - software distributed under the License is distributed on an
- - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- - KIND, either express or implied.  See the License for the
- - specific language governing permissions and limitations
- - under the License.
- -
- -->
-<virtualhosts>
-    <default>carbon</default>
-    <virtualhost>
-        <name>carbon</name>
-        <carbon>
-            <store>
-                <!--class>org.apache.qpid.server.store.MemoryMessageStore</class-->
-		<class>org.apache.qpid.server.store.DerbyMessageStore</class>
-		<environment-path>repository/database/qpid/derbystore</environment-path>
-            </store>
-
-            <housekeeping>
-                <threadCount>2</threadCount>
-                <expiredMessageCheckPeriod>20000</expiredMessageCheckPeriod>
-            </housekeeping>
-
-            <exchanges>
-                <exchange>
-                    <type>direct</type>
-                    <name>carbon.direct</name>
-                    <durable>true</durable>
-                </exchange>
-                <exchange>
-                    <type>topic</type>
-                    <name>carbon.topic</name>
-                </exchange>
-            </exchanges>
-            
-	    <queues>
-                <maximumQueueDepth>4235264</maximumQueueDepth>
-                <!-- 4Mb -->
-                <maximumMessageSize>2117632</maximumMessageSize>
-                <!-- 2Mb -->
-                <maximumMessageAge>600000</maximumMessageAge>
-                <!-- 10 mins -->
-                <maximumMessageCount>50</maximumMessageCount>
-                <!-- 50 messages -->
-            </queues>
-        </carbon>
-    </virtualhost>
-</virtualhosts>
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/qpid.xml
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/qpid.xml b/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/qpid.xml
deleted file mode 100755
index faf9d15..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/qpid-resources/qpid.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!--
-  ~ Copyright 2005-2007 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.
-  -->
-<Qpid>
-    <!-- Start Qpid broker when Carbon starts up -->
-    <AutoStart>true</AutoStart>
-    <RegistryRoot>event</RegistryRoot>
-</Qpid>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.1/modules/distribution/release-notes.html
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.1/modules/distribution/release-notes.html b/products/stratos2/stratos_controller/1.0.1/modules/distribution/release-notes.html
deleted file mode 100755
index 96947a9..0000000
--- a/products/stratos2/stratos_controller/1.0.1/modules/distribution/release-notes.html
+++ /dev/null
@@ -1,132 +0,0 @@
-<!--
-~ 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.
--->
-<html>
-<head>
-    <meta http-equiv="content-type" content=""/>
-    <title>WSO2 Stratos Manager 2.0.0 Release Notes</title>
-    <link href="./tools/cmd/css/appserver-dist-doc.css" rel="stylesheet"
-          type="text/css" media="all"/>
-</head>
-
-<body>
-<h1>WSO2 Stratos Manager 2.0.2 Release Notes</h1>
-
-<h3>${buildNumber}</h3>
-
-<p> WSO2 Stratos is a complete cloud middleware platform for implementing an enterprise service-oriented
-architecture (SOA). WSO2 Stratos is open source and is available under Apache license. It is built on
-top of and extends <a target="_blank" href="http://wso2.com/products/carbon/">WSO2 Carbon</a>, 
-the award-winning, comprehensive, concise, lean enterprise middleware platform.</p>
-
-<p>With WSO2 Stratos, IT professionals have a fully hosted platform-as-a-service (PaaS) for rapidly
-building and deploying services and composite applications, with instant provisioning capability.
-WSO2 Stratos delivers on the promise of cloud computing with a complete, enterprise middleware
-platform for delivering applications that can run on, and integrate with, any combination of private
-clouds, public clouds and on-premise systems. WSO2 Stratos is equipped with features for auto-scaling
-and single sign-on, as well as enhanced functionality for automatic activity monitoring, usage metering,
-and centralized governance and identity management.</p>
-
-
-<p>An open source product, WSO2 Stratos is available under the <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0.html">
-        Apache Software License (v2.0)
-    </a>
-   . This includes all of the extra integration and management
-   functionality as well.
-</p>
-
-<h2>New Features In This Release</h2>
-<ul>
-    <li>Service Aware Dynamic Load Balancing - Improved load balancing and auto-scaling</li>
-    <li>Registry Database performance improvements through storage optimization</li>
-    <li>Subversion backed deployment artifacts storage</li>
-    <li>Local transport improvements</li>
-	<li>Tenant aware logging</li>
-	<li>Ability to facilitate billing upon tenant registration</li>
-	<li>Migrated usage metering to WSO2 BAM2</li>
-    <li>Ghost deployer improvements</li>
-	<li>Stratos Manager can now act as a Single Sign On (SSO) provider</li>
-</ul>
-
-<h2>Key Features</h2>
-
-<ul>
-    <li>Auto-scaling capabilities.
-        WSO2 Stratos automatically adjusts the use of cloud resources to meet increased or decreased demand.</li>
-    <li>Single sign-on functionality.
-        Users only need to sign on once to access all WSO2 Stratos services that they are authorized to use.</li>
-    <li>Enhanced automatic activity monitoring.
-        Activity monitoring is available in real time, so there is no time gap between data collection and
-        the availability of data for monitoring.</li>
-    <li>Enhanced usage metering.
-        Metering is automated so that every operation by tenant users will be monitored and recorded.
-        The metering information can be used for billing and for offering constrained access for certain services.
-    </li>
-    <li>Enhanced centralized governance and identity management.
-        All the resources of all Stratos services can be monitored and governed from a single point - from WSO2
-        Stratos governance. When a modification, such as changing a security policy, or changing the keystore,
-        is done from a single place, it is immediately visible to all other services. In addition to that,
-        all services share a single user store. When a user is added from a service, that new user can immediately
-        access all other services available for the tenant.</li>
-	<li>Tenant aware logging.
-		Tenants can view their logs in order to monitor the status of the deployed services
-		of and applications. It is also helpful for debugging purposes.</li>
-    <li>Data-as-a-Service
-        Data-as-a-service offers storage for tenant's application data. In this release of Stratos, we offer two
-        built-in storage options. WSO2 RSS (Relational Storage Service) & CSS (Cassandra Storage Service).
-        RSS allows creating tenant specific MySQL databases instances and CSS allows creating column family
-        based storage. In addition, one can use other RDBMS engines to store data as well.</li>
-</ul>
-
-<h2>Reporting Problems</h2>
-<br/>
-Issues can be reported using the public JIRA available at
-<a href="https://wso2.org/jira/browse/STRATOS" target="_blank">
-    https://wso2.org/jira/browse/STRATOS</a>
-
-<h2>Contact us</h2>
-WSO2 Stratos team can be contacted via the mailing list:
-<br/>
-<strong>For Stratos Cloud Middleware Platform:</strong>
-<a href="mailto:dev@wso2.org">WSO2 Developer Mailing List</a>
-<br/>
-
-<br/>
-<strong>Forum</strong>
-WSO2 participates in community support for the products using the excellent Q&A site 
-<a href="http://stackoverflow.com/questions/tagged/wso2" target="_blank">stackoverflow.com</a> with tags "WSO2", "Stratos" etc.
-<br/>
-
-<h2>Support</h2>
-
-<p>
-As a fully open source solution WSO2 Stratos does not require any licensing fees.
-
-WSO2 offers a range of service and support options, including evaluation support, CloudStart(SM)
-consulting program, development support, and production support.    <br/>
-    <br/>
-
-    For additional support information please refer to
-    <a target="_blank"
-       href="http://wso2.com/support/">http://wso2.com/support/</a>
-</p>
-<p>Thank you for your interest in WSO2 Stratos</p>
-<strong>
-    <em>-The WSO2 Stratos Team</em>
-</strong>
-<hr/>
-
-</body>
-</html>


[36/51] [partial] applied 0001-Refactor-stratos-controller-product.patch

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery-ui-1.8.14.custom.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery-ui-1.8.14.custom.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery-ui-1.8.14.custom.css
deleted file mode 100755
index fe31070..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery-ui-1.8.14.custom.css
+++ /dev/null
@@ -1,568 +0,0 @@
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming/API
- */
-
-/* Layout helpers
-----------------------------------*/
-.ui-helper-hidden { display: none; }
-.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
-.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
-.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
-.ui-helper-clearfix { display: inline-block; }
-/* required comment for clearfix to work in Opera \*/
-* html .ui-helper-clearfix { height:1%; }
-.ui-helper-clearfix { display:block; }
-/* end clearfix */
-.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
-
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-disabled { cursor: default !important; }
-
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Overlays */
-.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
-
-
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming/API
- *
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHig
 hlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
- */
-
-
-/* Component containers
-----------------------------------*/
-.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
-.ui-widget .ui-widget { font-size: 1em; }
-.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
-.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
-.ui-widget-content a { color: #333333; }
-.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
-.ui-widget-header a { color: #ffffff; }
-
-/* Interaction states
-----------------------------------*/
-.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
-.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
-.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
-.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
-.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
-.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
-.ui-widget :active { outline: none; }
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
-.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
-.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
-.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
-.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
-.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
-.ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
-.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
-.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
-.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
-
-/* positioning */
-.ui-icon-carat-1-n { background-position: 0 0; }
-.ui-icon-carat-1-ne { background-position: -16px 0; }
-.ui-icon-carat-1-e { background-position: -32px 0; }
-.ui-icon-carat-1-se { background-position: -48px 0; }
-.ui-icon-carat-1-s { background-position: -64px 0; }
-.ui-icon-carat-1-sw { background-position: -80px 0; }
-.ui-icon-carat-1-w { background-position: -96px 0; }
-.ui-icon-carat-1-nw { background-position: -112px 0; }
-.ui-icon-carat-2-n-s { background-position: -128px 0; }
-.ui-icon-carat-2-e-w { background-position: -144px 0; }
-.ui-icon-triangle-1-n { background-position: 0 -16px; }
-.ui-icon-triangle-1-ne { background-position: -16px -16px; }
-.ui-icon-triangle-1-e { background-position: -32px -16px; }
-.ui-icon-triangle-1-se { background-position: -48px -16px; }
-.ui-icon-triangle-1-s { background-position: -64px -16px; }
-.ui-icon-triangle-1-sw { background-position: -80px -16px; }
-.ui-icon-triangle-1-w { background-position: -96px -16px; }
-.ui-icon-triangle-1-nw { background-position: -112px -16px; }
-.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
-.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
-.ui-icon-arrow-1-n { background-position: 0 -32px; }
-.ui-icon-arrow-1-ne { background-position: -16px -32px; }
-.ui-icon-arrow-1-e { background-position: -32px -32px; }
-.ui-icon-arrow-1-se { background-position: -48px -32px; }
-.ui-icon-arrow-1-s { background-position: -64px -32px; }
-.ui-icon-arrow-1-sw { background-position: -80px -32px; }
-.ui-icon-arrow-1-w { background-position: -96px -32px; }
-.ui-icon-arrow-1-nw { background-position: -112px -32px; }
-.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
-.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
-.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
-.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
-.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
-.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
-.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
-.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
-.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
-.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
-.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
-.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
-.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
-.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
-.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
-.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
-.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
-.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
-.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
-.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
-.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
-.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
-.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
-.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
-.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
-.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
-.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
-.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
-.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
-.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
-.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
-.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
-.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
-.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
-.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
-.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
-.ui-icon-arrow-4 { background-position: 0 -80px; }
-.ui-icon-arrow-4-diag { background-position: -16px -80px; }
-.ui-icon-extlink { background-position: -32px -80px; }
-.ui-icon-newwin { background-position: -48px -80px; }
-.ui-icon-refresh { background-position: -64px -80px; }
-.ui-icon-shuffle { background-position: -80px -80px; }
-.ui-icon-transfer-e-w { background-position: -96px -80px; }
-.ui-icon-transferthick-e-w { background-position: -112px -80px; }
-.ui-icon-folder-collapsed { background-position: 0 -96px; }
-.ui-icon-folder-open { background-position: -16px -96px; }
-.ui-icon-document { background-position: -32px -96px; }
-.ui-icon-document-b { background-position: -48px -96px; }
-.ui-icon-note { background-position: -64px -96px; }
-.ui-icon-mail-closed { background-position: -80px -96px; }
-.ui-icon-mail-open { background-position: -96px -96px; }
-.ui-icon-suitcase { background-position: -112px -96px; }
-.ui-icon-comment { background-position: -128px -96px; }
-.ui-icon-person { background-position: -144px -96px; }
-.ui-icon-print { background-position: -160px -96px; }
-.ui-icon-trash { background-position: -176px -96px; }
-.ui-icon-locked { background-position: -192px -96px; }
-.ui-icon-unlocked { background-position: -208px -96px; }
-.ui-icon-bookmark { background-position: -224px -96px; }
-.ui-icon-tag { background-position: -240px -96px; }
-.ui-icon-home { background-position: 0 -112px; }
-.ui-icon-flag { background-position: -16px -112px; }
-.ui-icon-calendar { background-position: -32px -112px; }
-.ui-icon-cart { background-position: -48px -112px; }
-.ui-icon-pencil { background-position: -64px -112px; }
-.ui-icon-clock { background-position: -80px -112px; }
-.ui-icon-disk { background-position: -96px -112px; }
-.ui-icon-calculator { background-position: -112px -112px; }
-.ui-icon-zoomin { background-position: -128px -112px; }
-.ui-icon-zoomout { background-position: -144px -112px; }
-.ui-icon-search { background-position: -160px -112px; }
-.ui-icon-wrench { background-position: -176px -112px; }
-.ui-icon-gear { background-position: -192px -112px; }
-.ui-icon-heart { background-position: -208px -112px; }
-.ui-icon-star { background-position: -224px -112px; }
-.ui-icon-link { background-position: -240px -112px; }
-.ui-icon-cancel { background-position: 0 -128px; }
-.ui-icon-plus { background-position: -16px -128px; }
-.ui-icon-plusthick { background-position: -32px -128px; }
-.ui-icon-minus { background-position: -48px -128px; }
-.ui-icon-minusthick { background-position: -64px -128px; }
-.ui-icon-close { background-position: -80px -128px; }
-.ui-icon-closethick { background-position: -96px -128px; }
-.ui-icon-key { background-position: -112px -128px; }
-.ui-icon-lightbulb { background-position: -128px -128px; }
-.ui-icon-scissors { background-position: -144px -128px; }
-.ui-icon-clipboard { background-position: -160px -128px; }
-.ui-icon-copy { background-position: -176px -128px; }
-.ui-icon-contact { background-position: -192px -128px; }
-.ui-icon-image { background-position: -208px -128px; }
-.ui-icon-video { background-position: -224px -128px; }
-.ui-icon-script { background-position: -240px -128px; }
-.ui-icon-alert { background-position: 0 -144px; }
-.ui-icon-info { background-position: -16px -144px; }
-.ui-icon-notice { background-position: -32px -144px; }
-.ui-icon-help { background-position: -48px -144px; }
-.ui-icon-check { background-position: -64px -144px; }
-.ui-icon-bullet { background-position: -80px -144px; }
-.ui-icon-radio-off { background-position: -96px -144px; }
-.ui-icon-radio-on { background-position: -112px -144px; }
-.ui-icon-pin-w { background-position: -128px -144px; }
-.ui-icon-pin-s { background-position: -144px -144px; }
-.ui-icon-play { background-position: 0 -160px; }
-.ui-icon-pause { background-position: -16px -160px; }
-.ui-icon-seek-next { background-position: -32px -160px; }
-.ui-icon-seek-prev { background-position: -48px -160px; }
-.ui-icon-seek-end { background-position: -64px -160px; }
-.ui-icon-seek-start { background-position: -80px -160px; }
-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
-.ui-icon-seek-first { background-position: -80px -160px; }
-.ui-icon-stop { background-position: -96px -160px; }
-.ui-icon-eject { background-position: -112px -160px; }
-.ui-icon-volume-off { background-position: -128px -160px; }
-.ui-icon-volume-on { background-position: -144px -160px; }
-.ui-icon-power { background-position: 0 -176px; }
-.ui-icon-signal-diag { background-position: -16px -176px; }
-.ui-icon-signal { background-position: -32px -176px; }
-.ui-icon-battery-0 { background-position: -48px -176px; }
-.ui-icon-battery-1 { background-position: -64px -176px; }
-.ui-icon-battery-2 { background-position: -80px -176px; }
-.ui-icon-battery-3 { background-position: -96px -176px; }
-.ui-icon-circle-plus { background-position: 0 -192px; }
-.ui-icon-circle-minus { background-position: -16px -192px; }
-.ui-icon-circle-close { background-position: -32px -192px; }
-.ui-icon-circle-triangle-e { background-position: -48px -192px; }
-.ui-icon-circle-triangle-s { background-position: -64px -192px; }
-.ui-icon-circle-triangle-w { background-position: -80px -192px; }
-.ui-icon-circle-triangle-n { background-position: -96px -192px; }
-.ui-icon-circle-arrow-e { background-position: -112px -192px; }
-.ui-icon-circle-arrow-s { background-position: -128px -192px; }
-.ui-icon-circle-arrow-w { background-position: -144px -192px; }
-.ui-icon-circle-arrow-n { background-position: -160px -192px; }
-.ui-icon-circle-zoomin { background-position: -176px -192px; }
-.ui-icon-circle-zoomout { background-position: -192px -192px; }
-.ui-icon-circle-check { background-position: -208px -192px; }
-.ui-icon-circlesmall-plus { background-position: 0 -208px; }
-.ui-icon-circlesmall-minus { background-position: -16px -208px; }
-.ui-icon-circlesmall-close { background-position: -32px -208px; }
-.ui-icon-squaresmall-plus { background-position: -48px -208px; }
-.ui-icon-squaresmall-minus { background-position: -64px -208px; }
-.ui-icon-squaresmall-close { background-position: -80px -208px; }
-.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
-.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
-.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
-.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
-.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
-.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Corner radius */
-.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
-.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
-
-/* Overlays */
-.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
-.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*
- * jQuery UI Resizable 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Resizable#theming
- */
-.ui-resizable { position: relative;}
-.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
-.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
-.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
-.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
-.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
-.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
-.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
-.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
-.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
-.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
- * jQuery UI Selectable 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Selectable#theming
- */
-.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
-/*
- * jQuery UI Accordion 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Accordion#theming
- */
-/* IE/Win - Fix animation bug - #4615 */
-.ui-accordion { width: 100%; }
-.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
-.ui-accordion .ui-accordion-li-fix { display: inline; }
-.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
-.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
-.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
-.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
-.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
-.ui-accordion .ui-accordion-content-active { display: block; }
-/*
- * jQuery UI Autocomplete 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Autocomplete#theming
- */
-.ui-autocomplete { position: absolute; cursor: default; }	
-
-/* workarounds */
-* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
-
-/*
- * jQuery UI Menu 1.8.14
- *
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Menu#theming
- */
-.ui-menu {
-	list-style:none;
-	padding: 2px;
-	margin: 0;
-	display:block;
-	float: left;
-}
-.ui-menu .ui-menu {
-	margin-top: -3px;
-}
-.ui-menu .ui-menu-item {
-	margin:0;
-	padding: 0;
-	zoom: 1;
-	float: left;
-	clear: left;
-	width: 100%;
-}
-.ui-menu .ui-menu-item a {
-	text-decoration:none;
-	display:block;
-	padding:.2em .4em;
-	line-height:1.5;
-	zoom:1;
-}
-.ui-menu .ui-menu-item a.ui-state-hover,
-.ui-menu .ui-menu-item a.ui-state-active {
-	font-weight: normal;
-	margin: -1px;
-}
-/*
- * jQuery UI Button 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Button#theming
- */
-.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
-.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
-button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
-.ui-button-icons-only { width: 3.4em; } 
-button.ui-button-icons-only { width: 3.7em; } 
-
-/*button text element */
-.ui-button .ui-button-text { display: block; line-height: 1.4;  }
-.ui-button-text-only .ui-button-text { padding: .4em 1em; }
-.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
-.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
-.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
-.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
-/* no icon support for input elements, provide padding by default */
-input.ui-button { padding: .4em 1em; }
-
-/*button icon element(s) */
-.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
-.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
-.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
-.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-
-/*button sets*/
-.ui-buttonset { margin-right: 7px; }
-.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
-
-/* workarounds */
-button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
-/*
- * jQuery UI Dialog 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Dialog#theming
- */
-.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
-.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
-.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } 
-.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
-.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
-.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
-.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
-.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
-.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
-.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
-.ui-draggable .ui-dialog-titlebar { cursor: move; }
-/*
- * jQuery UI Slider 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Slider#theming
- */
-.ui-slider { position: relative; text-align: left; }
-.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
-.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
-
-.ui-slider-horizontal { height: .8em; }
-.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
-.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
-.ui-slider-horizontal .ui-slider-range-min { left: 0; }
-.ui-slider-horizontal .ui-slider-range-max { right: 0; }
-
-.ui-slider-vertical { width: .8em; height: 100px; }
-.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
-.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
-.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
-.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
- * jQuery UI Tabs 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Tabs#theming
- */
-.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
-.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
-.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
-.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
-.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
-.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
-.ui-tabs .ui-tabs-hide { display: none !important; }
-/*
- * jQuery UI Datepicker 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Datepicker#theming
- */
-.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
-.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
-.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
-.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
-.ui-datepicker .ui-datepicker-prev { left:2px; }
-.ui-datepicker .ui-datepicker-next { right:2px; }
-.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
-.ui-datepicker .ui-datepicker-next-hover { right:1px; }
-.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
-.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
-.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
-.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
-.ui-datepicker select.ui-datepicker-month, 
-.ui-datepicker select.ui-datepicker-year { width: 49%;}
-.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
-.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
-.ui-datepicker td { border: 0; padding: 1px; }
-.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
-.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
-.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
-
-/* with multiple calendars */
-.ui-datepicker.ui-datepicker-multi { width:auto; }
-.ui-datepicker-multi .ui-datepicker-group { float:left; }
-.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
-.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
-.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
-.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
-.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
-
-/* RTL support */
-.ui-datepicker-rtl { direction: rtl; }
-.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-
-/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
-.ui-datepicker-cover {
-    display: none; /*sorry for IE5*/
-    display/**/: block; /*sorry for IE5*/
-    position: absolute; /*must have*/
-    z-index: -1; /*must have*/
-    filter: mask(); /*must have*/
-    top: -4px; /*must have*/
-    left: -4px; /*must have*/
-    width: 200px; /*must have*/
-    height: 200px; /*must have*/
-}/*
- * jQuery UI Progressbar 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Progressbar#theming
- */
-.ui-progressbar { height:2em; text-align: left; }
-.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.accordion.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.accordion.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.accordion.css
deleted file mode 100755
index aec1eb8..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.accordion.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * jQuery UI Accordion 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Accordion#theming
- */
-/* IE/Win - Fix animation bug - #4615 */
-.ui-accordion { width: 100%; }
-.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
-.ui-accordion .ui-accordion-li-fix { display: inline; }
-.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
-.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
-.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
-.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
-.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
-.ui-accordion .ui-accordion-content-active { display: block; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.all.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.all.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.all.css
deleted file mode 100755
index 3b49352..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.all.css
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming
- */
-@import "jquery.ui.base.css";
-@import "jquery.ui.theme.css";

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.autocomplete.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.autocomplete.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.autocomplete.css
deleted file mode 100755
index 640cd86..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.autocomplete.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * jQuery UI Autocomplete 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Autocomplete#theming
- */
-.ui-autocomplete { position: absolute; cursor: default; }	
-
-/* workarounds */
-* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
-
-/*
- * jQuery UI Menu 1.8.14
- *
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Menu#theming
- */
-.ui-menu {
-	list-style:none;
-	padding: 2px;
-	margin: 0;
-	display:block;
-	float: left;
-}
-.ui-menu .ui-menu {
-	margin-top: -3px;
-}
-.ui-menu .ui-menu-item {
-	margin:0;
-	padding: 0;
-	zoom: 1;
-	float: left;
-	clear: left;
-	width: 100%;
-}
-.ui-menu .ui-menu-item a {
-	text-decoration:none;
-	display:block;
-	padding:.2em .4em;
-	line-height:1.5;
-	zoom:1;
-}
-.ui-menu .ui-menu-item a.ui-state-hover,
-.ui-menu .ui-menu-item a.ui-state-active {
-	font-weight: normal;
-	margin: -1px;
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.base.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.base.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.base.css
deleted file mode 100755
index f52ee39..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.base.css
+++ /dev/null
@@ -1,11 +0,0 @@
-@import url("jquery.ui.core.css");
-@import url("jquery.ui.resizable.css");
-@import url("jquery.ui.selectable.css");
-@import url("jquery.ui.accordion.css");
-@import url("jquery.ui.autocomplete.css");
-@import url("jquery.ui.button.css");
-@import url("jquery.ui.dialog.css");
-@import url("jquery.ui.slider.css");
-@import url("jquery.ui.tabs.css");
-@import url("jquery.ui.datepicker.css");
-@import url("jquery.ui.progressbar.css");
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.button.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.button.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.button.css
deleted file mode 100755
index 55eddec..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.button.css
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * jQuery UI Button 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Button#theming
- */
-.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
-.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
-button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
-.ui-button-icons-only { width: 3.4em; } 
-button.ui-button-icons-only { width: 3.7em; } 
-
-/*button text element */
-.ui-button .ui-button-text { display: block; line-height: 1.4;  }
-.ui-button-text-only .ui-button-text { padding: .4em 1em; }
-.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
-.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
-.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
-.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
-/* no icon support for input elements, provide padding by default */
-input.ui-button { padding: .4em 1em; }
-
-/*button icon element(s) */
-.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
-.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
-.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
-.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-
-/*button sets*/
-.ui-buttonset { margin-right: 7px; }
-.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
-
-/* workarounds */
-button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.core.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.core.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.core.css
deleted file mode 100755
index b8ed6cd..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.core.css
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming/API
- */
-
-/* Layout helpers
-----------------------------------*/
-.ui-helper-hidden { display: none; }
-.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
-.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
-.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
-.ui-helper-clearfix { display: inline-block; }
-/* required comment for clearfix to work in Opera \*/
-* html .ui-helper-clearfix { height:1%; }
-.ui-helper-clearfix { display:block; }
-/* end clearfix */
-.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
-
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-disabled { cursor: default !important; }
-
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Overlays */
-.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.datepicker.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.datepicker.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.datepicker.css
deleted file mode 100755
index b52d402..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.datepicker.css
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * jQuery UI Datepicker 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Datepicker#theming
- */
-.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
-.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
-.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
-.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
-.ui-datepicker .ui-datepicker-prev { left:2px; }
-.ui-datepicker .ui-datepicker-next { right:2px; }
-.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
-.ui-datepicker .ui-datepicker-next-hover { right:1px; }
-.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
-.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
-.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
-.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
-.ui-datepicker select.ui-datepicker-month, 
-.ui-datepicker select.ui-datepicker-year { width: 49%;}
-.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
-.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
-.ui-datepicker td { border: 0; padding: 1px; }
-.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
-.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
-.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
-
-/* with multiple calendars */
-.ui-datepicker.ui-datepicker-multi { width:auto; }
-.ui-datepicker-multi .ui-datepicker-group { float:left; }
-.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
-.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
-.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
-.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
-.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
-
-/* RTL support */
-.ui-datepicker-rtl { direction: rtl; }
-.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-
-/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
-.ui-datepicker-cover {
-    display: none; /*sorry for IE5*/
-    display/**/: block; /*sorry for IE5*/
-    position: absolute; /*must have*/
-    z-index: -1; /*must have*/
-    filter: mask(); /*must have*/
-    top: -4px; /*must have*/
-    left: -4px; /*must have*/
-    width: 200px; /*must have*/
-    height: 200px; /*must have*/
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.dialog.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.dialog.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.dialog.css
deleted file mode 100755
index 531d11f..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.dialog.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * jQuery UI Dialog 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Dialog#theming
- */
-.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
-.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
-.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } 
-.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
-.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
-.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
-.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
-.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
-.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
-.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
-.ui-draggable .ui-dialog-titlebar { cursor: move; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.progressbar.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.progressbar.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.progressbar.css
deleted file mode 100755
index eb7d477..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.progressbar.css
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * jQuery UI Progressbar 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Progressbar#theming
- */
-.ui-progressbar { height:2em; text-align: left; }
-.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.resizable.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.resizable.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.resizable.css
deleted file mode 100755
index 3234d3f..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.resizable.css
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * jQuery UI Resizable 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Resizable#theming
- */
-.ui-resizable { position: relative;}
-.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
-.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
-.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
-.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
-.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
-.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
-.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
-.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
-.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
-.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.selectable.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.selectable.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.selectable.css
deleted file mode 100755
index 39ac84a..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.selectable.css
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * jQuery UI Selectable 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Selectable#theming
- */
-.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.slider.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.slider.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.slider.css
deleted file mode 100755
index c9d8b8b..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.slider.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * jQuery UI Slider 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Slider#theming
- */
-.ui-slider { position: relative; text-align: left; }
-.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
-.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
-
-.ui-slider-horizontal { height: .8em; }
-.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
-.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
-.ui-slider-horizontal .ui-slider-range-min { left: 0; }
-.ui-slider-horizontal .ui-slider-range-max { right: 0; }
-
-.ui-slider-vertical { width: .8em; height: 100px; }
-.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
-.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
-.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
-.ui-slider-vertical .ui-slider-range-max { top: 0; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.tabs.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.tabs.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.tabs.css
deleted file mode 100755
index 0ef4507..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.tabs.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * jQuery UI Tabs 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Tabs#theming
- */
-.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
-.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
-.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
-.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
-.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
-.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
-.ui-tabs .ui-tabs-hide { display: none !important; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/29f27ad9/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.theme.css
----------------------------------------------------------------------
diff --git a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.theme.css b/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.theme.css
deleted file mode 100755
index 6b37962..0000000
--- a/products/stratos2/stratos_controller/1.0.0/modules/features-dashboard/WebContent/tenant-dashboard/js/jquery/themes/ui-lightness/jquery.ui.theme.css
+++ /dev/null
@@ -1,249 +0,0 @@
-
-
-/*
- * jQuery UI CSS Framework 1.8.14
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Theming/API
- *
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHig
 hlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
- */
-
-
-/* Component containers
-----------------------------------*/
-.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
-.ui-widget .ui-widget { font-size: 1em; }
-.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
-.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
-.ui-widget-content a { color: #333333; }
-.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
-.ui-widget-header a { color: #ffffff; }
-
-/* Interaction states
-----------------------------------*/
-.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
-.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
-.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
-.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
-.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
-.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
-.ui-widget :active { outline: none; }
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
-.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
-.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
-.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
-.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
-.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
-.ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
-.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
-.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
-.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
-
-/* positioning */
-.ui-icon-carat-1-n { background-position: 0 0; }
-.ui-icon-carat-1-ne { background-position: -16px 0; }
-.ui-icon-carat-1-e { background-position: -32px 0; }
-.ui-icon-carat-1-se { background-position: -48px 0; }
-.ui-icon-carat-1-s { background-position: -64px 0; }
-.ui-icon-carat-1-sw { background-position: -80px 0; }
-.ui-icon-carat-1-w { background-position: -96px 0; }
-.ui-icon-carat-1-nw { background-position: -112px 0; }
-.ui-icon-carat-2-n-s { background-position: -128px 0; }
-.ui-icon-carat-2-e-w { background-position: -144px 0; }
-.ui-icon-triangle-1-n { background-position: 0 -16px; }
-.ui-icon-triangle-1-ne { background-position: -16px -16px; }
-.ui-icon-triangle-1-e { background-position: -32px -16px; }
-.ui-icon-triangle-1-se { background-position: -48px -16px; }
-.ui-icon-triangle-1-s { background-position: -64px -16px; }
-.ui-icon-triangle-1-sw { background-position: -80px -16px; }
-.ui-icon-triangle-1-w { background-position: -96px -16px; }
-.ui-icon-triangle-1-nw { background-position: -112px -16px; }
-.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
-.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
-.ui-icon-arrow-1-n { background-position: 0 -32px; }
-.ui-icon-arrow-1-ne { background-position: -16px -32px; }
-.ui-icon-arrow-1-e { background-position: -32px -32px; }
-.ui-icon-arrow-1-se { background-position: -48px -32px; }
-.ui-icon-arrow-1-s { background-position: -64px -32px; }
-.ui-icon-arrow-1-sw { background-position: -80px -32px; }
-.ui-icon-arrow-1-w { background-position: -96px -32px; }
-.ui-icon-arrow-1-nw { background-position: -112px -32px; }
-.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
-.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
-.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
-.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
-.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
-.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
-.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
-.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
-.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
-.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
-.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
-.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
-.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
-.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
-.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
-.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
-.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
-.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
-.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
-.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
-.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
-.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
-.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
-.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
-.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
-.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
-.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
-.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
-.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
-.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
-.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
-.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
-.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
-.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
-.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
-.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
-.ui-icon-arrow-4 { background-position: 0 -80px; }
-.ui-icon-arrow-4-diag { background-position: -16px -80px; }
-.ui-icon-extlink { background-position: -32px -80px; }
-.ui-icon-newwin { background-position: -48px -80px; }
-.ui-icon-refresh { background-position: -64px -80px; }
-.ui-icon-shuffle { background-position: -80px -80px; }
-.ui-icon-transfer-e-w { background-position: -96px -80px; }
-.ui-icon-transferthick-e-w { background-position: -112px -80px; }
-.ui-icon-folder-collapsed { background-position: 0 -96px; }
-.ui-icon-folder-open { background-position: -16px -96px; }
-.ui-icon-document { background-position: -32px -96px; }
-.ui-icon-document-b { background-position: -48px -96px; }
-.ui-icon-note { background-position: -64px -96px; }
-.ui-icon-mail-closed { background-position: -80px -96px; }
-.ui-icon-mail-open { background-position: -96px -96px; }
-.ui-icon-suitcase { background-position: -112px -96px; }
-.ui-icon-comment { background-position: -128px -96px; }
-.ui-icon-person { background-position: -144px -96px; }
-.ui-icon-print { background-position: -160px -96px; }
-.ui-icon-trash { background-position: -176px -96px; }
-.ui-icon-locked { background-position: -192px -96px; }
-.ui-icon-unlocked { background-position: -208px -96px; }
-.ui-icon-bookmark { background-position: -224px -96px; }
-.ui-icon-tag { background-position: -240px -96px; }
-.ui-icon-home { background-position: 0 -112px; }
-.ui-icon-flag { background-position: -16px -112px; }
-.ui-icon-calendar { background-position: -32px -112px; }
-.ui-icon-cart { background-position: -48px -112px; }
-.ui-icon-pencil { background-position: -64px -112px; }
-.ui-icon-clock { background-position: -80px -112px; }
-.ui-icon-disk { background-position: -96px -112px; }
-.ui-icon-calculator { background-position: -112px -112px; }
-.ui-icon-zoomin { background-position: -128px -112px; }
-.ui-icon-zoomout { background-position: -144px -112px; }
-.ui-icon-search { background-position: -160px -112px; }
-.ui-icon-wrench { background-position: -176px -112px; }
-.ui-icon-gear { background-position: -192px -112px; }
-.ui-icon-heart { background-position: -208px -112px; }
-.ui-icon-star { background-position: -224px -112px; }
-.ui-icon-link { background-position: -240px -112px; }
-.ui-icon-cancel { background-position: 0 -128px; }
-.ui-icon-plus { background-position: -16px -128px; }
-.ui-icon-plusthick { background-position: -32px -128px; }
-.ui-icon-minus { background-position: -48px -128px; }
-.ui-icon-minusthick { background-position: -64px -128px; }
-.ui-icon-close { background-position: -80px -128px; }
-.ui-icon-closethick { background-position: -96px -128px; }
-.ui-icon-key { background-position: -112px -128px; }
-.ui-icon-lightbulb { background-position: -128px -128px; }
-.ui-icon-scissors { background-position: -144px -128px; }
-.ui-icon-clipboard { background-position: -160px -128px; }
-.ui-icon-copy { background-position: -176px -128px; }
-.ui-icon-contact { background-position: -192px -128px; }
-.ui-icon-image { background-position: -208px -128px; }
-.ui-icon-video { background-position: -224px -128px; }
-.ui-icon-script { background-position: -240px -128px; }
-.ui-icon-alert { background-position: 0 -144px; }
-.ui-icon-info { background-position: -16px -144px; }
-.ui-icon-notice { background-position: -32px -144px; }
-.ui-icon-help { background-position: -48px -144px; }
-.ui-icon-check { background-position: -64px -144px; }
-.ui-icon-bullet { background-position: -80px -144px; }
-.ui-icon-radio-off { background-position: -96px -144px; }
-.ui-icon-radio-on { background-position: -112px -144px; }
-.ui-icon-pin-w { background-position: -128px -144px; }
-.ui-icon-pin-s { background-position: -144px -144px; }
-.ui-icon-play { background-position: 0 -160px; }
-.ui-icon-pause { background-position: -16px -160px; }
-.ui-icon-seek-next { background-position: -32px -160px; }
-.ui-icon-seek-prev { background-position: -48px -160px; }
-.ui-icon-seek-end { background-position: -64px -160px; }
-.ui-icon-seek-start { background-position: -80px -160px; }
-/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
-.ui-icon-seek-first { background-position: -80px -160px; }
-.ui-icon-stop { background-position: -96px -160px; }
-.ui-icon-eject { background-position: -112px -160px; }
-.ui-icon-volume-off { background-position: -128px -160px; }
-.ui-icon-volume-on { background-position: -144px -160px; }
-.ui-icon-power { background-position: 0 -176px; }
-.ui-icon-signal-diag { background-position: -16px -176px; }
-.ui-icon-signal { background-position: -32px -176px; }
-.ui-icon-battery-0 { background-position: -48px -176px; }
-.ui-icon-battery-1 { background-position: -64px -176px; }
-.ui-icon-battery-2 { background-position: -80px -176px; }
-.ui-icon-battery-3 { background-position: -96px -176px; }
-.ui-icon-circle-plus { background-position: 0 -192px; }
-.ui-icon-circle-minus { background-position: -16px -192px; }
-.ui-icon-circle-close { background-position: -32px -192px; }
-.ui-icon-circle-triangle-e { background-position: -48px -192px; }
-.ui-icon-circle-triangle-s { background-position: -64px -192px; }
-.ui-icon-circle-triangle-w { background-position: -80px -192px; }
-.ui-icon-circle-triangle-n { background-position: -96px -192px; }
-.ui-icon-circle-arrow-e { background-position: -112px -192px; }
-.ui-icon-circle-arrow-s { background-position: -128px -192px; }
-.ui-icon-circle-arrow-w { background-position: -144px -192px; }
-.ui-icon-circle-arrow-n { background-position: -160px -192px; }
-.ui-icon-circle-zoomin { background-position: -176px -192px; }
-.ui-icon-circle-zoomout { background-position: -192px -192px; }
-.ui-icon-circle-check { background-position: -208px -192px; }
-.ui-icon-circlesmall-plus { background-position: 0 -208px; }
-.ui-icon-circlesmall-minus { background-position: -16px -208px; }
-.ui-icon-circlesmall-close { background-position: -32px -208px; }
-.ui-icon-squaresmall-plus { background-position: -48px -208px; }
-.ui-icon-squaresmall-minus { background-position: -64px -208px; }
-.ui-icon-squaresmall-close { background-position: -80px -208px; }
-.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
-.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
-.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
-.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
-.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
-.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Corner radius */
-.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
-.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
-.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
-
-/* Overlays */
-.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
-.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
\ No newline at end of file