Subversion Repositories XServices

Compare Revisions

No changes between revisions

Ignore whitespace Rev 197 → Rev 198

/xservices/trunk/src/main/webapp/WEB-INF/web.xml
0,0 → 1,128
<?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"
version="2.5">
 
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>/WEB-INF/log4j2.xml</param-value>
</context-param>
<context-param>
<param-name>shiroConfigLocations</param-name>
<param-value>/WEB-INF/shiro.ini</param-value>
</context-param>
<context-param>
<param-name>quartz:config-file</param-name>
<param-value>quartz.properties</param-value>
</context-param>
<context-param>
<param-name>quartz:shutdown-on-unload</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>quartz:wait-on-shutdown</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>quartz:start-scheduler-on-load</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>cache:thread-count</param-name>
<param-value>3</param-value>
</context-param>
 
<!-- <context-param> <param-name>cvs-config-02</param-name> <param-value>c:/temp/test2.txt</param-value>
</context-param> <context-param> <param-name>cvs-config-01</param-name> <param-value>c:/temp/test.txt</param-value>
</context-param> <context-param> <param-name>cvs-config-03</param-name> <param-value>c:/temp/test3.txt</param-value>
</context-param> -->
 
<!-- Caching interval in minutes for CVS cache -->
<context-param>
<param-name>cvs-cache-interval</param-name>
<param-value>3</param-value>
</context-param>
 
<!-- CVS content search cache -->
<!-- <context-param> <param-name>cvs-findings-configuration</param-name>
<param-value>c:/temp/cvs-findings.txt</param-value> </context-param> -->
 
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.quartz.ee.servlet.QuartzInitializerListener</listener-class>
</listener>
<listener>
<listener-class>net.brutex.xservices.util.cache.CacheExecutorService</listener-class>
</listener>
 
 
<servlet>
<servlet-name>XServices</servlet-name>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
<!-- <init-param>
<param-name>config-location</param-name>
<param-value>/WEB-INF/cxf-servlet.xml</param-value>
</init-param>
-->
<init-param>
<param-name>hide-service-list-page</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>QuartzInitializer</servlet-name>
<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
<init-param>
<param-name>shutdown-on-unload</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>CacheServlet</servlet-name>
<servlet-class>net.brutex.xservices.util.cache.CacheServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<servlet-name>FindingsCacheServlet</servlet-name>
<servlet-class>net.brutex.xservices.util.cache.FindingsCacheServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
 
<servlet-mapping>
<servlet-name>XServices</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
 
<!-- Shiro -->
<listener>
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
</listener>
 
<filter>
<filter-name>ShiroFilter</filter-name>
<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
</filter>
 
<filter-mapping>
<filter-name>ShiroFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<!-- Shiro -->
</web-app>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/src/main/webapp/WEB-INF/applicationContext.xml
0,0 → 1,104
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd">
 
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
<jaxws:endpoint id="archiveservice"
implementor="net.brutex.xservices.ws.impl.ArchiveServiceImpl" address="/ArchiveService">
</jaxws:endpoint>
 
<jaxws:endpoint id="dateservice"
implementor="net.brutex.xservices.ws.impl.DateServiceImpl" address="/DateService">
</jaxws:endpoint>
 
<jaxws:endpoint id="fileservice"
implementor="net.brutex.xservices.ws.impl.FileServiceImpl" address="/FileService">
<jaxws:properties>
<entry key="mtom-enabled" value="false" />
</jaxws:properties>
</jaxws:endpoint>
 
<!-- This is the MTOM enabled FileServices endpoint -->
<jaxws:endpoint id="fileservice2"
implementor="net.brutex.xservices.ws.impl.FileServiceImpl" address="/FileServiceMTOM">
<jaxws:properties>
<entry key="mtom-enabled" value="true" />
<entry key="attachment-directory" value="c:\temp" />
<entry key="attachment-memory-threshold" value="2000" />
</jaxws:properties>
</jaxws:endpoint>
 
 
<jaxws:endpoint id="executeservice"
implementor="net.brutex.xservices.ws.impl.ExecuteServiceImpl" address="/ExecuteService">
</jaxws:endpoint>
 
<jaxws:endpoint id="jobservice"
implementor="net.brutex.xservices.ws.impl.JobServiceImpl" address="/JobService">
</jaxws:endpoint>
 
<jaxws:endpoint id="mailservice"
implementor="net.brutex.xservices.ws.impl.MailServiceImpl" address="/MailService">
</jaxws:endpoint>
 
<jaxws:endpoint id="miscservice"
implementor="net.brutex.xservices.ws.impl.MiscServiceImpl" address="/MiscService">
</jaxws:endpoint>
 
<jaxws:endpoint id="stringservice"
implementor="net.brutex.xservices.ws.impl.StringServiceImpl" address="/StringService">
</jaxws:endpoint>
 
<jaxws:endpoint id="storageservice"
implementor="net.brutex.xservices.ws.impl.StorageServiceImpl" address="/StorageService">
</jaxws:endpoint>
 
