USRE-76 init repo and re-create project as maven project
This commit is contained in:
parent
35f85a3ffc
commit
57364df744
|
@ -1,8 +0,0 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
|
@ -1,12 +0,0 @@
|
|||
<component name="libraryTable">
|
||||
<library name="lib">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/log4j-1.2.5.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/junit.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/xml-apis.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/retsCommons.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
|
@ -1,9 +0,0 @@
|
|||
<component name="libraryTable">
|
||||
<library name="retsValidation">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/retsValidation.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/rets-io-client-validation.iml" filepath="$PROJECT_DIR$/rets-io-client-validation.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RunConfigurationProducerService">
|
||||
<option name="ignoredProducers">
|
||||
<set>
|
||||
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
|
@ -0,0 +1,116 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.ossez.usreio</groupId>
|
||||
<artifactId>rets-io-validation</artifactId>
|
||||
<version>0.0.2-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Rets-Io-Validation</name>
|
||||
<description>Demo for Framework Orm Factory Query Data</description>
|
||||
<url>https://github.com/USRealEstate/rets-io-validation.git</url>
|
||||
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>YuCheng Hu</name>
|
||||
<id>honeymoose</id>
|
||||
<email>huyuchengus@gmail.com</email>
|
||||
<timezone>-5</timezone>
|
||||
<organization>Open Source</organization>
|
||||
<roles>
|
||||
<role>Sr. Java Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.2.5</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<defaultGoal>package</defaultGoal>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<release>${java.version}</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<!-- Generic properties -->
|
||||
<java.version>11</java.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
|
||||
<!-- Logging -->
|
||||
<slf4j.version>1.7.30</slf4j.version>
|
||||
<log4j.version>1.2.17</log4j.version>
|
||||
<log4j2.version>2.2</log4j2.version>
|
||||
|
||||
<!-- APACHE COMMONS-->
|
||||
<commons-io.version>2.11.0</commons-io.version>
|
||||
<commons-lang.version>2.6</commons-lang.version>
|
||||
<commons-lang3.version>3.11</commons-lang3.version>
|
||||
<commons-cli.version>1.4</commons-cli.version>
|
||||
<maven-war-plugin.version>3.0.0</maven-war-plugin.version>
|
||||
|
||||
<!-- UTILS -->
|
||||
<guava.version>30.1.1-jre</guava.version>
|
||||
|
||||
<!-- Hibernate / JPA -->
|
||||
<hibernate.version>4.3.5.Final</hibernate.version>
|
||||
|
||||
<!-- Bean validation -->
|
||||
<hibernate-validator.version>4.3.1.Final</hibernate-validator.version>
|
||||
|
||||
<!-- Database access -->
|
||||
<tomcat-jdbc.version>7.0.42</tomcat-jdbc.version>
|
||||
<ehcache.version>2.6.8</ehcache.version>
|
||||
<hsqldb.version>2.3.2</hsqldb.version>
|
||||
|
||||
<!-- DATA STRUCTURES -->
|
||||
<jackson.version>2.12.4</jackson.version>
|
||||
|
||||
<!-- Test -->
|
||||
<hamcrest.version>2.2</hamcrest.version>
|
||||
<hamcrest-all.version>1.3</hamcrest-all.version>
|
||||
|
||||
<!-- CDN & CLOUD -->
|
||||
<jclouds.version>1.9.0</jclouds.version>
|
||||
<modelmapper.version>2.4.4</modelmapper.version>
|
||||
<lombok.version>1.18.20</lombok.version>
|
||||
<moneta.version>1.3</moneta.version>
|
||||
<jmh-core.version>1.33</jmh-core.version>
|
||||
<exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
|
||||
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
|
||||
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="lib" level="project" />
|
||||
</component>
|
||||
</module>
|
|
@ -0,0 +1,22 @@
|
|||
package org.realtor.rets.validation.tests;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* @author YuCheng
|
||||
*/
|
||||
public class VariableTest {
|
||||
|
||||
private final static Logger logger = LoggerFactory.getLogger(VariableTest.class);
|
||||
|
||||
/**
|
||||
* Do RetsServerConnection Test
|
||||
*/
|
||||
@Test
|
||||
public void testStaticVariableChange() {
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,97 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE RelativeLayout>
|
||||
<Configuration status="WARN">
|
||||
|
||||
<Properties>
|
||||
<Property name="baseDir">/home/logs/reoc/services/</Property>
|
||||
</Properties>
|
||||
|
||||
<Appenders>
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<!-- C O N S O L E - A P P E N D E R -->
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<Console name="CONSOLE" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%-d{yyyy/MM/dd HH:mm:ss} %-5p [%c] - %m%n" />
|
||||
<ThresholdFilter level="TRACE" onMatch="ACCEPT" onMismatch="DENY" />
|
||||
</Console>
|
||||
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<!-- D E B U G _ F I L E - A P P E N D E R -->
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<RollingFile name="FILE_DEBUG" append="true" fileName="${baseDir}/services_debug.log" filePattern="${baseDir}/$${date:yyyy-MM}/services-debug-%d{yyyy-MM-dd}-%i.log.gz">
|
||||
<ThresholdFilter level="DEBUG" onMatch="ACCEPT" onMismatch="DENY" />
|
||||
<PatternLayout>
|
||||
<pattern>%-d{yyyy/MM/dd HH:mm:ss} %-5p [%c] - %m%n</pattern>
|
||||
</PatternLayout>
|
||||
<Policies>
|
||||
<TimeBasedTriggeringPolicy />
|
||||
<SizeBasedTriggeringPolicy size="250 MB"></SizeBasedTriggeringPolicy>
|
||||
</Policies>
|
||||
<DefaultRolloverStrategy max="12" />
|
||||
</RollingFile>
|
||||
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<!-- I N F O _ F I L E - A P P E N D E R -->
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<RollingFile name="FILE_INFO" append="true" fileName="${baseDir}/services_info.log" filePattern="${baseDir}/$${date:yyyy-MM}/services-info-%d{yyyy-MM-dd}.log.gz">
|
||||
<ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY" />
|
||||
<PatternLayout>
|
||||
<pattern>%-d{yyyy/MM/dd HH:mm:ss} %-5p [%c] - %m%n</pattern>
|
||||
</PatternLayout>
|
||||
<Policies>
|
||||
<TimeBasedTriggeringPolicy />
|
||||
<SizeBasedTriggeringPolicy size="250 MB"></SizeBasedTriggeringPolicy>
|
||||
</Policies>
|
||||
<DefaultRolloverStrategy max="12" />
|
||||
</RollingFile>
|
||||
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<!-- F I L E _ W A R N - A P P E N D E R -->
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<RollingFile name="FILE_WARN" append="true" fileName="${baseDir}/services_info.log" filePattern="${baseDir}/$${date:yyyy-MM}/services-warn-%d{yyyy-MM-dd}.log.gz">
|
||||
<ThresholdFilter level="WARN" onMatch="ACCEPT" onMismatch="DENY" />
|
||||
<PatternLayout>
|
||||
<pattern>%-d{yyyy/MM/dd HH:mm:ss} %-5p [%c] - %m%n</pattern>
|
||||
</PatternLayout>
|
||||
<Policies>
|
||||
<TimeBasedTriggeringPolicy />
|
||||
<SizeBasedTriggeringPolicy size="250 MB"></SizeBasedTriggeringPolicy>
|
||||
</Policies>
|
||||
<DefaultRolloverStrategy max="12" />
|
||||
</RollingFile>
|
||||
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<!-- F I L E _ E R R O R - A P P E N D E R -->
|
||||
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
<RollingFile name="FILE_ERROR" append="true" fileName="${baseDir}/services_error.log" filePattern="${baseDir}/$${date:yyyy-MM}/services-error-%d{yyyy-MM-dd}.log.gz">
|
||||
<ThresholdFilter level="ERROR" onMatch="ACCEPT" onMismatch="DENY" />
|
||||
<PatternLayout>
|
||||
<pattern>%-d{yyyy/MM/dd HH:mm:ss} %-5p [%c] - %m%n</pattern>
|
||||
</PatternLayout>
|
||||
<Policies>
|
||||
<TimeBasedTriggeringPolicy />
|
||||
<SizeBasedTriggeringPolicy size="250 MB"></SizeBasedTriggeringPolicy>
|
||||
</Policies>
|
||||
<DefaultRolloverStrategy max="12" />
|
||||
</RollingFile>
|
||||
</Appenders>
|
||||
|
||||
<!-- LOGGERS -->
|
||||
<Loggers>
|
||||
|
||||
<Logger name="com" level="TRACE" additivity="false">
|
||||
<AppenderRef ref="CONSOLE" level="DEBUG" />
|
||||
<AppenderRef ref="FILE_DEBUG" level="DEBUG" />
|
||||
<AppenderRef ref="FILE_INFO" level="INFO" />
|
||||
<AppenderRef ref="FILE_WARN" level="WARN" />
|
||||
<AppenderRef ref="FILE_ERROR" level="ERROR" />
|
||||
</Logger>
|
||||
|
||||
|
||||
<root level="TRACE">
|
||||
|
||||
</root>
|
||||
|
||||
</Loggers>
|
||||
|
||||
</Configuration>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<configuration debug="true">
|
||||
<appender name="STDOUT"
|
||||
class="ch.qos.logback.core.ConsoleAppender">
|
||||
<!-- encoders are assigned by default the type
|
||||
ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
|
||||
</encoder>
|
||||
<layout class="ch.qos.logback.classic.PatternLayout">
|
||||
<Pattern>
|
||||
%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n
|
||||
</Pattern>
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<root level="debug">
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
</configuration>
|
|
@ -0,0 +1,45 @@
|
|||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\OperatorMap.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\MultiplicationOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\Term.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\UpdateField.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\MathematicOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\NotOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\AdditionOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\ValidationExpression.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\SubtractionOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\OrOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\TermConverter.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\OpenParen.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\TermFactory.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\tests\TokenizerTest.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\ValidationExpressionEvaluator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\CloseParen.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\ContainsOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\Operator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\GreaterThanOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\DivisionOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\LogicOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\AndOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\BooleanTerm.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\tests\RETSUpdateValidatorTest.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\ModOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\AbstractTerm.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\ComparisonOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\DateIntervalTerm.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\StringTerm.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\InvalidTermException.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\GreaterThanOrEqualToOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\ValidationError.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\RetsTokenParser.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\LessThanOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\NumericTerm.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\VariableTerm.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\EqualsOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\terms\DateTerm.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\tests\ParserTest.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\ParseTree.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\Parenthetical.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\LessThanOrEqualToOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\RETSUpdateValidator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\operators\NotEqualsOperator.java
|
||||
C:\WorkDir\USRealEstate\Source-Code\rets-io-validation\src\main\java\org\realtor\rets\validation\tests\DateIntervalTest.java
|
Loading…
Reference in New Issue