提交 f24298a8 编写于 作者: Y yong.you

merge the code

上级 a4486c17
<?xml version="1.0" encoding="utf-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="status" type="StatusType"/>
<xs:complexType name="StatusType">
<xs:sequence>
......
......@@ -35,6 +35,7 @@ public class StateDelegate implements ReportDelegate<StateReport> {
Date startTime = report.getStartTime();
String domain = report.getDomain();
m_taskManager.createTask(startTime, domain, Constants.REPORT_ABTEST, TaskProlicy.HOULY);
m_taskManager.createTask(startTime, domain, Constants.REPORT_SERVICE, TaskProlicy.ALL);
m_taskManager.createTask(startTime, domain, Constants.REPORT_BUG, TaskProlicy.ALL);
m_taskManager.createTask(startTime, domain, Constants.REPORT_HEAVY, TaskProlicy.ALL);
......
......@@ -21,5 +21,5 @@ public class Constants {
public static final String REPORT_HEAVY = "heavy";
public static final String ABTEST = "abtest";
public static final String REPORT_ABTEST = "abtest";
}
......@@ -185,7 +185,8 @@
${basedir}/src/main/resources/META-INF/dal/model/service-report-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/model/heavy-report-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/model/utilization-report-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/model/utilization-config-manifest.xml,</manifest>
${basedir}/src/main/resources/META-INF/dal/model/utilization-config-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/model/abtest-report-manifest.xml,</manifest>
</configuration>
</execution>
<execution>
......@@ -195,11 +196,11 @@
<goal>dal-jdbc</goal>
</goals>
<configuration>
<manifest><![CDATA[${basedir}/src/main/resources/META-INF/dal/jdbc/report-manifest.xml,
<manifest><![CDATA[
${basedir}/src/main/resources/META-INF/dal/jdbc/report-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/jdbc/alarm-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/jdbc/user-manifest.xml,]]> <![CDATA[${basedir}/src/main/resources/META-INF/dal/jdbc/report-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/jdbc/alarm-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/jdbc/abtest-manifest.xml,]]></manifest>
${basedir}/src/main/resources/META-INF/dal/jdbc/abtest-manifest.xml,
${basedir}/src/main/resources/META-INF/dal/jdbc/user-manifest.xml,]]></manifest>
</configuration>
</execution>
</executions>
......
......@@ -169,7 +169,7 @@ public class ReportFacade implements LogEnabled, Initializable {
m_reportBuilders.put(Constants.REPORT_SERVICE, m_serviceReportBuilder);
m_reportBuilders.put(Constants.REPORT_HEAVY, m_heavyReportBuilder);
m_reportBuilders.put(Constants.REPORT_UTILIZATION, m_utilizationReportBuilder);
m_reportBuilders.put(Constants.ABTEST, m_abtestReportBuilder);
m_reportBuilders.put(Constants.REPORT_ABTEST, m_abtestReportBuilder);
}
}
......@@ -272,6 +272,12 @@ public class Handler implements PageHandler<Context>, LogEnabled, Initializable
case MODEL:
renderModel(model, payload);
break;
case ABTEST_CACULATOR:
case AJAX_ADDGROUPSTRATEGY:
case AJAX_CREATE:
case AJAX_DETAIL:
case AJAX_PARSEGROUPSTRATEGY:
break;
}
model.setAction(action);
......
......@@ -52,7 +52,7 @@
</div>
</div>
</div>
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog"
<div id="loginModal" class="modal hide fade" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true" style="width:380px">
<form class="form-horizontal" name="login" method="post" action="/cat/s/login">
<div class="modal-header">
......@@ -126,7 +126,7 @@
loginInfo.innerHTML ='<a href="/cat/s/login?op=logout">'+name +'&nbsp;登出</a>';
}else{
var loginInfo=document.getElementById('loginInfo');
loginInfo.innerHTML ='<a href="#myModal" data-toggle="modal">登陆</a>';
loginInfo.innerHTML ='<a href="#loginModal" data-toggle="modal">登陆</a>';
}
});
</script>
......
......@@ -253,4 +253,11 @@ select{
}
ul, ol{
margin:0 0 10px 25px;
}
#loginModal .form-horizontal .control-label{
width:50px;
}
#loginModal .form-horizontal .controls{
margin-left:70px;
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册