<jaxws:endpoint id="storageservice2"
implementor="net.brutex.xservices.ws.impl.StorageServiceImpl" address="/StorageServiceMTOM">
<jaxws:properties>
<entry key="mtom-enabled" value="true" />
<entry key="attachment-directory" value="c:\temp" />
<entry key="attachment-memory-threshold" value="2000" />
</jaxws:properties>
</jaxws:endpoint>
 
<jaxws:endpoint id="xmlservice"
implementor="net.brutex.xservices.ws.impl.XmlServiceImpl" address="/XmlService">
</jaxws:endpoint>
 
 
<jaxrs:server id="FileInfo" address="/fileinfo">
<jaxrs:serviceBeans>
<ref bean="FileInfoBean" />
</jaxrs:serviceBeans>
</jaxrs:server>
<bean id="FileInfoBean" class="net.brutex.xservices.ws.rs.FileInfoImpl" />
 
 
 
<jaxrs:server id="CVSInfo" address="/cvsinfo">
<jaxrs:serviceBeans>
<ref bean="CVSInfoBean" />
</jaxrs:serviceBeans>
</jaxrs:server>
<bean id="CVSInfoBean" class="net.brutex.xservices.ws.rs.CVSInfoImpl" />
<!--
<jaxrs:server id="DIMCMInfo" address="/dimcminfo">
<jaxrs:serviceBeans>
<ref bean="DIMCMInfoBean" />
</jaxrs:serviceBeans>
</jaxrs:server>
<bean id="DIMCMInfoBean" class="net.brutex.xservices.ws.rs.DIMCMInfoImpl" />
-->
 
</beans>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/src/main/webapp/WEB-INF/log4j2.xml
0,0 → 1,26
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<RollingFile name="XSERVICES" fileName="c:/temp/xservices.log"
filePattern="logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz">
<PatternLayout>
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy />
<SizeBasedTriggeringPolicy size="10 MB"/>
</Policies>
</RollingFile>
</Appenders>
<Loggers>
<Logger name="net.brutex.xservices" level="debug" additivity="false">
<AppenderRef ref="XSERVICES"/>
</Logger>
<Logger name="org.springframework.web" level="debug">
<AppenderRef ref="XSERVICES"/>
</Logger>
</Loggers>
</Configuration>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/src/main/webapp/WEB-INF/shiro.ini
0,0 → 1,68
# =======================
# Shiro INI configuration
# =======================
 
[main]
# Objects and their properties are defined here,
# Such as the securityManager, Realms and anything
# else needed to build the SecurityManager
 
realm = net.brutex.xservices.security.XServicesRealm
securityManager.realms = $realm
 
authcBasic = org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
 
[users]
# The 'users' section is for simple deployments
# when you only need a small number of statically-defined
# set of User accounts.
# Format: user = password, role1, role2, ...
 
admin = , Administrator
brian = brian, Administrator
 
 
[roles]
# The 'roles' section is for simple deployments
# when you only need a small number of statically-defined
# roles.
 
