commit 0d1279c5ebcde5382ebe8731d6b144ec83cae2dc
Author: hypaas <181620720@qq.com>
Date: Wed Nov 22 10:50:16 2023 +0800
Initial application generation by hypaas
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..aa29d1a
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,8 @@
+FROM 117.78.10.170:3001/library/tomcat-session:8-alpine
+ARG WAR_FILE
+ARG APP_NAME
+COPY ${WAR_FILE} /usr/local/tomcat/webapps/${APP_NAME}.war
+#端口
+EXPOSE 8080
+#设置启动命令
+ENTRYPOINT ["/usr/local/tomcat/bin/catalina.sh","run"]
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..c0c9eec
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,53 @@
+buildscript {
+ ext.repos = {
+ //mavenLocal()
+ //mavenCentral()
+ // maven { url 'https://plugins.gradle.org/m2/' }
+ //jcenter()
+ maven { url 'http://192.168.0.200:3081/repository/GradleRep/' }
+ }
+ ext.platformVersion = '1.0.+'
+ ext.appVersion = '1.0.0'
+ repositories repos
+ dependencies {
+ classpath "com.hypaas:hypaas-gradle:${platformVersion}"
+ }
+}
+
+allprojects {
+ repositories repos
+}
+
+apply plugin: 'idea'
+apply plugin: 'eclipse'
+apply plugin: 'com.hypaas.app'
+
+apply from: './gradle/style.gradle'
+
+hypaas {
+ title = "HY-IOT-PAAS"
+ description = "Hypaas IOT Platform"
+}
+
+allprojects {
+ apply plugin: 'idea';
+ apply plugin: 'eclipse'
+
+ group = "com.hypaas"
+ version = "${appVersion}"
+
+ sourceCompatibility = 1.8
+ targetCompatibility = 1.8
+}
+configurations {
+ runtime.exclude group: 'javax.ws.rs', module: 'jsr311-api'
+}
+dependencies {
+ implementation project(":modules:test")
+
+}
+
+wrapper {
+ gradleVersion = "6.3"
+}
+
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..70aaefa
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,10 @@
+#�����ػ��߳�
+org.gradle.daemon=true
+#����jvm�ڴ��С
+#org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
+#�������������
+org.gradle.parallel=true
+#�����µķ���ģʽ
+org.gradle.configureondemand=true
+#���� Gradle ����
+org.gradle.caching = true
diff --git a/gradle/style.gradle b/gradle/style.gradle
new file mode 100644
index 0000000..8dcbb9e
--- /dev/null
+++ b/gradle/style.gradle
@@ -0,0 +1,45 @@
+buildscript {
+ repositories repos
+ dependencies {
+ classpath "com.diffplug.spotless:spotless-plugin-gradle:3.24.3"
+ }
+}
+
+apply plugin: com.diffplug.gradle.spotless.SpotlessPlugin
+
+spotless {
+ java {
+ target fileTree(projectDir) {
+ include '**/*.java'
+ }
+ googleJavaFormat()
+ }
+ format 'misc', {
+ target fileTree(projectDir) {
+ include '**/.gitignore'
+ include '**/*.gradle'
+ include '**/*.adoc'
+ include '**/*.sh'
+ include '**/*.html'
+ include '**/*.js'
+ include '**/*.css'
+ include '**/*.xml'
+ include '**/*.xsd'
+ exclude '**/webapp/lib/*'
+ exclude '**/webapp/dist/*'
+ exclude '**/webapp/node_modules/*'
+ }
+ indentWithSpaces(2)
+ trimTrailingWhitespace()
+ endWithNewline()
+ }
+ format 'markdown', {
+ target '**/*.md'
+ indentWithSpaces(2)
+ endWithNewline()
+ }
+}
+
+task formatCode(dependsOn: ['licenseFormat', 'spotlessApply'])
+
+build.dependsOn 'spotlessApply'
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..5c2d1cf
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..e3ed371
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Thu Jun 11 18:08:47 CST 2020
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStorePath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
diff --git a/gradlew b/gradlew
new file mode 100644
index 0000000..b0d6d0a
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,188 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=$(save "$@")
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..15e1ee3
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,100 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/modules/test/build.gradle b/modules/test/build.gradle
new file mode 100644
index 0000000..b18e7f2
--- /dev/null
+++ b/modules/test/build.gradle
@@ -0,0 +1,7 @@
+apply plugin: 'com.hypaas.app-module'
+hypaas {
+ title = "test"
+}
+dependencies {
+}
+
diff --git a/modules/test/src/main/resources/domains/LogEntity.xml b/modules/test/src/main/resources/domains/LogEntity.xml
new file mode 100644
index 0000000..8fac9ff
--- /dev/null
+++ b/modules/test/src/main/resources/domains/LogEntity.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modules/test/src/main/resources/i18n/messages.csv b/modules/test/src/main/resources/i18n/messages.csv
new file mode 100644
index 0000000..2bcfb59
--- /dev/null
+++ b/modules/test/src/main/resources/i18n/messages.csv
@@ -0,0 +1 @@
+"key","message","comment","context"
\ No newline at end of file
diff --git a/modules/test/src/main/resources/i18n/messages_en.csv b/modules/test/src/main/resources/i18n/messages_en.csv
new file mode 100644
index 0000000..2bcfb59
--- /dev/null
+++ b/modules/test/src/main/resources/i18n/messages_en.csv
@@ -0,0 +1 @@
+"key","message","comment","context"
\ No newline at end of file
diff --git a/modules/test/src/main/resources/i18n/messages_zh.csv b/modules/test/src/main/resources/i18n/messages_zh.csv
new file mode 100644
index 0000000..2bcfb59
--- /dev/null
+++ b/modules/test/src/main/resources/i18n/messages_zh.csv
@@ -0,0 +1 @@
+"key","message","comment","context"
\ No newline at end of file
diff --git a/modules/test/src/main/resources/views/Log-ServiceUser-form.xml b/modules/test/src/main/resources/views/Log-ServiceUser-form.xml
new file mode 100644
index 0000000..2471742
--- /dev/null
+++ b/modules/test/src/main/resources/views/Log-ServiceUser-form.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/modules/test/src/main/resources/views/Log-ServiceUser-grid.xml b/modules/test/src/main/resources/views/Log-ServiceUser-grid.xml
new file mode 100644
index 0000000..d5b7da4
--- /dev/null
+++ b/modules/test/src/main/resources/views/Log-ServiceUser-grid.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..6162fa6
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,5 @@
+rootProject.name = 'hy-iot-paas'
+
+include "modules:test"
+
+
diff --git a/src/main/resources/AccessInterface.yml b/src/main/resources/AccessInterface.yml
new file mode 100644
index 0000000..39b5953
--- /dev/null
+++ b/src/main/resources/AccessInterface.yml
@@ -0,0 +1,3 @@
+interfaceList:
+ - "/ws/register/register/face"
+ - "/ws/register/login/face"
\ No newline at end of file
diff --git a/src/main/resources/META-INF/persistence.xml b/src/main/resources/META-INF/persistence.xml
new file mode 100644
index 0000000..31fd7f6
--- /dev/null
+++ b/src/main/resources/META-INF/persistence.xml
@@ -0,0 +1,39 @@
+
+
+
+ org.hibernate.jpa.HibernatePersistenceProvider
+ ENABLE_SELECTIVE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 0000000..f71d8f2
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,321 @@
+# Application Information
+# ~~~~~
+application.name=\u004c\u006f\u0067\u004d\u0061\u006e\u0061\u0067\u0065
+application.id=
+application.sid=1719173642480254976
+application.callback.url=http://117.78.10.170:3000/api/v1/message/preview/
+application.description=
+application.version=1.0.0
+# Author/Company
+# ~~~~~
+application.author=Sunwiseinfo
+application.copyright=Copyright (c) {year} Sunwise. All Rights Reserved.
+# Header Logo
+# ~~~~~
+# width 237.07mm height 35.28mm
+application.logo =img/logo.png
+# width 334.43mm height 163.69mm
+application.login.logo =img/login.png
+# Home Website
+# ~~~~~
+# Link to be used with header logo
+application.home=http://www.sunwiseinfo.com
+# Link to the online help
+# ~~~~~
+application.help=http://docs.sunwiseinfo.com
+# Application deployment mode
+# ~~~~~
+# Set to 'dev' for development mode else 'prod'
+application.mode=dev
+# CSS Theme
+# ~~~~~
+# Set default CSS theme, for example `blue`
+application.theme=hypaas-sunwise
+# Default Locale (language)
+# ~~~~~
+# Set default application locale (en, fr, fr_FR, en_US)
+application.locale=zh_CN
+
+#context.app = com.hypaas.apps.base.service.app.AppService
+#context.appLogo = com.hypaas.apps.base.service.user.UserService:getUserActiveCompanyLogoLink
+
+# Encryption
+# ~~~~~
+# Set encryption password
+#encryption.password = MySuperSecretKey
+# Set encryption algorithm (CBC or GCM)
+#encryption.algorithm = CBC
+# Database settings
+# ~~~~~
+# See hibernate documentation for connection parameters
+
+#local logout config
+auth.logout.local=true
+#multi_tenancy config
+#application.multi_tenancy=true
+
+# PostgreSQL
+#db.default.driver = org.postgresql.Driver
+#db.default.ddl = update
+#db.default.url = jdbc:postgresql://localhost:5432/hypaas-erp
+#db.default.user = hypaas
+#db.default.password = hypaas
+
+# MySQL
+#db.default.driver = com.mysql.jdbc.Driver
+#db.default.visible=false
+db.default.driver=
+db.default.ddl=update
+db.default.url=jdbc:://?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&nullCatalogMeansCurrent=true
+db.default.user=
+db.default.password=
+
+db.company1.name=Company 1
+db.company1.driver=com.mysql.cj.jdbc.Driver
+db.company1.url=jdbc:mysql://localhost:3306/hy_iot_paas2?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
+db.company1.user=hypaas
+db.company1.password=hypaas
+
+db.company2.name=Company 2
+db.company2.driver=com.mysql.cj.jdbc.Driver
+db.company2.url=jdbc:mysql://localhost:3306/hy_iot_paas3?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
+db.company2.user=hypaas
+db.company2.password=hypaas
+
+# Oracle
+#db.default.driver = oracle.jdbc.OracleDriver
+#db.default.ddl = update
+#db.default.url = jdbc:oracle:thin:@localhost:1521:oracle
+#db.default.user = hypaas
+#db.default.password =
+#Datasource
+jdbc.filters=stat,wall
+jdbc.maxActive=20
+jdbc.initialSize=5
+jdbc.maxWait=60000
+jdbc.minIdle=10
+jdbc.timeBetweenEvictionRunsMillis=60000
+jdbc.minEvictableIdleTimeMillis=300000
+jdbc.validationQuery=SELECT 1
+jdbc.testWhileIdle=true
+jdbc.testOnBorrow=false
+jdbc.testOnReturn=false
+jdbc.maxOpenPreparedStatements=20
+jdbc.removeAbandoned=true
+jdbc.removeAbandonedTimeout=1800
+jdbc.logAbandoned=true
+#0:NONE,1:read_uncommitted,2:read_committed,4:REPEATABLE_READ,8:SERIALIZABLE
+jdbc.transactionIsolation=2
+jdbc.cache_mode=ENABLE_SELECTIVE
+#jdbc.cache_mode = ALL
+jdbc.fetch_size=20
+jdbc.batch_size=20
+mybatis.environment.id=dev
+# Date Format
+# ~~~~~
+date.format=dd/MM/yyyy
+# Timezone
+# ~~~~~
+date.timezone=Asia/Shanghai
+# Session timeout (in minutes)
+# ~~~~~
+session.timeout=60
+# Storage path for upload files (attachments)
+# ~~~~~
+# use {user.home} key to save files under user home directory, or
+# use absolute path where server user have write permission.
+file.upload.dir={user.home}/.hypaas/attachments
+# Upload filename pattern, default is auto where file is save with same name
+# in the given upload dir, if file is already there, a count number is
+# appended to file name.
+#
+# This can be overridden by providing custom name pattern, for example:
+#
+# file.upload.filename.pattern = {year}-{month}/{day}/{name}
+# file.upload.filename.pattern = {AA}/{name}
+#
+# Following placeholders can be used:
+#
+# {year} - current year
+# {month} - current month
+# {day} - current day
+# {name} - file name
+# {A} - first letter from file name
+# {AA} - first 2 letter from file name
+# {AAA} - first 3 letter from file name
+#
+#file.upload.filename.pattern = {year}-{month}/{day}/{name}
+# Maximum upload size (in MB)
+# ~~~~~
+file.upload.size=5
+
+#视频文件代理全路径
+nginx.proxy.path =
+
+#自动任务调度目标接口路径
+scheduling.url =
+
+#序列化字段,逗号分开
+serialize.keys =
+
+# Whitelist pattern can be used to allow file upload with matching names.
+#
+# For example: \\.(xml|html|jpg|png|pdf|xsl)$
+#
+# Regular expression
+# ~~~~~
+#file.upload.whitelist.pattern =
+# Blacklist pattern can be used to block file upload with matching names.
+#
+# Regular expression
+# ~~~~~
+#file.upload.blacklist.pattern =
+# Whitelist content type can be used to allow file upload with matching content.
+#
+# List of mime-types (plain/text,image/*,video/webm)
+# ~~~~~
+#file.upload.whitelist.types =
+# Blacklist content type can be used to block file upload with matching content.
+#
+# List of mime-types (plain/text,image/*,video/webm)
+# ~~~~~
+#file.upload.blacklist.types =
+# The external report design directory
+# ~~~~~
+# this directory is searched for the rptdesign files
+# (fallbacks to designs provided by modules)
+reports.design.dir={user.home}/.hypaas/reports
+# Storage path for report outputs
+reports.output.dir={user.home}/.hypaas/reports-gen
+# Data export (csv) encoding
+# ~~~~
+# Use Windows-1252, ISO-8859-1 or ISO-8859-15 if targeting ms excel
+# (excel does not recognize utf8 encoded csv)
+data.export.encoding=UTF-8
+# Storage path for export action
+# ~~~~~
+data.export.dir={user.home}/.hypaas/data-export
+# Specify whether to import demo data
+# ~~~~~
+data.import.hypaas-data=false
+# Storage path for templates
+# ~~~~~
+template.search.dir={user.home}/.hypaas/templates
+# LDAP Configuration
+# ~~~~~
+#ldap.server.url = ldap://localhost:10389
+# can be "simple" or "CRAM-MD5"
+ldap.auth.type=simple
+ldap.system.user=uid=admin,ou=system
+ldap.system.password=secret
+# group search base
+ldap.group.base=ou=groups,dc=example,dc=com
+# if set, create groups on ldap server under ldap.group.base
+#ldap.group.object.class = groupOfUniqueNames
+# a template to search groups by user login id
+ldap.group.filter=(uniqueMember=uid={0})
+# user search base
+ldap.user.base=ou=users,dc=example,dc=com
+# a template to search user by user login id
+ldap.user.filter=(uid={0})
+# CAS configuration
+# ~~~~~
+#auth.cas.server.url.prefix = http://localhost:8081/cas
+# use public accessible url
+#auth.cas.service = http://localhost:8080/hy-iot-paas/callback
+# login url, if not given prepared from server & service url
+#auth.cas.login.url = http://localhost:8081/cas/login?service=http://localhost:8080/hy-iot-paas/callback?client_name=CasClient
+# logout url, if not given prepared from server & service url
+#auth.cas.logout.url = http://localhost:8081/cas/logout?service=http://localhost:8080/hy-iot-paas
+# CAS validation protocol (CAS, SAML)
+#auth.cas.protocol = CAS10
+# the attribute to map to user display name
+#auth.cas.attrs.user.name = name
+# the attribute to map to user email
+#auth.cas.attrs.user.email = mail
+# Quartz Scheduler
+# ~~~~~
+# quartz job scheduler
+# Specify whether to enable quartz scheduler
+quartz.enable=false
+# total number of threads in quartz thread pool
+# the number of jobs that can run simultaneously
+quartz.threadCount=3
+# SMPT configuration
+# ~~~~~
+# SMTP server configuration
+#mail.smtp.host = smtp.gmail.com
+#mail.smtp.port = 587
+#mail.smtp.channel = starttls
+#mail.smtp.user = user@gmail.com
+#mail.smtp.pass = secret
+# timeout settings
+#mail.smtp.timeout = 60000
+#mail.smtp.connectionTimeout = 60000
+# IMAP configuration
+# ~~~~~
+# IMAP server configuration
+# (quartz scheduler should be enabled for fetching stream replies)
+#mail.imap.host = imap.gmail.com
+#mail.imap.port = 993
+#mail.imap.channel = ssl
+#mail.imap.user = user@gmail.com
+#mail.imap.pass = secret
+# timeout settings
+#mail.imap.timeout = 60000
+#mail.imap.connectionTimeout = 60000
+# CORS configuration
+# ~~~~~
+# CORS settings to allow cross origin requests
+# regular expression to test allowed origin or * to allow all (not recommended)
+#cors.allow.origin = *
+#cors.allow.credentials = true
+#cors.allow.methods = GET,PUT,POST,DELETE,HEAD,OPTIONS
+#cors.allow.headers = Origin,Accept,X-Requested-With,Content-Type,Access-Control-Request-Method,Access-Control-Request-Headers
+# View configuration
+# ~~~~~
+# Set to true to enable single view mode
+view.single.tab=false
+# Set menu style (left, top, both)
+view.menubar.location=both
+# Advance Filter Sharing
+# ~~~~~
+# Set to false to hide advance search filter share option, or set to list of
+# role names to enable share for those roles only.
+#view.adv-search.share = share-filter,can-share-filter
+# Logging
+# ~~~~~
+# Custom logback configuration can be provided with `logging.config` property pointing
+# to a custom `logback.xml`. In this case, all the logging configuration provided here
+# will be ignored.
+#
+# Following settings can be used to configure logging system automatically.
+#
+#logging.path = {user.home}/.hypaas/logs
+#logging.pattern.file = %d{yyyy-MM-dd HH:mm:ss.SSS} %5p ${PID:- } --- [%t] %-40.40logger{39} : %m%n
+#logging.pattern.console = %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n
+# Global logging
+logging.level.root=ERROR
+# Hypaas logging
+# Log everything.
+logging.level.com.hypaas=INFO
+# Hibernate logging
+# Log everything. Good for troubleshooting
+#logging.level.org.hibernate = INFO
+# Log all SQL DML statements as they are executed
+#logging.level.org.hibernate.SQL = DEBUG
+#logging.level.org.hibernate.engine.jdbc = DEBUG
+# Log all SQL DDL statements as they are executed
+#logging.level.org.hibernate.tool.hbm2ddl = INFO
+# Log all JDBC parameters
+#logging.level.org.hibernate.type = ALL
+# Log transactions
+#logging.level.org.hibernate.transaction = DEBUG
+# Log L2-Cache
+#logging.level.org.hibernate.cache = DEBUG
+# Log JDBC resource acquisition
+#logging.level.org.hibernate.jdbc = TRACE
+#logging.level.org.hibernate.service.jdbc = TRACE
+# Log connection pooling
+#logging.level.com.zaxxer.hikari = INFO
+
diff --git a/src/main/resources/i18n/messages.csv b/src/main/resources/i18n/messages.csv
new file mode 100644
index 0000000..30b7034
--- /dev/null
+++ b/src/main/resources/i18n/messages.csv
@@ -0,0 +1,3 @@
+"key","message","comment","context"
+"Dashboards",,,
+"Welcome!",,,
diff --git a/src/main/resources/i18n/messages_en.csv b/src/main/resources/i18n/messages_en.csv
new file mode 100644
index 0000000..30b7034
--- /dev/null
+++ b/src/main/resources/i18n/messages_en.csv
@@ -0,0 +1,3 @@
+"key","message","comment","context"
+"Dashboards",,,
+"Welcome!",,,
diff --git a/src/main/resources/i18n/messages_fr.csv b/src/main/resources/i18n/messages_fr.csv
new file mode 100644
index 0000000..64fbbab
--- /dev/null
+++ b/src/main/resources/i18n/messages_fr.csv
@@ -0,0 +1,3 @@
+"key","message","comment","context"
+"Dashboards","Tableau de bord",,
+"Welcome!","Bienvenue",,
diff --git a/src/main/resources/i18n/messages_zh.csv b/src/main/resources/i18n/messages_zh.csv
new file mode 100644
index 0000000..73ba5e2
--- /dev/null
+++ b/src/main/resources/i18n/messages_zh.csv
@@ -0,0 +1,3 @@
+"key","message","comment","context"
+"Dashboards","仪表盘",,
+"Welcome!","我的仪表盘",,
diff --git a/src/main/resources/views/welcome.xml b/src/main/resources/views/welcome.xml
new file mode 100644
index 0000000..4720558
--- /dev/null
+++ b/src/main/resources/views/welcome.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+