init
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
*.war
|
||||
.apt_src
|
||||
.settings
|
||||
dist
|
||||
build
|
||||
.classpath
|
||||
.project
|
||||
*.log
|
||||
*.tmp
|
||||
bin
|
||||
tmp
|
||||
@@ -0,0 +1,9 @@
|
||||
# BAPWeb
|
||||
|
||||
## 빌드 방법
|
||||
### Windows - git bash 예시
|
||||
```bash
|
||||
export PATH=${PATH}:/c/eactive/apps/apache-ant-1.10.15/bin
|
||||
|
||||
ant clean build
|
||||
```
|
||||
@@ -0,0 +1,69 @@
|
||||
<%@ page import="java.util.ArrayList"%>
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="com.eactive.eai.batch.scheduler.ScheduleBasisManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.common.StringUtil"%>
|
||||
|
||||
<%
|
||||
|
||||
String day = StringUtil.nvlTrim(request.getParameter("day" ), "");
|
||||
|
||||
ArrayList<String> holicodes = null;
|
||||
|
||||
if (day != null && day.length() >0){
|
||||
holicodes = ScheduleBasisManager.getInstance().getIntervalTypes( day );
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ÈÞÀÏ Á¤º¸ Informations
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
|
||||
document.frm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>ÈÞÀÏ Informations</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="" method="POST">
|
||||
<table border='0' width="800" >
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table width="450" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='180' bgcolor="#ccccff">³¯Â¥ : </td>
|
||||
<td><input type="text" name="day" size="10" class="form1" value="<%=day%>"></td>
|
||||
<td align="right"><input type="button" class="form1" value=" È®ÀÎ " onclick="doAction();"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
|
||||
<%
|
||||
if (holicodes !=null && holicodes.size() > 0) {
|
||||
for (int j=0; j <holicodes.size(); j++) {
|
||||
String code = holicodes.get(j);
|
||||
%>
|
||||
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> CODE : </td>
|
||||
<td align='left'> <input type="text" name="batchCode" size='60' value="<%=code%>"></td>
|
||||
</tr>
|
||||
|
||||
</table><br>
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Context>
|
||||
<JarScanner scanManifest="false" />
|
||||
|
||||
<WatchedResource>WEB-INF/web.xml</WatchedResource>
|
||||
<WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
|
||||
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
|
||||
.
|
||||
|
||||
<Resource auth="Container"
|
||||
driverClassName="oracle.jdbc.OracleDriver" maxIdle="10" maxTotal="10"
|
||||
maxWaitMillis="10000" name="jdbc/dsOBP_AGW" password="AGWAPP123!"
|
||||
type="javax.sql.DataSource"
|
||||
url="jdbc:oracle:thin:@//192.168.240.177:1599/DAPM" username="AGWAPP"
|
||||
connectionProperties="oracle.jdbc.Trace=true;oracle.jdbc.TraceLevel=ALL"
|
||||
/>
|
||||
|
||||
<Resource auth="Container"
|
||||
driverClassName="oracle.jdbc.OracleDriver" maxIdle="10" maxTotal="10"
|
||||
maxWaitMillis="10000" name="jdbc/dsOBP_EMS" password="EMSAPP123!"
|
||||
type="javax.sql.DataSource"
|
||||
url="jdbc:oracle:thin:@//192.168.240.177:1599/DAPM" username="EMSAPP"
|
||||
connectionProperties="oracle.jdbc.Trace=true;oracle.jdbc.TraceLevel=ALL"
|
||||
/>
|
||||
|
||||
<Resource auth="Container"
|
||||
driverClassName="oracle.jdbc.OracleDriver" maxIdle="10" maxTotal="10"
|
||||
maxWaitMillis="10000" name="jdbc/dsOBP_BAP" password="BAPAPP123!"
|
||||
type="javax.sql.DataSource"
|
||||
url="jdbc:oracle:thin:@//192.168.240.177:1599/DAPM" username="BAPAPP"
|
||||
connectionProperties="oracle.jdbc.Trace=true;oracle.jdbc.TraceLevel=ALL"
|
||||
/>
|
||||
</Context>
|
||||
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
|
||||
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd
|
||||
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd
|
||||
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
|
||||
">
|
||||
|
||||
<!-- fixed property -->
|
||||
<!-- ${env['inst.Name']}"
|
||||
<util:properties id="env" location="/WEB-INF/env.properties" />
|
||||
-->
|
||||
|
||||
<context:property-placeholder location="/WEB-INF/*.properties" />
|
||||
<!-- Framework DataSource -->
|
||||
<!--
|
||||
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
|
||||
destroy-method="close">
|
||||
<property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" />
|
||||
<property name="url" value="jdbc:oracle:thin:@10.243.171.53:1550:DBJJBL" />
|
||||
<property name="username" value="ELINKFEP" />
|
||||
<property name="password" value="jjbfep07&" />
|
||||
<property name="initialSize" value="10" />
|
||||
<property name="maxActive" value="10" />
|
||||
<property name="maxIdle" value="10" />
|
||||
<property name="maxWait" value="5000" />
|
||||
</bean>
|
||||
-->
|
||||
|
||||
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
|
||||
<property name="jndiName" value="jdbc/dsCHN_fep"/>
|
||||
</bean>
|
||||
|
||||
<!-- Framework Initializer -->
|
||||
<bean id="appInitializer" class="com.eactive.eai.common.web.AppInitializer">
|
||||
<property name="dataSource" ref="dataSource"/>
|
||||
<property name="instName" value="${inst.Name}"/>
|
||||
<property name="tableOwner" value="${eai.tableowner}"/>
|
||||
<property name="systemMode" value="${eai.systemmode}"/>
|
||||
</bean>
|
||||
<import resource="jms/applicationContext-jms.xml"/>
|
||||
<!-- Remote Call RMI -->
|
||||
<!--
|
||||
<bean id="remoteProxy" class="com.eactive.eai.common.routing.rmi.RemoteProxyImpl">
|
||||
</bean>
|
||||
<bean id="rmiServiceExporter" class="org.springframework.remoting.rmi.RmiServiceExporter">
|
||||
<property name="serviceName" value="RemoteProxy"/>
|
||||
<property name="service" ref="remoteProxy"/>
|
||||
<property name="serviceInterface" value="com.eactive.eai.common.routing.rmi.RemoteProxy"/>
|
||||
< defaults to 1099 >
|
||||
<property name="registryPort" value="1099"/>
|
||||
</bean>
|
||||
-->
|
||||
|
||||
<!-- MQ Service -->
|
||||
<!-- relations : RULE(routing.connection.factory) -->
|
||||
<!-- weblogic JMS Listener Service -->
|
||||
|
||||
|
||||
|
||||
<!-- activeMQ Listener Service -->
|
||||
<!-- <import resource="mq/applicationContext-activemq.xml"/> -->
|
||||
|
||||
|
||||
</beans>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
|
||||
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd
|
||||
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd
|
||||
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
|
||||
">
|
||||
|
||||
<bean id="TimerEventListener" class="com.eactive.eai.common.routing.jms.TimerEventListenerQueueConsumerService">
|
||||
<property name="uri" value="jms/cft01BapConnectionFactory"/>
|
||||
<property name="queue" value="jms/qu01Bap11Svr01TimerQueue"/>
|
||||
<property name="maxThread" value="100"/>
|
||||
</bean>
|
||||
<bean id="JobPolingHandler" class="com.eactive.eai.common.routing.jms.JobPolingHandlerQueueConsumerService">
|
||||
<property name="uri" value="jms/cft01BapConnectionFactory"/>
|
||||
<property name="queue" value="jms/qu01Bap11Svr01JobQueue"/>
|
||||
<property name="maxThread" value="100"/>
|
||||
</bean>
|
||||
|
||||
<!-- Async Queue Consumer -->
|
||||
</beans>
|
||||
@@ -0,0 +1,34 @@
|
||||
applicationContext-jms.xml<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
|
||||
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd
|
||||
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd
|
||||
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
|
||||
">
|
||||
|
||||
<bean id="TimerEventListener" class="com.eactive.eai.common.routing.jms.TimerEventListenerQueueConsumerService">
|
||||
<property name="uri" value="jms/cft01BapConnectionFactory"/>
|
||||
<property name="queue" value="jms/qu01Bap11Svr01TimerQueue"/>
|
||||
<property name="maxThread" value="100"/>
|
||||
</bean>
|
||||
<bean id="JobPolingHandler" class="com.eactive.eai.common.routing.jms.JobPolingHandlerQueueConsumerService">
|
||||
<property name="uri" value="jms/cft01BapConnectionFactory"/>
|
||||
<property name="queue" value="jms/qu01Bap11Svr01JobQueue"/>
|
||||
<property name="maxThread" value="100"/>
|
||||
</bean>
|
||||
|
||||
<!-- Async Queue Consumer -->
|
||||
</beans>
|
||||
@@ -0,0 +1,34 @@
|
||||
applicationContext-jms.xml<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
|
||||
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd
|
||||
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd
|
||||
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
|
||||
">
|
||||
|
||||
<bean id="TimerEventListener" class="com.eactive.eai.common.routing.jms.TimerEventListenerQueueConsumerService">
|
||||
<property name="uri" value="jms/cft01BapConnectionFactory"/>
|
||||
<property name="queue" value="jms/qu01Bap21Svr01TimerQueue"/>
|
||||
<property name="maxThread" value="100"/>
|
||||
</bean>
|
||||
<bean id="JobPolingHandler" class="com.eactive.eai.common.routing.jms.JobPolingHandlerQueueConsumerService">
|
||||
<property name="uri" value="jms/cft01BapConnectionFactory"/>
|
||||
<property name="queue" value="jms/qu01Bap21Svr01JobQueue"/>
|
||||
<property name="maxThread" value="100"/>
|
||||
</bean>
|
||||
|
||||
<!-- Async Queue Consumer -->
|
||||
</beans>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
|
||||
<display-name>BAPAppWeb</display-name>
|
||||
<filter>
|
||||
<filter-name>FrontFilter</filter-name>
|
||||
<filter-class>com.eactive.eai.agent.web.FrontFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>FrontFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener>
|
||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||||
</listener>
|
||||
|
||||
<context-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>/WEB-INF/applicationContext.xml</param-value>
|
||||
</context-param>
|
||||
|
||||
<servlet>
|
||||
<description></description>
|
||||
<servlet-name>WebAgent</servlet-name>
|
||||
<servlet-class>com.eactive.eai.agent.web.WebAgent</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<description></description>
|
||||
<servlet-name>DBRefreshAgent</servlet-name>
|
||||
<servlet-class>com.eactive.eai.agent.web.DBRefreshAgent</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<description></description>
|
||||
<servlet-name>FepSendFile</servlet-name>
|
||||
<servlet-class>com.eactive.eai.agent.web.FepSendFile</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<description></description>
|
||||
<servlet-name>FepReqRecvFile</servlet-name>
|
||||
<servlet-class>com.eactive.eai.agent.web.FepReqRecvFile</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<description></description>
|
||||
<servlet-name>CheckFileSysHealth</servlet-name>
|
||||
<servlet-class>com.eactive.eai.agent.web.CheckFileSysHealth</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<description></description>
|
||||
<servlet-name>FepFileSend</servlet-name>
|
||||
<servlet-class>com.eactive.eai.agent.web.FepFileSend</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<description></description>
|
||||
<servlet-name>FepFileReceive</servlet-name>
|
||||
<servlet-class>com.eactive.eai.agent.web.FepFileReceive</servlet-class>
|
||||
</servlet>
|
||||
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>WebAgent</servlet-name>
|
||||
<url-pattern>/WebAgent</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>DBRefreshAgent</servlet-name>
|
||||
<url-pattern>/DBRefreshAgent</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>FepSendFile</servlet-name>
|
||||
<url-pattern>/FepSendFile</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>FepReqRecvFile</servlet-name>
|
||||
<url-pattern>/FepReqRecvFile</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>CheckFileSysHealth</servlet-name>
|
||||
<url-pattern>/CheckFileSysHealth</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>FepFileSend</servlet-name>
|
||||
<url-pattern>/FepFileSend</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>FepFileReceive</servlet-name>
|
||||
<url-pattern>/FepFileReceive</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
</web-app>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.7/weblogic-web-app.xsd">
|
||||
<wls:weblogic-version>12.1.3</wls:weblogic-version>
|
||||
<wls:context-root>BAPWeb</wls:context-root>
|
||||
</wls:weblogic-web-app>
|
||||
@@ -0,0 +1,161 @@
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="java.util.List"%>
|
||||
<%@ page import="java.util.Iterator"%>
|
||||
<%@ page import="com.eactive.eai.adapter.AdapterGroupVO"%>
|
||||
<%@ page import="com.eactive.eai.adapter.AdapterManager"%>
|
||||
<%@ page import="com.eactive.eai.adapter.AdapterVO"%>
|
||||
|
||||
<%
|
||||
|
||||
AdapterManager manager = AdapterManager.getInstance();
|
||||
|
||||
List<String> grpList = manager.getAllAdapterGroupNames();
|
||||
|
||||
String selectedName = request.getParameter("groupName");
|
||||
if (selectedName == null && grpList.size() > 1)
|
||||
selectedName = grpList.get(0);
|
||||
|
||||
AdapterGroupVO grpVO = null;
|
||||
AdapterVO aVO = null;
|
||||
|
||||
if (selectedName != null) {
|
||||
grpVO = manager.getAdapterGroupVO(selectedName);
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Adpater Informations
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doUpdate() {
|
||||
document.frm.flag.value="U";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doRemove() {
|
||||
document.frm.flag.value="D";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>Adpater Informations</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="">
|
||||
<table border='0' width="800" >
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table width="450" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='180' bgcolor="#ccccff">Adapter Group : </td>
|
||||
<td align='left'> <select name="groupName" onchange="doAction();">
|
||||
<%
|
||||
for(int i=0;i < grpList.size(); i++) {
|
||||
%>
|
||||
<option value="<%= grpList.get(i) %>" <%= (grpList.get(i).equals(selectedName)) ? "selected" : "" %>><%= grpList.get(i) %>
|
||||
<%
|
||||
}
|
||||
%></select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
|
||||
<%
|
||||
if (selectedName != null) {
|
||||
%>
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 어댑터코드 : </td>
|
||||
<td align='left'> <input type="text" name="type" size='60' value="<%=grpVO.getType()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 어댑터사용여부 : </td>
|
||||
<td align='left'> <input type="text" name="gubun" size='60' value="<%=grpVO.isUsedFlag()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> BATCH작업업무구분코드 : </td>
|
||||
<td align='left'> <input type="text" name="standard" size='60' value="<%=grpVO.getBatchProcessCode()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> BATCH기관구분코드 : </td>
|
||||
<td align='left'> <input type="text" name="standard" size='60' value="<%=grpVO.getBatchInstitutionCode()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 어댑터그룹 설명 : </td>
|
||||
<td align='left'> <input type="text" name="standard" size='60' value="<%=grpVO.getDescription()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> AdapterGroupVO.toString() : </td>
|
||||
<td align='left'><%=grpVO.toString()%></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<%--<td bgcolor="#003366"> <font color="yellow"><b>어뎁터업무그룹명s</b></font></td>--%>
|
||||
<td bgcolor="#003366"> <font color="yellow">어뎁터업무 이름</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">어댑터설명</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">프라퍼티 그룹명</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH시스템연결코드</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH작업구분코드</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH작업구분명</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH대외기관코드</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH대외기관명</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH서버IP</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH서버포트</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH메세지타임아웃</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH수신처리규칙코드</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH아이디</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH패스워드</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH패킷크기</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">BATCH요구송수신타입</font></td>
|
||||
</tr>
|
||||
<%
|
||||
if (selectedName != null) {
|
||||
Iterator<AdapterVO> adtIt = grpVO.getAdapters();
|
||||
while(adtIt.hasNext()) {
|
||||
AdapterVO adtVO = adtIt.next();
|
||||
%>
|
||||
|
||||
<tr bgcolor='white'>
|
||||
<td align='left'> <input type="text" name="adptBwkNm" value="<%=adtVO.getName()%>" readonly></td>
|
||||
<td align='left'> <input type="text" name="description" value="<%=adtVO.getDescription()%> "></td>
|
||||
<td align='left'> <input type="text" name="propGroupName" value="<%=adtVO.getPropGroupName()%>"></td>
|
||||
<td align='left'> <input type="text" name="batchSystemConnCode" value="<%=adtVO.getBatchSystemConnCode()%>"></td>
|
||||
<td align='left'> <input type="text" name="batchProcessCode" value="<%=adtVO.getBatchProcessCode()%>" readonly></td>
|
||||
<td align='left'> <input type="text" name="batchProcessName" value="<%=adtVO.getBatchProcessName()%> "></td>
|
||||
<td align='left'> <input type="text" name="batchInstitutionCode" value="<%=adtVO.getBatchInstitutionCode()%>"></td>
|
||||
<td align='left'> <input type="text" name="batchInstitutionName" value="<%=adtVO.getBatchInstitutionName()%>"></td>
|
||||
<td align='left'> <input type="text" name="batchServerIP" value="<%=adtVO.getBatchServerIP()%> "></td>
|
||||
<td align='left'> <input type="text" name="batchServerPortNo" value="<%=adtVO.getBatchServerPortNo()%>"></td>
|
||||
<td align='left'> <input type="text" name="batchInterMsgTimeout" value="<%=adtVO.getBatchInterMsgTimeout()%>"></td>
|
||||
<td align='left'> <input type="text" name="batchRcvFlowRuleCode" value="<%=adtVO.getBatchRcvFlowRuleCode()%>"></td>
|
||||
<td align='left'> <input type="text" name="lnkID" value="<%=adtVO.getLnkID()%>" readonly></td>
|
||||
<td align='left'> <input type="text" name="lnkPwd" value="<%=adtVO.getLnkPwd()%> "></td>
|
||||
<td align='left'> <input type="text" name="batchPacketSize" value="<%=adtVO.getPacketSize()%>"></td>
|
||||
<td align='left'> <input type="text" name="rqstRspnsDstcd" value="<%=adtVO.getRqstRspnsDstcd()%>"></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,155 @@
|
||||
<%@ page import="java.util.ArrayList"%>
|
||||
<%@ page import="java.util.HashMap"%>
|
||||
<%@ page import="com.eactive.eai.batch.rule.dirInfo.BatchJobPriorityManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.rule.dirInfo.BatchJobPriorityVO"%>
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
|
||||
<%
|
||||
|
||||
BatchJobPriorityManager jobpmanager = BatchJobPriorityManager.getInstance();
|
||||
|
||||
HashMap<String, ArrayList<BatchJobPriorityVO>> jobmap = jobpmanager.getPriorityDatas();
|
||||
String[] keys = jobpmanager.getPriorityKeys();
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
실행중인 우선순위 대상 작업 정보
|
||||
</title>
|
||||
<script language="javascript">
|
||||
function submitForm(key, count) {
|
||||
|
||||
document.forms.frm.index.value = count;
|
||||
document.forms.frm.key.value = key;
|
||||
document.forms.frm.scr_name.value = "UPDATE";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function isNumber(val)
|
||||
{
|
||||
alert('val : '+val);
|
||||
if(val.length > 0) {
|
||||
for(i=0;i<val.length;i++) {
|
||||
abit = parseInt(val.substring(i,i+1));
|
||||
if(('0' < abit) || ('9' > abit)) {
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
function submitDelete(val){
|
||||
document.forms.frm.key.value = val;
|
||||
document.forms.frm.scr_name.value = "DELETE";
|
||||
document.frm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>실행중인 우선순위 대상 작업 정보</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" method="POST" action="<%=request.getContextPath()%>/BatchJobPriorityMan">
|
||||
<input type="hidden" name="index" >
|
||||
<input type="hidden" name="scr_name" >
|
||||
<input type="hidden" name="key" >
|
||||
<br>
|
||||
|
||||
<%
|
||||
int count = -1;
|
||||
boolean tableIndex = false;
|
||||
String mapkey = "";
|
||||
if (keys !=null && keys.length > 0) {
|
||||
|
||||
for (int keyindex =0; keyindex < keys.length; keyindex++){
|
||||
mapkey = keys[keyindex];
|
||||
ArrayList<BatchJobPriorityVO> alist = jobmap.get(mapkey);
|
||||
for (int j=0; j <alist.size(); j++) {
|
||||
BatchJobPriorityVO hvo = alist.get(j);
|
||||
|
||||
if (hvo == null){
|
||||
break;
|
||||
}
|
||||
int delay = 0;
|
||||
if (hvo.getFirstCallForDelayTime() > 0){
|
||||
delay = (int)((System.currentTimeMillis() - hvo.getFirstCallForDelayTime())/1000.0);
|
||||
}
|
||||
count++;
|
||||
if(j == 0) {
|
||||
tableIndex = true;
|
||||
|
||||
%>
|
||||
<table id='tbl' width="950" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='center' rowspan="<%= alist.size() + 1 %>" bgcolor="#ccccff"><%= hvo.getProcessName() %></td>
|
||||
<td align='center' width=20 bgcolor="#ccccff">최우선순위 작업(Key)</td>
|
||||
<td align='center' bgcolor="#ccccff">Batch작업거래<br>구분코드</td>
|
||||
<td align='center' bgcolor="#ccccff">UUID</td>
|
||||
<td align='center' width=70 bgcolor="#ccccff">기관명</td>
|
||||
<td align='center' bgcolor="#ccccff">파일명</td>
|
||||
<td align='center' bgcolor="#ccccff">Delay경과시간(초)</td>
|
||||
<td align='center' bgcolor="#ccccff">실행할 파일 수</td>
|
||||
<td align='center' bgcolor="#ccccff">실행된 파일 수</td>
|
||||
<td align='center' bgcolor="#ccccff">실행여부</td>
|
||||
<td align='center' bgcolor="#ccccff">변경</td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='left' width=20 rowspan="<%= alist.size() %>" bgcolor="#ffffff"><%= mapkey %>
|
||||
<br>
|
||||
<input type="button" class="form1" value=" 삭제 " onclick="submitDelete('<%=mapkey %>');">
|
||||
</td>
|
||||
<td align='left' bgcolor="#ffffff"><input type="hidden" name="bizCode" value="<%=hvo.getBizCode()%>"><%= hvo.getBizCode() %> </td>
|
||||
<td align='center' bgcolor="#ffffff"><%= hvo.getUUID() %> </td>
|
||||
<td align='left' width=70 bgcolor="#ffffff"><%= hvo.getOsdName() %> </td>
|
||||
<td align='left' bgcolor="#ffffff"><%= hvo.getFileName() %> </td>
|
||||
<td align='left' bgcolor="#ffffff"><%=delay%> </td>
|
||||
<td align='left' bgcolor="#ffffff"><%=hvo.getDataCountInfo()%> </td>
|
||||
<td align='left' bgcolor="#ffffff"><input type="text" name="dataCount" size='10' value="<%=hvo.getDataCount()%>"> </td>
|
||||
<td align='left' bgcolor="#ffffff"><input type="text" name="isexe" size='10' value="<%=hvo.isExecuted()%>"> </td>
|
||||
<td align="right"><input type="button" class="form1" value=" 변경 " onclick="submitForm( '<%=mapkey %>', '<%= count%>' );"></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
else {
|
||||
%>
|
||||
<tr bgcolor='white'>
|
||||
<td align='left' bgcolor="#ffffff"><input type="hidden" name="bizCode" value="<%=hvo.getBizCode()%>"><%= hvo.getBizCode() %> </td>
|
||||
<td align='center' bgcolor="#ffffff"><%= hvo.getUUID() %> </td>
|
||||
<td align='left' bgcolor="#ffffff"><%= hvo.getOsdName() %> </td>
|
||||
<td align='left' bgcolor="#ffffff"><%= hvo.getFileName() %> </td>
|
||||
<td align='left' bgcolor="#ffffff"><%=delay%> </td>
|
||||
<td align='left' bgcolor="#ffffff"><%=hvo.getDataCountInfo()%> </td>
|
||||
<td align='left' bgcolor="#ffffff"><input type="text" name="dataCount" size='10' value="<%=hvo.getDataCount()%>" > </td>
|
||||
<td align='left' bgcolor="#ffffff"><input type="text" name="isexe" size='10' value="<%=hvo.isExecuted()%>"> </td>
|
||||
<td align="right"><input type="button" class="form1" value=" 변경 " onclick="submitForm( '<%=mapkey %>', '<%= count%>');"></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
}
|
||||
if(tableIndex){
|
||||
%>
|
||||
</table>
|
||||
<br>
|
||||
<%}
|
||||
}
|
||||
}else {
|
||||
%>
|
||||
실행중인 우선순위 대상 작업목록이 없습니다.
|
||||
<%
|
||||
}
|
||||
if(count == 0 && tableIndex==true){
|
||||
%>
|
||||
실행중인 우선순위 대상 작업목록이 없습니다.
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,65 @@
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="com.eactive.eai.batch.code.CodeMessageManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.code.CodeMessageVO"%>
|
||||
|
||||
<%
|
||||
|
||||
CodeMessageManager manager = CodeMessageManager.getInstance();
|
||||
|
||||
String[] al = manager.getAllCodes();
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
코드 메시지 정보 Informations
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
|
||||
document.frm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>코드 메시지 정보 Informations</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="" method="POST">
|
||||
|
||||
<%
|
||||
if (al != null && al.length > 0) {
|
||||
CodeMessageVO vo = null;
|
||||
%>
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' bgcolor="#ccccff"> code id </td>
|
||||
<td align='right' bgcolor="#ccccff"> code txt </td>
|
||||
<td align='right' bgcolor="#ccccff"> 조치사항 </td>
|
||||
<td align='right' bgcolor="#ccccff"> SMS발송 여부 </td>
|
||||
<td align='right' bgcolor="#ccccff"> 심각도 </td>
|
||||
</tr>
|
||||
<%
|
||||
for (int j=0; j < al.length; j++) {
|
||||
vo = manager.getMessageVO(al[j]);
|
||||
%>
|
||||
|
||||
<tr bgcolor='white'>
|
||||
<tr bgcolor='white'>
|
||||
<td align='left'> <%=vo.getMsgKey()%></td>
|
||||
<td align='left'> <%=vo.getMsgTxt()%></td>
|
||||
<td align='left'> <%=vo.getMsgEtc()%></td>
|
||||
<td align='left'> <%=vo.getSmsSendType()%></td>
|
||||
<td align='left'> <%=vo.getItsmObstclGrdDstcd()%></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
}
|
||||
%></table><br><%
|
||||
}
|
||||
%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,87 @@
|
||||
<%@ page language="java" contentType="text/html; charset=EUC-KR"%>
|
||||
<%@ page import="java.io.*
|
||||
,java.util.*
|
||||
"%>
|
||||
<%!
|
||||
static private String getStackTrace(Thread thread) {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
sb.append("¡á " + thread.getName() + " ");
|
||||
sb.append("prio=" + thread.getPriority() + " ");
|
||||
sb.append(thread.isDaemon() ? "daemon " : " ");
|
||||
|
||||
StackTraceElement stack[] = thread.getStackTrace();
|
||||
|
||||
if (stack==null || stack.length<1)
|
||||
return sb.toString();
|
||||
|
||||
if (stack[0].getMethodName().equals("wait"))
|
||||
sb.append("wait \n");
|
||||
else if (stack[0].getMethodName().equals("sleep"))
|
||||
sb.append("sleep \n");
|
||||
else
|
||||
sb.append(stack[0].getMethodName() + " \n");
|
||||
|
||||
for (int i=0; i<stack.length; i++) {
|
||||
String filename = stack[i].getFileName();
|
||||
if (filename == null) {
|
||||
// The source filename is not available
|
||||
}
|
||||
String className = stack[i].getClassName();
|
||||
String methodName = stack[i].getMethodName();
|
||||
boolean isNativeMethod = stack[i].isNativeMethod();
|
||||
int line = stack[i].getLineNumber();
|
||||
|
||||
if (!className.startsWith("java")
|
||||
&& !className.startsWith("org.")
|
||||
&& !className.startsWith("edu.")
|
||||
&& !className.startsWith("sun.")
|
||||
&& !className.startsWith("com.sun."))
|
||||
sb.append(" > at ");
|
||||
else
|
||||
sb.append(" at ");
|
||||
sb.append(className + "." + methodName);
|
||||
sb.append("(" + filename + ":" + (isNativeMethod ? "native" : String.valueOf(line)) + ")");
|
||||
if (!className.startsWith("java") && !className.startsWith("org.") && !className.startsWith("sun.") && !className.startsWith("com.sun."))
|
||||
sb.append("-");
|
||||
sb.append("\n");
|
||||
}
|
||||
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
static public String dump() {
|
||||
Hashtable<String, Thread> hash = new Hashtable<String, Thread>();
|
||||
|
||||
StringBuffer sb = new StringBuffer();
|
||||
ThreadGroup it = Thread.currentThread().getThreadGroup();
|
||||
Thread[] threads = new Thread[it.activeCount()] ;
|
||||
sb.append("active thread count : " + it.activeCount() + "\n");
|
||||
it.enumerate(threads);
|
||||
|
||||
String[] threadNames = new String[threads.length];
|
||||
for (int i=0; i<threadNames.length; i++) {
|
||||
threadNames[i] = threads[i].getName() + " - " + threads[i].getState();
|
||||
hash.put(threadNames[i], threads[i]);
|
||||
}
|
||||
Arrays.sort(threadNames);
|
||||
|
||||
for(int i=0;i<threadNames.length;i++) {
|
||||
sb.append(getStackTrace(hash.get(threadNames[i])));
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
%>
|
||||
<%
|
||||
response.setHeader("Pragma", "No-cache");
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
response.setHeader("Expires", "0");
|
||||
%>
|
||||
|
||||
<html>
|
||||
<body><pre><%=dump()%></pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
<%@ page import="java.io.*, java.util.*"%>
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="com.eactive.eai.batch.eventscheduler.holiday.HolidayManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.eventscheduler.holiday.HolidayVO"%>
|
||||
<%@ page import="com.eactive.eai.batch.common.StringUtil"%>
|
||||
|
||||
<%
|
||||
|
||||
String day = StringUtil.nvlTrim(request.getParameter("day" ), "");
|
||||
HolidayManager manager = HolidayManager.getInstance();
|
||||
|
||||
ArrayList<HolidayVO> holiday = manager.getAllHoliday();
|
||||
|
||||
boolean isHoly = false;
|
||||
boolean isAllHoly = false;
|
||||
if (day != null && day.length() >0){
|
||||
isHoly = manager.isHoliday(day);
|
||||
isAllHoly = manager.isAllHoliday(day);
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
휴일 정보 Informations
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
|
||||
document.frm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>휴일 Informations</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="" method="POST">
|
||||
<table border='0' width="800" >
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table width="450" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='180' bgcolor="#ccccff">날짜 : </td>
|
||||
<td><input type="text" name="day" size="10" class="form1" value="<%=day%>"></td>
|
||||
<td align="right"><input type="button" class="form1" value=" 확인 " onclick="doAction();"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='180' bgcolor="#ccccff">IS휴일 : </td>
|
||||
<td><input type="text" name="isholy" size="10" class="form1" value="<%=isHoly %>"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='180' bgcolor="#ccccff">IS ALL휴일 : </td>
|
||||
<td><input type="text" name="isAllholy" size="10" class="form1" value="<%=isAllHoly %>"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
|
||||
<%
|
||||
if (holiday !=null && holiday.size() > 0) {
|
||||
HolidayVO hvo = null;
|
||||
for (int j=0; j <holiday.size(); j++) {
|
||||
hvo = (HolidayVO) holiday.get(j);
|
||||
%>
|
||||
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 휴일일자 : </td>
|
||||
<td align='left'> <input type="text" name="batchCode" size='60' value="<%=hvo.getHoliday()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 휴일유형 : </td>
|
||||
<td align='left'> <input type="text" name="status" size='60' value="<%=hvo.getHolidayType()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 설명 : </td>
|
||||
<td align='left'> <input type="text" name="type" size='60' value="<%=hvo.getDescription()%>"></td>
|
||||
</tr>
|
||||
|
||||
</table><br>
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,64 @@
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="java.util.HashMap"%>
|
||||
<%@ page import="com.eactive.eai.batch.rule.kikwanInfo.KikwanInfoManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.rule.kikwanInfo.KikwanInfoVO"%>
|
||||
|
||||
<%
|
||||
|
||||
KikwanInfoManager manager = KikwanInfoManager.getInstance();
|
||||
|
||||
String[] al = manager.getAllKikwanCodes();
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
FTManager 기관 정보
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
|
||||
document.frm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>FTManager 기관 정보</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="" method="POST">
|
||||
|
||||
<%
|
||||
if (al != null && al.length > 0) {
|
||||
KikwanInfoVO vo = null;
|
||||
%>
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' bgcolor="#ccccff"> 기관코드 </td>
|
||||
<td align='right' bgcolor="#ccccff"> 기관명 </td>
|
||||
<td align='right' bgcolor="#ccccff"> 시스템 IP </td>
|
||||
<td align='right' bgcolor="#ccccff"> 암호화 IP </td>
|
||||
</tr>
|
||||
<%
|
||||
for (int j=0; j < al.length; j++) {
|
||||
vo = manager.getKikwanInfo(al[j]);
|
||||
%>
|
||||
|
||||
<tr bgcolor='white'>
|
||||
<tr bgcolor='white'>
|
||||
<td align='left'> <%=vo.getKikwanCd()%></td>
|
||||
<td align='left'> <%=vo.getKikwanName()%></td>
|
||||
<td align='left'> <%=vo.getSysIp()%></td>
|
||||
<td align='left'> <%=vo.getEncIp()%></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
}
|
||||
%></table><br><%
|
||||
}
|
||||
%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,83 @@
|
||||
<%@ page contentType="text/html;charset=EUC-KR"%>
|
||||
<%@page import="ch.qos.logback.core.*"%>
|
||||
<%@page import="ch.qos.logback.classic.*"%>
|
||||
<%@page import="org.slf4j.*"%>
|
||||
<%@page import="java.util.*"%>
|
||||
<%
|
||||
|
||||
String loggerName = request.getParameter("loggerName");
|
||||
String slevel = request.getParameter("level");
|
||||
LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
|
||||
if (loggerName != null && !"".equals(loggerName) && slevel != null && !"".equals(slevel)){
|
||||
Level level = Level.ERROR;
|
||||
if ("DEBUG".equals(slevel)){
|
||||
level = Level.DEBUG;
|
||||
}else if ("INFO".equals(slevel)){
|
||||
level = Level.INFO;
|
||||
}else if ("WARN".equals(slevel)){
|
||||
level = Level.WARN;
|
||||
}else if ("ERROR".equals(slevel)){
|
||||
level = Level.ERROR;
|
||||
}else if ("TRACE".equals(slevel)){
|
||||
level = Level.TRACE;
|
||||
}
|
||||
|
||||
lc.getLogger(loggerName).setLevel(level);
|
||||
%>
|
||||
<%=loggerName %> 의 로그 level이 <%=slevel %> 로 변경되었습니다.
|
||||
<%
|
||||
}
|
||||
|
||||
List<ch.qos.logback.classic.Logger> logs = lc.getLoggerList();;
|
||||
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
function changeSessionKey(selectBox) {
|
||||
var loggerName = selectBox.title;
|
||||
var level = selectBox.value;
|
||||
document.frm.loggerName.value=loggerName;
|
||||
document.frm.level.value=level;
|
||||
document.frm.submit();
|
||||
}
|
||||
</script>
|
||||
<form name="frm" action="">
|
||||
<input type=hidden name="loggerName" />
|
||||
<input type=hidden name="level" />
|
||||
|
||||
</form>
|
||||
<table>
|
||||
<%
|
||||
ArrayList<String> al = new ArrayList<String>();
|
||||
for(ch.qos.logback.classic.Logger log : logs){
|
||||
if (log.getLevel() != null){
|
||||
al.add(log.getName());
|
||||
}
|
||||
}
|
||||
al.sort(null);
|
||||
for(String name : al){
|
||||
ch.qos.logback.classic.Logger l = lc.getLogger(name);
|
||||
%>
|
||||
<tr>
|
||||
<td><%=l.getName() %></td><td><select name="level" onchange="changeSessionKey(this)" title="<%=l.getName()%>">
|
||||
<option value=TRACE <%=Level.TRACE==l.getLevel()?"selected":"" %>>
|
||||
TRACE
|
||||
</option>
|
||||
<option value="DEBUG" <%=Level.DEBUG==l.getLevel()?"selected":"" %>>
|
||||
DEBUG
|
||||
</option>
|
||||
<option value="INFO" <%=Level.INFO==l.getLevel()?"selected":"" %>>
|
||||
INFO
|
||||
</option>
|
||||
<option value="WARN" <%=Level.WARN==l.getLevel()?"selected":"" %>>
|
||||
WARN
|
||||
</option>
|
||||
<option value="ERROR" <%=Level.ERROR==l.getLevel()?"selected":"" %>>
|
||||
ERROR
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
@@ -0,0 +1,193 @@
|
||||
<%@ page import="java.util.List"%>
|
||||
<%@ page import="java.util.ArrayList"%>
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="com.eactive.eai.batch.osd.OutsideVO"%>
|
||||
<%@ page import="com.eactive.eai.batch.osd.OutsideManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.osd.OutsideLinkVO"%>
|
||||
|
||||
<%
|
||||
|
||||
OutsideManager manager = OutsideManager.getInstance();
|
||||
|
||||
List<OutsideVO> outside = new ArrayList<OutsideVO>();
|
||||
List<OutsideLinkVO> outsideLink = new ArrayList<OutsideLinkVO>();
|
||||
Object[] batchCodes = manager.getBatchCodeArray();
|
||||
|
||||
String selectedName = request.getParameter("groupName");
|
||||
if (selectedName == null && batchCodes.length > 1)
|
||||
selectedName = (String)batchCodes[0];
|
||||
|
||||
OutsideVO outVO = null;
|
||||
OutsideLinkVO linkVO = null;
|
||||
|
||||
if (selectedName != null) {
|
||||
outside = manager.getOutsideInfo(selectedName);
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Outside Informations
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doUpdate() {
|
||||
document.frm.flag.value="U";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doRemove() {
|
||||
document.frm.flag.value="D";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>Adpater Informations</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="" method="POST">
|
||||
<table border='0' width="800" >
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table width="450" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='180' bgcolor="#ccccff">배치작업코드 : </td>
|
||||
<td align='left'> <select name="groupName" onchange="doAction();">
|
||||
<%
|
||||
for(int i=0;i < batchCodes.length; i++) {
|
||||
%>
|
||||
<option value="<%= batchCodes[i] %>" <%= ( ((String)batchCodes[i]).equals(selectedName)) ? "selected" : "" %>><%= (String)batchCodes[i] %>
|
||||
<%
|
||||
}
|
||||
%></select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
|
||||
<%
|
||||
if (selectedName !=null && outside != null) {
|
||||
for (int j=0; j <outside.size(); j++) {
|
||||
outVO = outside.get(j);
|
||||
%>
|
||||
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 배치작업코드 : </td>
|
||||
<td align='left'> <input type="text" name="batchCode" size='60' value="<%=outVO.getBatchCode()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 배치작업명 : </td>
|
||||
<td align='left'> <input type="text" name="batchName" size='60' value="<%=outVO.getBatchName()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 대외기관코드 : </td>
|
||||
<td align='left'> <input type="text" name="osdCode" size='60' value="<%=outVO.getOsdCode()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 대외기관명 : </td>
|
||||
<td align='left'> <input type="text" name="osdType" size='60' value="<%=outVO.getOsdName()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 어댑터그룹명 : </td>
|
||||
<td align='left'> <input type="text" name="adpGroupName" size='60' value="<%=outVO.getAdpGroupName()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 송신처리규칙 : </td>
|
||||
<td align='left'> <input type="text" name="sendRuleCode" size='60' value="<%=outVO.getSendRuleCode()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 수신처리규칙 : </td>
|
||||
<td align='left'> <input type="text" name="recvRuleCode" size='60' value="<%=outVO.getRecvRuleCode()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 대외송신유형 : </td>
|
||||
<td align='left'> <input type="text" name="osdSendPrpt" size='60' value="<%=outVO.getOsdSendPrpt()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 대외수신유형 : </td>
|
||||
<td align='left'> <input type="text" name="osdRecvPrpt" size='60' value="<%=outVO.getOsdRecvPrpt()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 블럭사이즈 : </td>
|
||||
<td align='left'> <input type="text" name="blkSize" size='60' value="<%=outVO.getBlkSize()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 시퀀스사이즈 : </td>
|
||||
<td align='left'> <input type="text" name="sequenceSize" size='60' value="<%=outVO.getSequenceSize()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 거래시작인덱스 : </td>
|
||||
<td align='left'> <input type="text" name="bizCdStartIdx" size='60' value="<%=outVO.getBizCdStartIdx()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 거래종료인덱스 : </td>
|
||||
<td align='left'> <input type="text" name="bizCdEndIdx" size='60' value="<%=outVO.getBizCdEndIdx()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> 패킷사이즈 : </td>
|
||||
<td align='left'> <input type="text" name="packetSize" size='60' value="<%=outVO.getPacketSize()%>"></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='350' bgcolor="#ccccff"> OutsideVO.toString() : </td>
|
||||
<td align='left'><%=outVO.toString()%></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<%
|
||||
|
||||
outsideLink = manager.getOutsideLinkInfo(outVO.getOsdCode());
|
||||
if ( outsideLink != null ){
|
||||
for (int n=0; n <outsideLink.size(); n++) {
|
||||
linkVO = outsideLink.get(n);
|
||||
if ( linkVO.getBatchCode().equals(outVO.getBatchCode())){
|
||||
%>
|
||||
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td bgcolor="#003366"> <font color="yellow">시스템연결구분</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">송수신구분코드</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">연결IP</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">연결 Port</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">연결ID</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">연결PW</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">타임아웃</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">회선연결상태코드</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">어댑터그룹이름</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">어댑터명</font></td>
|
||||
</tr>
|
||||
|
||||
<tr bgcolor='white'>
|
||||
<td align='left'> <input type="text" name="sysLinkCode" value="<%=linkVO.getSyslinkCode()%>" readonly></td>
|
||||
<td align='left'> <input type="text" name="reqResCode" value="<%=linkVO.getReqResCode()%> "></td>
|
||||
<td align='left'> <input type="text" name="linkIP" value="<%=linkVO.getLinkIP()%>"></td>
|
||||
<td align='left'> <input type="text" name="linkPort" value="<%=linkVO.getLinkPort()%>"></td>
|
||||
<td align='left'> <input type="text" name="userID" value="<%=linkVO.getUserID()%>" readonly></td>
|
||||
<td align='left'> <input type="text" name="pwd" value="<%=linkVO.getPwd()%> "></td>
|
||||
<td align='left'> <input type="text" name="toVal" value="<%=linkVO.getToVal()%>"></td>
|
||||
<td align='left'> <input type="text" name="linkStatus" value="<%=linkVO.getLinkStatus()%>"></td>
|
||||
<td align='left'> <input type="text" name="adpGroupName" value="<%=linkVO.getAdpGroupName()%>" readonly></td>
|
||||
<td align='left'> <input type="text" name="adpName" value="<%=linkVO.getAdpName()%> "></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,112 @@
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="java.util.HashMap"%>
|
||||
<%@ page import="java.util.Arrays"%>
|
||||
<%@ page import="java.util.ArrayList"%>
|
||||
<%@ page import="java.util.Iterator"%>
|
||||
|
||||
<%@ page import="com.eactive.eai.batch.rule.phaseinfo.PhaseInfoManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.rule.phaseinfo.PhaseInfoVO"%>
|
||||
|
||||
|
||||
<%
|
||||
|
||||
PhaseInfoManager manager = PhaseInfoManager.getInstance();
|
||||
|
||||
|
||||
HashMap<String, ArrayList<PhaseInfoVO>> all = manager.getAllData();
|
||||
|
||||
Iterator<String> it = all.keySet().iterator();
|
||||
String[] phaseinfoList = new String[all.size()];
|
||||
for(int i=0;it.hasNext();i++) {
|
||||
phaseinfoList[i] = (String)it.next();
|
||||
}
|
||||
Arrays.sort(phaseinfoList);
|
||||
|
||||
String selectedName = request.getParameter("phaseinfoName");
|
||||
if (selectedName == null && phaseinfoList.length > 1)
|
||||
selectedName = (String)phaseinfoList[0];
|
||||
|
||||
ArrayList<PhaseInfoVO> al = all.get(selectedName);
|
||||
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Phase Informations
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doUpdate() {
|
||||
document.frm.flag.value="U";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doRemove() {
|
||||
document.frm.flag.value="D";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>Phase Informations</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="">
|
||||
<table border='0'>
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' bgcolor="#ccccff">È帧±ÔÄ¢ÄÚµå : </td>
|
||||
<td align='left'> <select name="phaseinfoName" onchange="doAction();">
|
||||
<%
|
||||
for(int i=0;i < phaseinfoList.length; i++) {
|
||||
%>
|
||||
<option value="<%= phaseinfoList[i] %>" <%= (phaseinfoList[i].equals(selectedName)) ? "selected" : "" %>><%= phaseinfoList[i] %>
|
||||
<%
|
||||
}
|
||||
%></select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
|
||||
<%
|
||||
if (selectedName != null) {
|
||||
%>
|
||||
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
<table border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td bgcolor="#003366"> <font color="yellow">List</font></td>
|
||||
</tr>
|
||||
<%
|
||||
if (al != null) {
|
||||
for ( int inx=0; inx < al.size(); inx++){
|
||||
PhaseInfoVO vo = al.get(inx);
|
||||
%>
|
||||
|
||||
<tr bgcolor='white'>
|
||||
<td align='left'><%=vo.toString()%></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,113 @@
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="com.eactive.eai.common.property.PropManager"%>
|
||||
<%@ page import="com.eactive.eai.common.property.PropGroupVO"%>
|
||||
|
||||
<%
|
||||
|
||||
PropManager manager = PropManager.getInstance();
|
||||
|
||||
String[] grpList = manager.getAllPropGroupNames();
|
||||
|
||||
String selectedName = request.getParameter("groupName");
|
||||
if (selectedName == null && grpList.length > 1)
|
||||
selectedName = (String)grpList[0];
|
||||
|
||||
PropGroupVO grpVO = null;
|
||||
|
||||
if (selectedName != null) {
|
||||
grpVO = manager.getPropGroupVO(selectedName);
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Properties Informations
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doUpdate() {
|
||||
document.frm.flag.value="U";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doRemove() {
|
||||
document.frm.flag.value="D";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>Properties Informations</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="">
|
||||
<table border='0'>
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' bgcolor="#ccccff">Adapter Group : </td>
|
||||
<td align='left'> <select name="groupName" onchange="doAction();">
|
||||
<%
|
||||
for(int i=0;i < grpList.length; i++) {
|
||||
%>
|
||||
<option value="<%= grpList[i] %>" <%= (grpList[i].equals(selectedName)) ? "selected" : "" %>><%= grpList[i] %>
|
||||
<%
|
||||
}
|
||||
%></select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
|
||||
<%
|
||||
if (selectedName != null) {
|
||||
%>
|
||||
<table border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' bgcolor="#ccccff"> 프라퍼티 그룹명 : </td>
|
||||
<td align='left'><%=grpVO.getName()%></td>
|
||||
</tr>
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' bgcolor="#ccccff"> 프라퍼티 그룹설명 : </td>
|
||||
<td align='left'><%=grpVO.getDescription()%></td>
|
||||
</tr>
|
||||
</table><br>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
<table border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td bgcolor="#003366"> <font color="yellow">Key</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">Value</font></td>
|
||||
</tr>
|
||||
<%
|
||||
if (selectedName != null) {
|
||||
String[] keys = grpVO.keys();
|
||||
for ( int inx=0; inx < keys.length; inx++){
|
||||
String value = grpVO.getProperty(keys[inx]);
|
||||
%>
|
||||
|
||||
<tr bgcolor='white'>
|
||||
<td align='left'><%=keys[inx]%></td>
|
||||
<td align='left'><%=value%></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,56 @@
|
||||
<%@ page contentType="text/html;charset=euc-kr" pageEncoding="euc-kr"%>
|
||||
<%@ page import="com.eactive.eai.batch.common.SMSManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.common.StringUtil"%>
|
||||
<% request.setCharacterEncoding("euc-kr"); %>
|
||||
<%
|
||||
|
||||
String telno = StringUtil.nvlTrim(request.getParameter("telno" ), "");
|
||||
String text = StringUtil.nvlTrim(request.getParameter("text" ), "");
|
||||
SMSManager manager = SMSManager.getInstance();
|
||||
|
||||
|
||||
boolean result = false;
|
||||
|
||||
if (telno != null && telno.length() >0 && text != null && text.length() > 0){
|
||||
result = manager.sendSMS( telno, text ) ;
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
문자 메시지 보내기 테스트
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
|
||||
document.frm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>문자 메시지 보내기 테스트</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="" method="POST">
|
||||
<table border='0' width="800" >
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' width='180' bgcolor="#ccccff">전화번호 : </td>
|
||||
<td><input type="text" name="telno" size="13" class="form1" value="<%=telno%>"></td>
|
||||
<td align='right' width='780' bgcolor="#ccccff">메시지 : </td>
|
||||
<td><input type="text" name="text" size="80" class="form1" value="<%=text%>"></td>
|
||||
<td align="right"><input type="button" class="form1" value=" 확인 " onclick="doAction();"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,73 @@
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="java.util.HashMap"%>
|
||||
<%@ page import="com.eactive.eai.batch.rule.sysInfo.SysInfoManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.rule.sysInfo.SysInfoVO"%>
|
||||
|
||||
<%
|
||||
|
||||
SysInfoManager manager = SysInfoManager.getInstance();
|
||||
|
||||
String[] al = manager.getAllSysCodes();
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
FTManager 기관 정보
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
|
||||
document.frm.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>FTManager 기관 정보</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="" method="POST">
|
||||
|
||||
<%
|
||||
if (al != null && al.length > 0) {
|
||||
SysInfoVO vo = null;
|
||||
%>
|
||||
<table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' bgcolor="#ccccff"> 시스템코드 </td>
|
||||
<td align='right' bgcolor="#ccccff"> 시스템명 </td>
|
||||
<td align='right' bgcolor="#ccccff"> 시스템 IP </td>
|
||||
<td align='right' bgcolor="#ccccff"> 포트 </td>
|
||||
<td align='right' bgcolor="#ccccff"> ID </td>
|
||||
<td align='right' bgcolor="#ccccff"> 비밀번호 </td>
|
||||
<td align='right' bgcolor="#ccccff"> 송신디렉토리 </td>
|
||||
<td align='right' bgcolor="#ccccff"> 수신디렉토리 </td>
|
||||
<td align='right' bgcolor="#ccccff"> SFTP여부 </td>
|
||||
</tr>
|
||||
<%
|
||||
for (int j=0; j < al.length; j++) {
|
||||
vo = manager.getSysInfo(al[j]);
|
||||
%>
|
||||
|
||||
<tr bgcolor='white'>
|
||||
<tr bgcolor='white'>
|
||||
<td align='left'> <%=vo.getSysCd()%></td>
|
||||
<td align='left'> <%=vo.getSysName()%></td>
|
||||
<td align='left'> <%=vo.getSysIp()%></td>
|
||||
<td align='left'> <%=vo.getSysPort ()%></td>
|
||||
<td align='left'> <%=vo.getUserId ()%></td>
|
||||
<td align='left'> <%=vo.getUserPassword()%></td>
|
||||
<td align='left'> <%=vo.getSendDir ()%></td>
|
||||
<td align='left'> <%=vo.getRecvDir ()%></td>
|
||||
<td align='left'> <%=vo.getSftpYn ()%></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
%></table><br><%
|
||||
}
|
||||
%>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,108 @@
|
||||
<%@ page language="java" contentType="text/html;charset=euc-kr"%>
|
||||
<%@ page import="java.util.HashMap"%>
|
||||
<%@ page import="com.eactive.eai.batch.telegram.TelegramManager"%>
|
||||
<%@ page import="com.eactive.eai.batch.telegram.TelegramVO"%>
|
||||
|
||||
<%
|
||||
|
||||
TelegramManager manager = TelegramManager.getInstance();
|
||||
|
||||
HashMap<String, TelegramVO>map = manager.getAllTelegrams();
|
||||
String[] keyNames = (String[])map.keySet().toArray();
|
||||
|
||||
String selectedName = request.getParameter("groupName");
|
||||
if (selectedName == null && map.size() > 1)
|
||||
selectedName = (String)keyNames[0];
|
||||
|
||||
TelegramVO vo = null;
|
||||
|
||||
if (selectedName != null) {
|
||||
vo = map.get(selectedName);
|
||||
}
|
||||
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Properties Informations
|
||||
</title>
|
||||
<script>
|
||||
function doAction() {
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doUpdate() {
|
||||
document.frm.flag.value="U";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
function doRemove() {
|
||||
document.frm.flag.value="D";
|
||||
document.frm.submit();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p style="font-size:12pt;">
|
||||
<b>Properties Informations</b> <br><br>
|
||||
</p>
|
||||
|
||||
<form name="frm" action="">
|
||||
<table border='0'>
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td align='right' bgcolor="#ccccff">Adapter Group : </td>
|
||||
<td align='left'> <select name="groupName" onchange="doAction();">
|
||||
<%
|
||||
for(int i=0;i < keyNames.length; i++) {
|
||||
%>
|
||||
<option value="<%= keyNames[i] %>" <%= (keyNames[i].equals(selectedName)) ? "selected" : "" %>><%= keyNames[i] %>
|
||||
<%
|
||||
}
|
||||
%></select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
|
||||
<%
|
||||
if (selectedName != null) {
|
||||
}
|
||||
%>
|
||||
|
||||
<table border=0 bgcolor='black' cellpadding="1" cellspacing="1">
|
||||
<tr bgcolor='white'>
|
||||
<td bgcolor="#003366"> <font color="yellow">Key</font></td>
|
||||
<td bgcolor="#003366"> <font color="yellow">Value</font></td>
|
||||
</tr>
|
||||
<%
|
||||
if (selectedName != null) {
|
||||
// String[] keys = grpVO.keys();
|
||||
// for ( int inx=0; inx < keys.length; inx++){
|
||||
// String value = grpVO.getProperty(keys[inx]);
|
||||
%>
|
||||
|
||||
<!--
|
||||
<tr bgcolor='white'>
|
||||
<td align='left'><%
|
||||
//=keys[inx]
|
||||
%></td>
|
||||
<td align='left'><%
|
||||
//=value
|
||||
%></td>
|
||||
</tr>
|
||||
-->
|
||||
|
||||
<%
|
||||
}
|
||||
// }
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user