#Administrator = c:/t*/*, c:/windows/*, d:/**/VIDEO, C:/Users/brosenberger/**, d:/data/**, c:/**
Administrator = FileInfoService||c:/temp/**, XmlService||test
 
[urls]
# The 'urls' section is used for url-based security
# in web applications. We'll discuss this section in the
# Web documentation
 
/ArchiveService = anon
/DateService = anon
/ExecuteService = anon
/FileService = anon
/JobService = anon
/MailService = anon
/MiscService = anon
/StorageService = anon
/StringService = anon
/XmlService = anon
 
 
/fileinfo/** = authcBasic
/dimcminfo/** = anon
 
/** = authcBasic
#/** = anon
 
#Default filters
#Filter Name Class
#anon org.apache.shiro.web.filter.authc.AnonymousFilter
#authc org.apache.shiro.web.filter.authc.FormAuthenticationFilter
#authcBasic org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
#logout org.apache.shiro.web.filter.authc.LogoutFilter
#noSessionCreation org.apache.shiro.web.filter.session.NoSessionCreationFilter
#perms org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
#port org.apache.shiro.web.filter.authz.PortFilter
#rest org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
#roles org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
#ssl org.apache.shiro.web.filter.authz.SslFilter
#user org.apache.shiro.web.filter.authc.UserFilter
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/src/main/webapp/WEB-INF/dimcm.properties
0,0 → 1,9
#This is an example config file
 
user=dmsys
password=yourpassword
dbname=cm_typical
dbconn=DIM14
server=cepoc01.cloudapp.net\:671
 
baseurl=http\://cepoc01.cloudapp.net\:8080/dimensions
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_SCHEDULER_STATE.ddl
0,0 → 1,8
create table qrtz_scheduler_state
(
sched_name varchar(120) not null,
instance_name varchar(200) not null,
last_checkin_time bigint not null,
checkin_interval bigint not null,
primary key (sched_name,instance_name)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_FIRED_TRIGGERS.ddl
0,0 → 1,15
create table qrtz_fired_triggers(
sched_name varchar(120) not null,
entry_id varchar(95) not null,
trigger_name varchar(200) not null,
trigger_group varchar(200) not null,
instance_name varchar(200) not null,
fired_time bigint not null,
priority integer not null,
state varchar(16) not null,
job_name varchar(200),
job_group varchar(200),
is_nonconcurrent varchar(5),
requests_recovery varchar(5),
primary key (sched_name,entry_id)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_JOB_DETAILS.ddl
0,0 → 1,13
create table qrtz_job_details (
sched_name varchar(120) not null,
job_name varchar(200) not null,
job_group varchar(200) not null,
description varchar(250) ,
job_class_name varchar(250) not null,
is_durable varchar(5) not null,
is_nonconcurrent varchar(5) not null,
is_update_data varchar(5) not null,
requests_recovery varchar(5) not null,
job_data blob,
primary key (sched_name,job_name,job_group)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_PAUSED_TRIGGER_GRPS.ddl
0,0 → 1,6
create table qrtz_paused_trigger_grps
(
sched_name varchar(120) not null,
trigger_group varchar(200) not null,
primary key (sched_name,trigger_group)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_SIMPLE_TRIGGERS.ddl
0,0 → 1,10
create table qrtz_simple_triggers(
sched_name varchar(120) not null,
trigger_name varchar(200) not null,
trigger_group varchar(200) not null,
repeat_count bigint not null,
repeat_interval bigint not null,
times_triggered bigint not null,
primary key (sched_name,trigger_name,trigger_group),
foreign key (sched_name,trigger_name,trigger_group) references qrtz_triggers(sched_name,trigger_name,trigger_group)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_SIMPROP_TRIGGERS.ddl
0,0 → 1,19
CREATE TABLE qrtz_simprop_triggers (
sched_name varchar(120) not null,
TRIGGER_NAME VARCHAR(200) NOT NULL,
TRIGGER_GROUP VARCHAR(200) NOT NULL,
STR_PROP_1 VARCHAR(512),
STR_PROP_2 VARCHAR(512),
STR_PROP_3 VARCHAR(512),
INT_PROP_1 INT,
INT_PROP_2 INT,
LONG_PROP_1 BIGINT,
LONG_PROP_2 BIGINT,
DEC_PROP_1 NUMERIC(13,4),
DEC_PROP_2 NUMERIC(13,4),
BOOL_PROP_1 varchar(5),
BOOL_PROP_2 varchar(5),
PRIMARY KEY (sched_name,TRIGGER_NAME,TRIGGER_GROUP),
FOREIGN KEY (sched_name,TRIGGER_NAME,TRIGGER_GROUP)
REFERENCES QRTZ_TRIGGERS(sched_name,TRIGGER_NAME,TRIGGER_GROUP)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_BLOB_TRIGGERS.ddl
0,0 → 1,8
create table qrtz_blob_triggers(
sched_name varchar(120) not null,
trigger_name varchar(200) not null,
trigger_group varchar(200) not null,
blob_data blob,
primary key (sched_name,trigger_name,trigger_group),
foreign key (sched_name,trigger_name,trigger_group) references qrtz_triggers(sched_name,trigger_name,trigger_group)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_TRIGGERS.ddl
0,0 → 1,20
create table qrtz_triggers(
sched_name varchar(120) not null,
trigger_name varchar(200) not null,
trigger_group varchar(200) not null,
job_name varchar(200) not null,
job_group varchar(200) not null,
description varchar(250),
next_fire_time bigint,
prev_fire_time bigint,
priority integer,
trigger_state varchar(16) not null,
trigger_type varchar(8) not null,
start_time bigint not null,
end_time bigint,
calendar_name varchar(200),
misfire_instr smallint,
job_data blob,
primary key (sched_name,trigger_name,trigger_group),
foreign key (sched_name,job_name,job_group) references qrtz_job_details(sched_name,job_name,job_group)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_CRON_TRIGGERS.ddl
0,0 → 1,9
create table qrtz_cron_triggers(
sched_name varchar(120) not null,
trigger_name varchar(200) not null,
trigger_group varchar(200) not null,
cron_expression varchar(120) not null,
time_zone_id varchar(80),
primary key (sched_name,trigger_name,trigger_group),
foreign key (sched_name,trigger_name,trigger_group) references qrtz_triggers(sched_name,trigger_name,trigger_group)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_LOCKS.ddl
0,0 → 1,6
create table qrtz_locks
(
sched_name varchar(120) not null,
lock_name varchar(40) not null,
primary key (sched_name,lock_name)
)
/xservices/trunk/src/main/webapp/WEB-INF/data/QRTZ_CALENDARS.ddl
0,0 → 1,6
create table qrtz_calendars(
sched_name varchar(120) not null,
calendar_name varchar(200) not null,
calendar blob not null,
primary key (sched_name,calendar_name)
)
/xservices/trunk/src/main/webapp/WEB-INF/.
Property changes:
Added: svn:ignore
+sun-jaxws.xml