http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant.jsp ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant.jsp b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant.jsp deleted file mode 100644 index dcf8d7f..0000000 --- a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant.jsp +++ /dev/null @@ -1,111 +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. - --%> -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib prefix="carbon" uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" %> -<%@ page import="org.apache.stratos.tenant.activity.ui.utils.TenantMonitorUtil" %> -<%@ page import="org.apache.stratos.common.config.CloudServiceConfig" %> -<%@ page import="java.util.Map" %> -<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="js/tenant_config.js"></script> - -<carbon:jsi18n - resourceBundle="org.apache.stratos.tenant.activity.ui.i18n.JSResources" - request="<%=request%>"/> - -<fmt:bundle basename="org.apache.stratos.tenant.activity.ui.i18n.Resources"> - <carbon:breadcrumb - label="govern.view_tenants.menu" - resourceBundle="org.apache.stratos.tenant.activity.ui.i18n.Resources" - topPage="true" - request="<%=request%>"/> - <% - String domainNameStr = request.getParameter("domain"); - %> - <div id="middle"> - <h2><fmt:message key="tenant.state.on.services.for.tenant"/> "<%=domainNameStr%>"</h2> - - <div id="workArea"> - <table id="activeStateTable" cellpadding="0" cellspacing="0" border="0" style="width:100%" - class="styledLeft"> - <thead> - <tr> - <th style="padding-left:5px;text-align:left;width:40%"><fmt:message key="service.name"/></th> - <th style="padding-left:5px;text-align:left;"><fmt:message key="tenant.status"/></th> - </tr> - </thead> - </table> - </div> - </div> -</fmt:bundle> -<% - String domainName = request.getParameter("domain"); - Map<String, CloudServiceConfig> cloudServicesConfigs = TenantMonitorUtil.getCloudServiceConfigMap(); -%> - -<script type="text/javascript"> - - function getStats() { - var serviceArray = new Array(); - <% - for(String serviceName : cloudServicesConfigs.keySet()){ - %> - var serviceObj = new Object(); - serviceObj.backEndUrl = '<%=cloudServicesConfigs.get(serviceName).getLink()%>'; - serviceObj.serviceName = '<%=serviceName%>'; - serviceObj.domainName = '<%=domainName%>'; - serviceArray.push(serviceObj); - <% } - %> - - for (var i = 0; i < serviceArray.length; i++) { - - jQuery.ajax({ - type: 'GET', - url: 'find-tenant-ajaxprocessor.jsp', - data: 'backEndUrl=' + serviceArray[i].backEndUrl + '&serviceName=' + serviceArray[i].serviceName + '&domainName=' + serviceArray[i].domainName, - dataType: 'json', - async: true, - success: function(msg) { - var resp = msg; - var active = 'Active'; - var inactive = 'Inactive'; - if (resp.isActive === true) { - document.getElementById('activeStateTable').innerHTML += '<tr><td>' + resp.service + '</td><td>' + active + '</td></tr>'; - } - else { - document.getElementById('activeStateTable').innerHTML += '<tr><td>' + resp.service + '</td><td>' + inactive + '</td></tr>'; - } - }, - error:function () { - CARBON.showErrorDialog('Could not connect to server'); - //document.getElementById('serviceStatTable').innerHTML += '<tr><td>' + eresp.servic + '</td><td>' + resp.count + '</td></tr>'; - document.getElementById('activeStateTable').innerHTML += 'Not Available'; - } - }); - } - } -</script> - -<body onload="getStats();"> -<div> -</div> -</body>
http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp deleted file mode 100644 index 7ac0263..0000000 --- a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp +++ /dev/null @@ -1,67 +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. - --%> -<%@page contentType="text/html" pageEncoding="UTF-8" %> -<%@ page import="org.json.JSONObject" %> -<%@ page import="org.apache.stratos.billing.mgt.stub.beans.xsd.Invoice" %> -<%@ page import="org.apache.stratos.billing.mgt.stub.beans.xsd.Payment" %> -<%@ page import="org.wso2.carbon.billing.mgt.ui.utils.BillingUtil" %> -<%@ page import="java.util.Date" %> -<%@ page import="org.apache.stratos.tenant.activity.ui.clients.TenantActivityServiceClient" %> -<%@ page import="java.io.Console" %> -<%@ page import="javax.rmi.CORBA.Util" %> -<%@ page import="org.apache.stratos.tenant.activity.ui.utils.TenantMonitorUtil" %> -<%@ page import="org.apache.stratos.tenant.activity.stub.beans.xsd.PaginatedTenantDataBean" %> - -<% - String serverUrl = request.getParameter("backEndUrl"); - String serviceName = request.getParameter("serviceName"); - - - int count = 0; - if (serverUrl == null || "null".equals(serverUrl.trim())) { - try { - TenantActivityServiceClient client = new TenantActivityServiceClient(config, session); - // TenantMonitorUtil.tenantDataList.put(serviceName, client.getAllActiveTenantList()); - count=client.getActiveTenantCount(); - } catch (Exception e) { - } - - } else { - try { - TenantActivityServiceClient client = new TenantActivityServiceClient(serverUrl, config, session); - // count = client.getAllActiveTenantList().length; - count=client.getActiveTenantCount(); - if (count > 0) { - // TenantMonitorUtil.tenantDataList.put(serviceName, client.getAllActiveTenantList()); - } else { - TenantMonitorUtil.tenantDataList.put(serviceName, null); - } - } catch (Exception e) { - } - } - - try { - JSONObject obj = new JSONObject(); - obj.put("count", count); - obj.put("service", serviceName); - out.write(obj.toString()); - } catch (Exception e) { - e.printStackTrace(); - } -%> http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/instance-usage-report.gif ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/instance-usage-report.gif b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/instance-usage-report.gif deleted file mode 100644 index 4a1ae6a..0000000 Binary files a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/instance-usage-report.gif and /dev/null differ http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/search.gif ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/search.gif b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/search.gif deleted file mode 100644 index cfe76b5..0000000 Binary files a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/search.gif and /dev/null differ http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/tenant-usage-report.gif ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/tenant-usage-report.gif b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/tenant-usage-report.gif deleted file mode 100644 index a9b04e2..0000000 Binary files a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/tenant-usage-report.gif and /dev/null differ http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/user-usage-report.gif ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/user-usage-report.gif b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/user-usage-report.gif deleted file mode 100644 index 9070c35..0000000 Binary files a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/images/user-usage-report.gif and /dev/null differ http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/show-active-tenants.jsp ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/show-active-tenants.jsp b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/show-active-tenants.jsp deleted file mode 100644 index c4259b7..0000000 --- a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/show-active-tenants.jsp +++ /dev/null @@ -1,130 +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. - --%> -<%@ page import="java.util.List" %> -<%@ page import="org.apache.stratos.tenant.activity.ui.clients.TenantActivityServiceClient" %> -<%@ page import="org.apache.stratos.tenant.activity.ui.utils.TenantMonitorUtil" %> -<%@ page import="java.util.Map" %> -<%@ page import="org.wso2.carbon.tenant.reg.agent.client.util.Util" %> -<%@ page import="org.apache.stratos.common.config.CloudServiceConfig" %> -<%@ 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.apache.axis2.context.ConfigurationContext" %> -<%@ page import="org.wso2.carbon.CarbonConstants" %> -<%@ page import="org.wso2.carbon.registry.common.ui.UIException" %> -<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %> -<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %> -<%@ page import="org.wso2.carbon.utils.ServerConstants" %> -<%@ page import="java.text.SimpleDateFormat" %> -<%@ page import="java.util.Calendar" %> -<%@ page import="java.util.Date" %> -<%@ page import="org.apache.stratos.tenant.activity.stub.TenantActivityServiceStub" %> -<%@ page import="org.apache.stratos.tenant.activity.stub.beans.xsd.TenantDataBean" %> -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %> -<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="js/tenant_config.js"></script> - -<carbon:jsi18n - resourceBundle="org.apache.stratos.tenant.activity.ui.i18n.JSResources" - request="<%=request%>"/> - -<fmt:bundle basename="org.apache.stratos.tenant.activity.ui.i18n.Resources"> - <carbon:breadcrumb - label="govern.view_tenants.menu" - resourceBundle="org.apache.stratos.tenant.activity.ui.i18n.Resources" - topPage="true" - request="<%=request%>"/> - <% - String serviceNameStr = request.getParameter("serviceName"); - %> - - <div id="middle"> - <h2><fmt:message key="active.tenants.on"/> <%=serviceNameStr%> - </h2> - - <div id="workArea"> - <table id="serviceStatTable1" cellpadding="0" cellspacing="0" border="0" style="width:100%" - class="styledLeft"> - <thead> - <tr> - <th style="padding-left:5px;text-align:left;width:30%"><fmt:message key="tenant.domain"/></th> - <th style="padding-left:5px;text-align:left;"><fmt:message - key="active.status"/></th> - </tr> - </thead> - <tbody> - <% - String pageNumberStr = request.getParameter("pageNumber"); - if (pageNumberStr == null) { - pageNumberStr = "0"; - - } - int pageNumber = 1; - try { - pageNumber = Integer.parseInt(pageNumberStr); - } catch (NumberFormatException ignored) { - // page number format exception - } - int numberOfPages = 1; - try { - String backEndUrl = TenantMonitorUtil.getCloudServiceConfigMap().get(request.getParameter("serviceName")).getLink(); - TenantActivityServiceClient client; - if (backEndUrl == null || "null".equals(backEndUrl.trim())) { - client = new TenantActivityServiceClient(config, session); - } else { - client = new TenantActivityServiceClient(backEndUrl, config, session); - } - for (TenantDataBean bean : client.getPaginatedActiveTenantList(pageNumber).getTenantInfoBeans()) { - %> - <tr> - <td><%=bean.getDomain()%> - </td> - <td>Active</td> - </tr> - <% - } - } catch (Exception e) { - %> - <tr> - <td>No Data Available for this Service</td> - </tr> - <% } - String reDirectPage = "show-active-tenants.jsp?serviceName=" + serviceNameStr + "&"; - %> - <carbon:paginator pageNumber="<%=pageNumber%>" numberOfPages="<%=numberOfPages%>" - page="<%=reDirectPage%>" pageNumberParameterName="pageNumber"/> - </tbody> - </table> - <input type='hidden' name='serviceName' id="serviceName"/> - </div> - </div> -</fmt:bundle> - -<script type="text/javascript"> - - function getStats() { - console.log("In the getStat() function"); - - } - function showTenants(serviceNameKey) { - } -</script> http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/tenant-activity.jsp ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/tenant-activity.jsp b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/tenant-activity.jsp deleted file mode 100644 index 014c923..0000000 --- a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/tenant-activity.jsp +++ /dev/null @@ -1,175 +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. - --%> -<%@ page import="java.util.List" %> -<%@ page import="org.apache.stratos.tenant.activity.ui.clients.TenantActivityServiceClient" %> -<%@ page import="org.apache.stratos.tenant.activity.ui.utils.TenantMonitorUtil" %> -<%@ page import="java.util.Map" %> -<%@ page import="org.apache.stratos.common.config.CloudServiceConfig" %> -<%@ 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.apache.axis2.context.ConfigurationContext" %> -<%@ page import="org.wso2.carbon.CarbonConstants" %> -<%@ page import="org.wso2.carbon.registry.common.ui.UIException" %> -<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %> -<%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %> -<%@ page import="org.wso2.carbon.utils.ServerConstants" %> -<%@ page import="java.text.SimpleDateFormat" %> -<%@ page import="java.util.Calendar" %> -<%@ page import="java.util.Date" %> -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %> -<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="js/tenant_config.js"></script> - -<carbon:jsi18n - resourceBundle="org.apache.stratos.tenant.activity.ui.i18n.JSResources" - request="<%=request%>"/> - -<fmt:bundle basename="org.apache.stratos.tenant.activity.ui.i18n.Resources"> - <carbon:breadcrumb - label="govern.view_tenants.menu" - resourceBundle="org.apache.stratos.tenant.activity.ui.i18n.Resources" - topPage="true" - request="<%=request%>"/> - - - <div id="middle"> - <div id="top"> - <h2><fmt:message key="active.tenants.services"/></h2> - - <form id="findTenantForm" action="find-tenant.jsp" method="post"> - <table class="normal-nopadding" cellspacing="0"> - <tbody> - <tr style="border:0; !important"> - <td style="border:0; !important"> - <nobr> - - Enter Tenant Domain - <input type="text" name="domain" id="domain" value=""> - </nobr> - </td> - <td style="border:0; !important"> - <a class="icon-link" href="#" style="background-image: url(images/search.gif);" - onclick="domainSelected();" alt="Search"></a> - </td> - </tr> - </tbody> - </table> - </form> - </div> - - <div id="workArea"> - <table id="serviceStatTable1" cellpadding="0" cellspacing="0" border="0" style="width:100%" - class="styledLeft"> - <thead> - <tr> - <th style="padding-left:5px;text-align:left;width:40%"><fmt:message key="service.name"/></th> - <th style="padding-left:5px;text-align:left;width:150px"><fmt:message - key="active.tenant.count"/></th> - <th style="padding-left:5px;text-align:left;"><fmt:message key="view.list"/></th> - </tr> - </thead> - </table> - </div> - </div> -</fmt:bundle> - -<% - Map<String, CloudServiceConfig> cloudServicesConfigs = TenantMonitorUtil.getCloudServiceConfigMap(); -%> - - -<script type="text/javascript"> - - function getStats() { - console.log("In the getStat() function"); - var serviceArray = new Array(); - - <% - for(String serviceName : cloudServicesConfigs.keySet()){ - - %> - - var serviceObj = new Object(); - serviceObj.backEndUrl = '<%=cloudServicesConfigs.get(serviceName).getLink()%>'; - serviceObj.serviceName = '<%=serviceName%>'; - serviceArray.push(serviceObj); - - <% } - %> - - for (var i = 0; i < serviceArray.length; i++) { - - jQuery.ajax({ - type: 'GET', - url: 'get-data-ajaxprocessor.jsp', - data: 'backEndUrl=' + serviceArray[i].backEndUrl + '&serviceName=' + serviceArray[i].serviceName, - dataType: 'json', - async: true, - success: function(msg) { - var resp = msg; - var view = 'View'; - if (resp.count > 0) { - document.getElementById('serviceStatTable1').innerHTML += '<tr><td><a href="javascript:showTenants(\'' + resp.service + '\');">' + resp.service + '</a></td><td>' + resp.count + '</td><td><a href="javascript:showTenants(\'' + resp.service + '\');">' + view + '</a></td></tr>'; - } - else { - document.getElementById('serviceStatTable1').innerHTML += '<tr><td>' + resp.service + '</td><td>' + resp.count + '</td><td>-</td></tr>'; - } - }, - error:function () { - CARBON.showErrorDialog('Could not connect to server'); - //document.getElementById('serviceStatTable').innerHTML += '<tr><td>' + eresp.servic + '</td><td>' + resp.count + '</td></tr>'; - document.getElementById('serviceStatTable').innerHTML += 'Not Available'; - } - }); - - } - } - function showTenants(serviceNameKey) { - document.getElementById("serviceName").value = serviceNameKey; - document.myform.submit(); - } - - function domainSelected() { - var findDomainForm = document.getElementById('findTenantForm'); - var domain = document.getElementById("domain").getValue(); - if(domain.length > 3){ - findDomainForm.submit(); - } - else{ - CARBON.showErrorDialog('Enter valid domain name'); - } - - } - -</script> - -<body onload="getStats();"> -<div> - <table id="serviceStatTable"></table> - <form name="myform" method="post" action="show-active-tenants.jsp"> - <input type='hidden' name='serviceName' id="serviceName"/> - </form> -</div> -</body> http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/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 deleted file mode 100644 index 592e1c7..0000000 --- a/components/org.apache.stratos.validate.domain.ui/pom.xml +++ /dev/null @@ -1,105 +0,0 @@ -<?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-components-parent</artifactId> - <version>4.1.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - - <modelVersion>4.0.0</modelVersion> - <artifactId>org.apache.stratos.validate.domain.ui</artifactId> - <packaging>bundle</packaging> - <name>Apache Stratos - Validate Domains - User Interface</name> - - <build> - - <plugins> - - <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.validate.domain.ui.*, - </Export-Package> - <Import-Package> - javax.servlet;version="${imp.pkg.version.javax.servlet}", - javax.servlet.http;version="${imp.pkg.version.javax.servlet}", - org.apache.lucene.*, - org.apache.stratos.validate.domain.stub.*; version="${project.version}", - *;resolution:=optional - </Import-Package> - <Carbon-Component>UIBundle</Carbon-Component> - </instructions> - </configuration> - </plugin> - - </plugins> - </build> - - <dependencies> - - <dependency> - <groupId>org.wso2.carbon</groupId> - <artifactId>org.wso2.carbon.registry.core</artifactId> - </dependency> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </dependency> - <dependency> - <groupId>org.eclipse.equinox</groupId> - <artifactId>javax.servlet</artifactId> - <version>${version.javax.servlet}</version> - <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> - <version>${orbit.version.axiom}</version> - </dependency> - <dependency> - <groupId>org.wso2.carbon</groupId> - <artifactId>org.wso2.carbon.ui</artifactId> - <version>${wso2carbon.version}</version> - </dependency> - <dependency> - <groupId>org.apache.stratos</groupId> - <artifactId>org.apache.stratos.validate.domain.stub</artifactId> - <version>${project.version}</version> - </dependency> - </dependencies> - - <properties> - <version.javax.servlet>3.0.0.v201112011016</version.javax.servlet> - </properties> -</project> http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainAdminClient.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainAdminClient.java b/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainAdminClient.java deleted file mode 100644 index 372c9b7..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainAdminClient.java +++ /dev/null @@ -1,118 +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. - */ -package org.apache.stratos.validate.domain.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.registry.core.exceptions.RegistryException; -import org.wso2.carbon.ui.CarbonUIUtil; -import org.wso2.carbon.utils.ServerConstants; -import org.apache.stratos.validate.domain.stub.services.ValidateDomainAdminServiceStub; - -import javax.servlet.ServletConfig; -import javax.servlet.http.HttpSession; - -public class ValidateDomainAdminClient implements ValidateDomainClient { - private static final Log log = LogFactory.getLog(ValidateDomainAdminClient.class); - - private ValidateDomainAdminServiceStub stub; - private String epr; - - public ValidateDomainAdminClient(String cookie, String backendServerURL, - ConfigurationContext configContext) throws RegistryException { - - epr = backendServerURL + "ValidateDomainAdminService"; - - try { - stub = new ValidateDomainAdminServiceStub(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 Validate Domain service client. " + axisFault.getMessage(); - log.error(msg, axisFault); - throw new RegistryException(msg, axisFault); - } - } - - public ValidateDomainAdminClient(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 + "ValidateDomainAdminService"; - - try { - stub = new ValidateDomainAdminServiceStub(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 String getDomainValidationKey(String domain) throws RegistryException { - try { - return stub.getDomainValidationKey(domain); - } catch (Exception e) { - String msg = "Failed to get domain validation keys. " + e.getMessage(); - log.error(msg, e); - throw new RegistryException(msg, e); - } - } - - public String validateByDNSEntry(String domain) throws RegistryException { - try { - return stub.validateByDNSEntry(domain); - } catch (Exception e) { - String msg = "Failed to validate by dns entry. " + e.getMessage(); - log.error(msg, e); - throw new RegistryException(msg, e); - } - } - - public String validateByTextInRoot(String domain) throws RegistryException { - try { - return stub.validateByTextInRoot(domain); - } catch (Exception e) { - String msg = "Failed to validate by dns entry. " + e.getMessage(); - log.error(msg, e); - throw new RegistryException(msg, e); - } - } -} http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainClient.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainClient.java b/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainClient.java deleted file mode 100644 index 1556c01..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainClient.java +++ /dev/null @@ -1,30 +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. - */ -package org.apache.stratos.validate.domain.ui.clients; - -import org.wso2.carbon.registry.core.exceptions.RegistryException; - -public interface ValidateDomainClient { - public String getDomainValidationKey(String domain) throws RegistryException; - - public String validateByDNSEntry(String domain) throws RegistryException; - - public String validateByTextInRoot(String domain) throws RegistryException; - -} http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainNonAdminClient.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainNonAdminClient.java b/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainNonAdminClient.java deleted file mode 100644 index 2676cd3..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/clients/ValidateDomainNonAdminClient.java +++ /dev/null @@ -1,116 +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. - */ -package org.apache.stratos.validate.domain.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.registry.core.exceptions.RegistryException; -import org.wso2.carbon.ui.CarbonUIUtil; -import org.wso2.carbon.utils.ServerConstants; -import org.apache.stratos.validate.domain.stub.services.ValidateDomainServiceStub; - -import javax.servlet.ServletConfig; -import javax.servlet.http.HttpSession; - -public class ValidateDomainNonAdminClient implements ValidateDomainClient { - private static final Log log = LogFactory.getLog(ValidateDomainNonAdminClient.class); - - private ValidateDomainServiceStub stub; - private String epr; - - public ValidateDomainNonAdminClient( - String cookie, String backendServerURL, ConfigurationContext configContext) - throws RegistryException { - - epr = backendServerURL + "ValidateDomainService"; - - try { - stub = new ValidateDomainServiceStub(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 ValidateDomainNonAdminClient(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 + "ValidateDomainService"; - - try { - stub = new ValidateDomainServiceStub(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 String getDomainValidationKey(String domain) throws RegistryException { - try { - return stub.getDomainValidationKey(domain); - } catch (Exception e) { - String msg = "Failed to get domain validation keys. " + e.getMessage(); - log.error(msg, e); - throw new RegistryException(msg, e); - } - } - - public String validateByDNSEntry(String domain) throws RegistryException { - try { - return stub.validateByDNSEntry(domain); - } catch (Exception e) { - String msg = "Failed to validate by dns entry. " + e.getMessage(); - log.error(msg, e); - throw new RegistryException(msg, e); - } - } - - public String validateByTextInRoot(String domain) throws RegistryException { - try { - return stub.validateByTextInRoot(domain); - } catch (Exception e) { - String msg = "Failed to validate by dns entry. " + e.getMessage(); - log.error(msg, e); - throw new RegistryException(msg, e); - } - } -} http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/utils/Util.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/utils/Util.java b/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/utils/Util.java deleted file mode 100644 index 32621f9..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/java/org/apache/stratos/validate/domain/ui/utils/Util.java +++ /dev/null @@ -1,43 +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. - */ -package org.apache.stratos.validate.domain.ui.utils; - -import javax.servlet.ServletConfig; -import javax.servlet.ServletRequest; -import javax.servlet.http.HttpSession; - -import org.wso2.carbon.registry.core.exceptions.RegistryException; -import org.apache.stratos.validate.domain.ui.clients.ValidateDomainAdminClient; -import org.apache.stratos.validate.domain.ui.clients.ValidateDomainClient; -import org.apache.stratos.validate.domain.ui.clients.ValidateDomainNonAdminClient; - -public class Util { - public static ValidateDomainClient getValidateDomainClient(ServletRequest request, - ServletConfig config, HttpSession session) throws RegistryException { - // this doesn't make any security hole, as even a not-logged-in user try - // manually put status parameter to logged_in, still the back-end service - // try to validate him and he will fail. - - String status = request.getParameter("status"); - if ("logged_in".equals(status)) { - return new ValidateDomainAdminClient(config, session); - } - return new ValidateDomainNonAdminClient(config, session); - } -} http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/META-INF/component.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/META-INF/component.xml b/components/org.apache.stratos.validate.domain.ui/src/main/resources/META-INF/component.xml deleted file mode 100644 index 8f02f6d..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/resources/META-INF/component.xml +++ /dev/null @@ -1,22 +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. - --> -<component xmlns="http://products.wso2.org/carbon"> - - -</component> http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/ValidateDomainAdminService.wsdl ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/ValidateDomainAdminService.wsdl b/components/org.apache.stratos.validate.domain.ui/src/main/resources/ValidateDomainAdminService.wsdl deleted file mode 100644 index 52ceb20..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/resources/ValidateDomainAdminService.wsdl +++ /dev/null @@ -1,257 +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. - --> - -<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.domain.validate.carbon.wso2.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 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.domain.validate.carbon.wso2.org"> - <wsdl:documentation>ValidateDomainAdminService</wsdl:documentation> - <wsdl:types> - <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.domain.validate.carbon.wso2.org"> - <xs:element name="validateByTextInRootException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="validateByTextInRootException" 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="validateByTextInRoot"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="validateByTextInRootResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="validateByDNSEntryException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="validateByDNSEntryException" nillable="true" type="ns:Exception" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="validateByDNSEntry"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="validateByDNSEntryResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getDomainValidationKeyException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="getDomainValidationKeyException" nillable="true" type="ns:Exception" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getDomainValidationKey"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getDomainValidationKeyResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - </wsdl:types> - <wsdl:message name="validateByTextInRootRequest"> - <wsdl:part name="parameters" element="ns:validateByTextInRoot" /> - </wsdl:message> - <wsdl:message name="validateByTextInRootResponse"> - <wsdl:part name="parameters" element="ns:validateByTextInRootResponse" /> - </wsdl:message> - <wsdl:message name="validateByTextInRootException"> - <wsdl:part name="parameters" element="ns:validateByTextInRootException" /> - </wsdl:message> - <wsdl:message name="validateByDNSEntryRequest"> - <wsdl:part name="parameters" element="ns:validateByDNSEntry" /> - </wsdl:message> - <wsdl:message name="validateByDNSEntryResponse"> - <wsdl:part name="parameters" element="ns:validateByDNSEntryResponse" /> - </wsdl:message> - <wsdl:message name="validateByDNSEntryException"> - <wsdl:part name="parameters" element="ns:validateByDNSEntryException" /> - </wsdl:message> - <wsdl:message name="getDomainValidationKeyRequest"> - <wsdl:part name="parameters" element="ns:getDomainValidationKey" /> - </wsdl:message> - <wsdl:message name="getDomainValidationKeyResponse"> - <wsdl:part name="parameters" element="ns:getDomainValidationKeyResponse" /> - </wsdl:message> - <wsdl:message name="getDomainValidationKeyException"> - <wsdl:part name="parameters" element="ns:getDomainValidationKeyException" /> - </wsdl:message> - <wsdl:portType name="ValidateDomainAdminServicePortType"> - <wsdl:operation name="validateByTextInRoot"> - <wsdl:input message="ns:validateByTextInRootRequest" wsaw:Action="urn:validateByTextInRoot" /> - <wsdl:output message="ns:validateByTextInRootResponse" wsaw:Action="urn:validateByTextInRootResponse" /> - <wsdl:fault message="ns:validateByTextInRootException" name="validateByTextInRootException" wsaw:Action="urn:validateByTextInRootvalidateByTextInRootException" /> - </wsdl:operation> - <wsdl:operation name="validateByDNSEntry"> - <wsdl:input message="ns:validateByDNSEntryRequest" wsaw:Action="urn:validateByDNSEntry" /> - <wsdl:output message="ns:validateByDNSEntryResponse" wsaw:Action="urn:validateByDNSEntryResponse" /> - <wsdl:fault message="ns:validateByDNSEntryException" name="validateByDNSEntryException" wsaw:Action="urn:validateByDNSEntryvalidateByDNSEntryException" /> - </wsdl:operation> - <wsdl:operation name="getDomainValidationKey"> - <wsdl:input message="ns:getDomainValidationKeyRequest" wsaw:Action="urn:getDomainValidationKey" /> - <wsdl:output message="ns:getDomainValidationKeyResponse" wsaw:Action="urn:getDomainValidationKeyResponse" /> - <wsdl:fault message="ns:getDomainValidationKeyException" name="getDomainValidationKeyException" wsaw:Action="urn:getDomainValidationKeygetDomainValidationKeyException" /> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="ValidateDomainAdminServiceSoap11Binding" type="ns:ValidateDomainAdminServicePortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <wsdl:operation name="validateByTextInRoot"> - <soap:operation soapAction="urn:validateByTextInRoot" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - <wsdl:fault name="validateByTextInRootException"> - <soap:fault use="literal" name="validateByTextInRootException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="validateByDNSEntry"> - <soap:operation soapAction="urn:validateByDNSEntry" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - <wsdl:fault name="validateByDNSEntryException"> - <soap:fault use="literal" name="validateByDNSEntryException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getDomainValidationKey"> - <soap:operation soapAction="urn:getDomainValidationKey" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - <wsdl:fault name="getDomainValidationKeyException"> - <soap:fault use="literal" name="getDomainValidationKeyException" /> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="ValidateDomainAdminServiceSoap12Binding" type="ns:ValidateDomainAdminServicePortType"> - <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <wsdl:operation name="validateByTextInRoot"> - <soap12:operation soapAction="urn:validateByTextInRoot" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - <wsdl:fault name="validateByTextInRootException"> - <soap12:fault use="literal" name="validateByTextInRootException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="validateByDNSEntry"> - <soap12:operation soapAction="urn:validateByDNSEntry" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - <wsdl:fault name="validateByDNSEntryException"> - <soap12:fault use="literal" name="validateByDNSEntryException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getDomainValidationKey"> - <soap12:operation soapAction="urn:getDomainValidationKey" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - <wsdl:fault name="getDomainValidationKeyException"> - <soap12:fault use="literal" name="getDomainValidationKeyException" /> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="ValidateDomainAdminServiceHttpBinding" type="ns:ValidateDomainAdminServicePortType"> - <http:binding verb="POST" /> - <wsdl:operation name="validateByTextInRoot"> - <http:operation location="validateByTextInRoot" /> - <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="validateByDNSEntry"> - <http:operation location="validateByDNSEntry" /> - <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="getDomainValidationKey"> - <http:operation location="getDomainValidationKey" /> - <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="ValidateDomainAdminService"> - <wsdl:port name="ValidateDomainAdminServiceHttpsSoap11Endpoint" binding="ns:ValidateDomainAdminServiceSoap11Binding"> - <soap:address location="https://192.168.1.100:9443/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpsSoap11Endpoint/" /> - </wsdl:port> - <wsdl:port name="ValidateDomainAdminServiceHttpsSoap12Endpoint" binding="ns:ValidateDomainAdminServiceSoap12Binding"> - <soap12:address location="https://192.168.1.100:9443/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpsSoap12Endpoint/" /> - </wsdl:port> - <wsdl:port name="ValidateDomainAdminServiceHttpsEndpoint" binding="ns:ValidateDomainAdminServiceHttpBinding"> - <http:address location="https://192.168.1.100:9443/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpsEndpoint/" /> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/ValidateDomainService.wsdl ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/ValidateDomainService.wsdl b/components/org.apache.stratos.validate.domain.ui/src/main/resources/ValidateDomainService.wsdl deleted file mode 100644 index 4c4b656..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/resources/ValidateDomainService.wsdl +++ /dev/null @@ -1,257 +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. - --> - -<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.domain.validate.carbon.wso2.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 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.domain.validate.carbon.wso2.org"> - <wsdl:documentation>ValidateDomainService</wsdl:documentation> - <wsdl:types> - <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.domain.validate.carbon.wso2.org"> - <xs:element name="validateByTextInRootException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="validateByTextInRootException" 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="validateByTextInRoot"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="validateByTextInRootResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="validateByDNSEntryException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="validateByDNSEntryException" nillable="true" type="ns:Exception" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="validateByDNSEntry"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="validateByDNSEntryResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getDomainValidationKeyException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="getDomainValidationKeyException" nillable="true" type="ns:Exception" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getDomainValidationKey"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getDomainValidationKeyResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - </wsdl:types> - <wsdl:message name="validateByTextInRootRequest"> - <wsdl:part name="parameters" element="ns:validateByTextInRoot" /> - </wsdl:message> - <wsdl:message name="validateByTextInRootResponse"> - <wsdl:part name="parameters" element="ns:validateByTextInRootResponse" /> - </wsdl:message> - <wsdl:message name="validateByTextInRootException"> - <wsdl:part name="parameters" element="ns:validateByTextInRootException" /> - </wsdl:message> - <wsdl:message name="validateByDNSEntryRequest"> - <wsdl:part name="parameters" element="ns:validateByDNSEntry" /> - </wsdl:message> - <wsdl:message name="validateByDNSEntryResponse"> - <wsdl:part name="parameters" element="ns:validateByDNSEntryResponse" /> - </wsdl:message> - <wsdl:message name="validateByDNSEntryException"> - <wsdl:part name="parameters" element="ns:validateByDNSEntryException" /> - </wsdl:message> - <wsdl:message name="getDomainValidationKeyRequest"> - <wsdl:part name="parameters" element="ns:getDomainValidationKey" /> - </wsdl:message> - <wsdl:message name="getDomainValidationKeyResponse"> - <wsdl:part name="parameters" element="ns:getDomainValidationKeyResponse" /> - </wsdl:message> - <wsdl:message name="getDomainValidationKeyException"> - <wsdl:part name="parameters" element="ns:getDomainValidationKeyException" /> - </wsdl:message> - <wsdl:portType name="ValidateDomainServicePortType"> - <wsdl:operation name="validateByTextInRoot"> - <wsdl:input message="ns:validateByTextInRootRequest" wsaw:Action="urn:validateByTextInRoot" /> - <wsdl:output message="ns:validateByTextInRootResponse" wsaw:Action="urn:validateByTextInRootResponse" /> - <wsdl:fault message="ns:validateByTextInRootException" name="validateByTextInRootException" wsaw:Action="urn:validateByTextInRootvalidateByTextInRootException" /> - </wsdl:operation> - <wsdl:operation name="validateByDNSEntry"> - <wsdl:input message="ns:validateByDNSEntryRequest" wsaw:Action="urn:validateByDNSEntry" /> - <wsdl:output message="ns:validateByDNSEntryResponse" wsaw:Action="urn:validateByDNSEntryResponse" /> - <wsdl:fault message="ns:validateByDNSEntryException" name="validateByDNSEntryException" wsaw:Action="urn:validateByDNSEntryvalidateByDNSEntryException" /> - </wsdl:operation> - <wsdl:operation name="getDomainValidationKey"> - <wsdl:input message="ns:getDomainValidationKeyRequest" wsaw:Action="urn:getDomainValidationKey" /> - <wsdl:output message="ns:getDomainValidationKeyResponse" wsaw:Action="urn:getDomainValidationKeyResponse" /> - <wsdl:fault message="ns:getDomainValidationKeyException" name="getDomainValidationKeyException" wsaw:Action="urn:getDomainValidationKeygetDomainValidationKeyException" /> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="ValidateDomainServiceSoap11Binding" type="ns:ValidateDomainServicePortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <wsdl:operation name="validateByTextInRoot"> - <soap:operation soapAction="urn:validateByTextInRoot" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - <wsdl:fault name="validateByTextInRootException"> - <soap:fault use="literal" name="validateByTextInRootException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="validateByDNSEntry"> - <soap:operation soapAction="urn:validateByDNSEntry" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - <wsdl:fault name="validateByDNSEntryException"> - <soap:fault use="literal" name="validateByDNSEntryException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getDomainValidationKey"> - <soap:operation soapAction="urn:getDomainValidationKey" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - <wsdl:fault name="getDomainValidationKeyException"> - <soap:fault use="literal" name="getDomainValidationKeyException" /> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="ValidateDomainServiceSoap12Binding" type="ns:ValidateDomainServicePortType"> - <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <wsdl:operation name="validateByTextInRoot"> - <soap12:operation soapAction="urn:validateByTextInRoot" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - <wsdl:fault name="validateByTextInRootException"> - <soap12:fault use="literal" name="validateByTextInRootException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="validateByDNSEntry"> - <soap12:operation soapAction="urn:validateByDNSEntry" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - <wsdl:fault name="validateByDNSEntryException"> - <soap12:fault use="literal" name="validateByDNSEntryException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getDomainValidationKey"> - <soap12:operation soapAction="urn:getDomainValidationKey" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - <wsdl:fault name="getDomainValidationKeyException"> - <soap12:fault use="literal" name="getDomainValidationKeyException" /> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="ValidateDomainServiceHttpBinding" type="ns:ValidateDomainServicePortType"> - <http:binding verb="POST" /> - <wsdl:operation name="validateByTextInRoot"> - <http:operation location="validateByTextInRoot" /> - <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="validateByDNSEntry"> - <http:operation location="validateByDNSEntry" /> - <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="getDomainValidationKey"> - <http:operation location="getDomainValidationKey" /> - <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="ValidateDomainService"> - <wsdl:port name="ValidateDomainServiceHttpsSoap11Endpoint" binding="ns:ValidateDomainServiceSoap11Binding"> - <soap:address location="https://192.168.1.100:9443/services/ValidateDomainService.ValidateDomainServiceHttpsSoap11Endpoint/" /> - </wsdl:port> - <wsdl:port name="ValidateDomainServiceHttpsSoap12Endpoint" binding="ns:ValidateDomainServiceSoap12Binding"> - <soap12:address location="https://192.168.1.100:9443/services/ValidateDomainService.ValidateDomainServiceHttpsSoap12Endpoint/" /> - </wsdl:port> - <wsdl:port name="ValidateDomainServiceHttpsEndpoint" binding="ns:ValidateDomainServiceHttpBinding"> - <http:address location="https://192.168.1.100:9443/services/ValidateDomainService.ValidateDomainServiceHttpsEndpoint/" /> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/org/apache/stratos/validate/domain/ui/i18n/JSResources.properties ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/org/apache/stratos/validate/domain/ui/i18n/JSResources.properties b/components/org.apache.stratos.validate.domain.ui/src/main/resources/org/apache/stratos/validate/domain/ui/i18n/JSResources.properties deleted file mode 100644 index 1a07bee..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/resources/org/apache/stratos/validate/domain/ui/i18n/JSResources.properties +++ /dev/null @@ -1,28 +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. -# -# - -validation.fail.with.text=Domain ownership validation failed. Make sure you have put the exact text content mentioned here in the web root. -validation.success.with.text=Domain ownership validation succeeded. -validation.fail.with.dns=Domain ownership validation failed. Note it may take sometime to propagate the changes in DNS. Please retry after a little break. -validation.success.with.dns=Domain ownership validation succeeded. -domain.empty=The domain to validate ownership is empty. -domain.unavailable=The domain is already registered. Please choose a different domain. -session.timed.out=Your session timed out. Please login again. http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/org/apache/stratos/validate/domain/ui/i18n/Resources.properties ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/org/apache/stratos/validate/domain/ui/i18n/Resources.properties b/components/org.apache.stratos.validate.domain.ui/src/main/resources/org/apache/stratos/validate/domain/ui/i18n/Resources.properties deleted file mode 100644 index d4ee15c..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/resources/org/apache/stratos/validate/domain/ui/i18n/Resources.properties +++ /dev/null @@ -1,24 +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. -# -# - -domain.ownership.validation=Domain Ownership Validation -validate.domain.menu=Validate Domain -validate=Validate http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/css/validate_domain.css ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/css/validate_domain.css b/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/css/validate_domain.css deleted file mode 100644 index 02dfd96..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/css/validate_domain.css +++ /dev/null @@ -1,52 +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. - * -*/ - -div#validation-introduction { - margin: 5px; -} - -div#with-text { - margin: 5px; -} - -div#with-dns { - margin: 5px; -} -p { - padding:5px !important; -} - -p.validate-button { - padding: 15px 5px 15px 5px !important; -} - -li.catagory { - padding: 5px 0px 5px 25px !important; -} - - - -div.conf-info { - background: #cccccc !important; - border: 1px solid #111 !important; - margin: 5px !important; - padding: 2px !important; -} http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/docs/images/domain-validation.png ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/docs/images/domain-validation.png b/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/docs/images/domain-validation.png deleted file mode 100644 index 382dfdb..0000000 Binary files a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/docs/images/domain-validation.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/docs/userguide.html ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/docs/userguide.html b/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/docs/userguide.html deleted file mode 100644 index 91fe9df..0000000 --- a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/docs/userguide.html +++ /dev/null @@ -1,48 +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. - --> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> - <title>Validate Domain Ownership - User Guide</title> - <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all" /> -</head> - -<body> -<h1>Validate Domain Ownership</h1> - -<p> -You can validate the ownership of your domain using two methods, - <ul> - <li>Creating a text file in the domain web ROOT </li> - <li>Setting up a CNAME entry in your DNS</li> - </ul> - -</p> - - -<p>Instructions are shown in the following form.</p> - -<p> -<img src="images/domain-validation.png" alt="Validation domain ownership"/> -<div><strong>Figure1: Validate domain Ownership</strong></div> -</p> - -</body> - -</html> http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/ajax-loader.gif ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/ajax-loader.gif b/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/ajax-loader.gif deleted file mode 100644 index f2a1bc0..0000000 Binary files a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/ajax-loader.gif and /dev/null differ http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/right.gif ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/right.gif b/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/right.gif deleted file mode 100644 index 72a64c9..0000000 Binary files a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/right.gif and /dev/null differ http://git-wip-us.apache.org/repos/asf/stratos/blob/bfc6d758/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/wrong.gif ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/wrong.gif b/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/wrong.gif deleted file mode 100644 index 77e1f2c..0000000 Binary files a/components/org.apache.stratos.validate.domain.ui/src/main/resources/web/validate-domain/images/wrong.gif and /dev/null differ
