generated from dxfeng/secondev-chapanda-feishu
代码提交
This commit is contained in:
parent
6109eaca64
commit
d6ec9ae9d3
|
|
@ -17,3 +17,7 @@ target/
|
||||||
|
|
||||||
/log
|
/log
|
||||||
/build/
|
/build/
|
||||||
|
|
||||||
|
*/.gradle/
|
||||||
|
*/build/
|
||||||
|
/.gradle/
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
# e-code 本地二开项目
|
||||||
|
## 项目搭建
|
||||||
|
本项目为本地开发模版,可在 IDEA 中直接打开。
|
||||||
|
|
||||||
|
## 调试
|
||||||
|
|
||||||
|
本地调试:[参考文档](https://www.e-cology.com.cn/ecode/playground/doc/share/view/916733818655342593#3.4.1%20%E6%9C%AC%E5%9C%B0%E4%BB%A3%E7%A0%81%E8%B0%83%E8%AF%95)
|
||||||
|
|
||||||
|
项目使用 gradle 进行构建,在项目根目录下直接运行 gradle build 即可
|
||||||
|
|
||||||
|
## 打包部署
|
||||||
|
|
||||||
|
### 多模块项目创建说明
|
||||||
|
> 子项目会集成根目录下的关联依赖,可在build.gradle中进行修改
|
||||||
|
|
||||||
|
#### 创建子模块
|
||||||
|
|
||||||
|
|
||||||
|
> 在根目录下直接创建目录,并在目录下创建对应的gradle文件
|
||||||
|
|
||||||
|
例如:创建模块secondev-workflow-demo
|
||||||
|
|
||||||
|
1.创建目录 secondev-md-demo
|
||||||
|
|
||||||
|
2.创建gradle文件 secondev-md-demo/secondev-md-demo.gradle
|
||||||
|
|
||||||
|
```
|
||||||
|
root
|
||||||
|
|-secondev-custom-demo
|
||||||
|
| |-src
|
||||||
|
| | |--...
|
||||||
|
| |-secondev-custom-demo.gradle
|
||||||
|
| |
|
||||||
|
|
||||||
|
```
|
||||||
|
secondev-custom-demo.gradle 内容如下
|
||||||
|
```
|
||||||
|
description = "子模块demo项目"
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
// 子项目私有依赖添加
|
||||||
|
}
|
||||||
|
```
|
||||||
|
#### 接触子模块关联
|
||||||
|
> 在需要接触关联的子模块目录下 添加名为.disabled的文件即可,内容为空即可 需要重新reload
|
||||||
|
|
@ -0,0 +1,63 @@
|
||||||
|
plugins {
|
||||||
|
id 'java'
|
||||||
|
id 'com.weaver.ecode.gradle.plugin.BuildArchPlugin'
|
||||||
|
}
|
||||||
|
|
||||||
|
group 'com.weaver.seconddev'
|
||||||
|
version '1.0.0'
|
||||||
|
description ''
|
||||||
|
|
||||||
|
|
||||||
|
allprojects {
|
||||||
|
repositories {
|
||||||
|
// maven { url 'https://maven.aliyun.com/repository/public/' } // 可以连互联网 可放开此行注释
|
||||||
|
mavenLocal()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
def ignoredProjectNames = []
|
||||||
|
|
||||||
|
|
||||||
|
configure(allprojects) { project ->
|
||||||
|
|
||||||
|
apply plugin: 'java'
|
||||||
|
apply plugin: 'com.weaver.ecode.gradle.plugin.BuildArchPlugin'
|
||||||
|
|
||||||
|
compileJava {
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
from sourceSets.main.allJava
|
||||||
|
manifest {
|
||||||
|
attributes 'weaver-ecode-seconddev-id': rootProject.group + '-' + rootProject.name,
|
||||||
|
'Implementation-Version': rootProject.version,
|
||||||
|
'Implementation-Vendor-Id': rootProject.group,
|
||||||
|
'Implementation-Title': rootProject.name
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!ignoredProjectNames.contains(project.name)) {
|
||||||
|
dependencies {
|
||||||
|
// implementation group: 'junit', name: 'junit', version: '4.12'
|
||||||
|
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.20'
|
||||||
|
annotationProcessor 'org.projectlombok:lombok:1.18.20'
|
||||||
|
// implementation group: 'javax.servlet', name: 'javax.servlet-api', version: '4.0.1'
|
||||||
|
|
||||||
|
// 添加二开服务拉取的清单依赖
|
||||||
|
def includeType = ['**/*.jar', '**/*.class']
|
||||||
|
//服务器class文件依赖
|
||||||
|
implementation files(rootProject.projectDir.getPath() + '/secDevClasses')
|
||||||
|
//服务器jar包依赖
|
||||||
|
implementation fileTree(dir: rootProject.projectDir.getPath() + '/secDevLib', includes: includeType)
|
||||||
|
// 项目二开自定义依赖
|
||||||
|
implementation fileTree(dir: rootProject.projectDir.getPath() + "/devLib", includes: includeType)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,144 @@
|
||||||
|
package com.weaver.ecode.gradle.plugin;
|
||||||
|
|
||||||
|
import org.gradle.api.Plugin;
|
||||||
|
import org.gradle.api.Project;
|
||||||
|
import org.gradle.api.tasks.bundling.Jar;
|
||||||
|
|
||||||
|
import java.io.*;
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
|
import java.nio.file.Files;
|
||||||
|
import java.nio.file.Path;
|
||||||
|
import java.nio.file.Paths;
|
||||||
|
import java.util.*;
|
||||||
|
import java.util.zip.ZipEntry;
|
||||||
|
import java.util.zip.ZipInputStream;
|
||||||
|
import java.util.zip.ZipOutputStream;
|
||||||
|
|
||||||
|
public class BuildArchPlugin implements Plugin<Project> {
|
||||||
|
|
||||||
|
private void readResourcePathList(String rootPath, Set<String> pathList) {
|
||||||
|
File dir = new File(rootPath);
|
||||||
|
if (Objects.isNull(dir.listFiles())) return;
|
||||||
|
for (File file : Objects.requireNonNull(dir.listFiles())) {
|
||||||
|
if (file.isDirectory()) {
|
||||||
|
pathList.add(file.getPath());
|
||||||
|
readResourcePathList(file.getPath(), pathList);
|
||||||
|
} else {
|
||||||
|
pathList.add(file.getPath());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void addResourceListToJar(String jarLibPath, Set<String> resPathList, String fileName) {
|
||||||
|
StringBuilder text = new StringBuilder("[\n");
|
||||||
|
for (String s : resPathList) {
|
||||||
|
text.append("\t\"").append(s).append("\"\n");
|
||||||
|
}
|
||||||
|
text.append("]");
|
||||||
|
File zipFile = new File(jarLibPath);
|
||||||
|
String tmpFilePath = UUID.randomUUID() + ".zip";
|
||||||
|
File tmpZipFile = new File(zipFile.getParentFile(), tmpFilePath);
|
||||||
|
try(ZipInputStream zin = new ZipInputStream(Files.newInputStream(zipFile.toPath()));
|
||||||
|
ZipOutputStream tmpZipOut = new ZipOutputStream(Files.newOutputStream(tmpZipFile.toPath()));
|
||||||
|
InputStream fis = new ByteArrayInputStream(text.toString().getBytes(StandardCharsets.UTF_8));) {
|
||||||
|
ZipEntry entry = zin.getNextEntry();
|
||||||
|
while (entry != null) {
|
||||||
|
tmpZipOut.putNextEntry(new ZipEntry(entry.getName()));
|
||||||
|
byte[] buffer = new byte[1024];
|
||||||
|
int len;
|
||||||
|
while ((len = zin.read(buffer)) > 0) {
|
||||||
|
tmpZipOut.write(buffer, 0, len);
|
||||||
|
}
|
||||||
|
entry = zin.getNextEntry();
|
||||||
|
}
|
||||||
|
ZipEntry zipEntry = new ZipEntry("META-INF/" + fileName);
|
||||||
|
tmpZipOut.putNextEntry(zipEntry);
|
||||||
|
byte[] buffer = new byte[1024];
|
||||||
|
int len;
|
||||||
|
while ((len = fis.read(buffer)) > 0) {
|
||||||
|
tmpZipOut.write(buffer, 0, len);
|
||||||
|
}
|
||||||
|
zipFile.delete();
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
tmpZipFile.renameTo(zipFile);
|
||||||
|
}
|
||||||
|
|
||||||
|
private Set<String> calcAbsPathList(String rooPath, Set<String> pathList) {
|
||||||
|
Set<String> absPaths = new HashSet<>();
|
||||||
|
for (String path : pathList) {
|
||||||
|
Path basePath = Paths.get(rooPath).toAbsolutePath().normalize();
|
||||||
|
Path filePath = new File(path).toPath();
|
||||||
|
Path relativize = basePath.relativize(filePath);
|
||||||
|
System.out.println("echo path: " + relativize);
|
||||||
|
absPaths.add(relativize.toString().replace("\\", "/"));
|
||||||
|
}
|
||||||
|
return absPaths;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void apply(Project project) {
|
||||||
|
// 扫描 项目下的resources 文件内容
|
||||||
|
List<String> pathList = new ArrayList<>();
|
||||||
|
// scanFileOrDir()
|
||||||
|
System.out.println(project.getRootDir().toPath());
|
||||||
|
project.getTasks().forEach(t -> {
|
||||||
|
if (t.getName().equalsIgnoreCase("jar")) { // 打包task添加后置处理逻辑
|
||||||
|
t.doLast(l -> {
|
||||||
|
String jarName = ((Jar) l).getArchiveBaseName().get();
|
||||||
|
String version = null;
|
||||||
|
try {
|
||||||
|
version = ((Jar) l).getArchiveVersion().get();
|
||||||
|
} catch (Exception ignored) {}
|
||||||
|
String libJarPath = project.getBuildDir().getPath() + "/libs/" + jarName + (Objects.nonNull(version) ? "-" + version : "") + ".jar";
|
||||||
|
File jarFile = new File(libJarPath);
|
||||||
|
if (jarFile.exists()) {
|
||||||
|
System.out.println("jar file size: " + jarFile.length() + ", libJarPath: " + libJarPath);
|
||||||
|
// 当前目录下生成build.zip
|
||||||
|
// 获取对应模块的resources 目录清单
|
||||||
|
File moduleProjectFile = l.getProject().getProjectDir();
|
||||||
|
Set<String> resourcesList = new HashSet<>();
|
||||||
|
Set<String> srcList = new HashSet<>();
|
||||||
|
readResourcePathList(moduleProjectFile.getPath() + "/src/main/resources", resourcesList);
|
||||||
|
readResourcePathList(moduleProjectFile.getPath() + "/src/main/java", srcList);
|
||||||
|
Set<String> resAbsPath = calcAbsPathList(moduleProjectFile.getPath() + "/src/main/resources", resourcesList);
|
||||||
|
Set<String> srcAbsPath = calcAbsPathList(moduleProjectFile.getPath() + "/src/main/java", srcList);
|
||||||
|
addResourceListToJar(libJarPath, resAbsPath, "res.list");
|
||||||
|
addResourceListToJar(libJarPath, srcAbsPath, "src.list");
|
||||||
|
createBuildZip(libJarPath);
|
||||||
|
} else {
|
||||||
|
System.out.println("archive jar not existed. (path: " + libJarPath + ")");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private void createBuildZip(String jarPath) {
|
||||||
|
try {
|
||||||
|
File jarFile = new File(jarPath);
|
||||||
|
String zipFileName = jarFile.getParent() + "/build.zip";
|
||||||
|
ZipOutputStream zipOutputStream = new ZipOutputStream(new FileOutputStream(zipFileName));
|
||||||
|
addFileToZip(new File(jarPath), "", zipOutputStream);
|
||||||
|
zipOutputStream.close();
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void addFileToZip(File file, String parentFolder, ZipOutputStream zipOutputStream) throws Exception {
|
||||||
|
FileInputStream fileInputStream = new FileInputStream(file);
|
||||||
|
ZipEntry zipEntry = new ZipEntry(parentFolder + "/" + file.getName());
|
||||||
|
zipOutputStream.putNextEntry(zipEntry);
|
||||||
|
|
||||||
|
byte[] buffer = new byte[1024];
|
||||||
|
int len;
|
||||||
|
while ((len = fileInputStream.read(buffer)) > 0) {
|
||||||
|
zipOutputStream.write(buffer, 0, len);
|
||||||
|
}
|
||||||
|
|
||||||
|
fileInputStream.close();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
implementation-class=com.weaver.ecode.gradle.plugin.BuildArchPlugin
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
org.gradle.jvmargs=-Xmx8192m -XX:MaxPermSize=8192m
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,8 @@
|
||||||
|
distributionBase=GRADLE_USER_HOME
|
||||||
|
distributionPath=wrapper/dists
|
||||||
|
# 如果是内网环境请预先下载文件文件,让后调整以下url 指向本地文件
|
||||||
|
# 例如windows 系统: distributionUrl=file\:///D:/gradle/gradle-6.9.2-all.zip
|
||||||
|
# 例如 mac / linux 系统:distributionUrl=file:/Users/gradle/gradle-6.9.2-all.zip
|
||||||
|
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.9.2-bin.zip
|
||||||
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
zipStorePath=wrapper/dists
|
||||||
|
|
@ -0,0 +1,234 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright © 2015-2021 the original 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
|
||||||
|
#
|
||||||
|
# https://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 POSIX generated by Gradle.
|
||||||
|
#
|
||||||
|
# Important for running:
|
||||||
|
#
|
||||||
|
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||||
|
# noncompliant, but you have some other compliant shell such as ksh or
|
||||||
|
# bash, then to run this script, type that shell name before the whole
|
||||||
|
# command line, like:
|
||||||
|
#
|
||||||
|
# ksh Gradle
|
||||||
|
#
|
||||||
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
|
# requires all of these POSIX shell features:
|
||||||
|
# * functions;
|
||||||
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
|
#
|
||||||
|
# Important for patching:
|
||||||
|
#
|
||||||
|
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||||
|
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||||
|
#
|
||||||
|
# The "traditional" practice of packing multiple parameters into a
|
||||||
|
# space-separated string is a well documented source of bugs and security
|
||||||
|
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||||
|
# options in "$@", and eventually passing that to Java.
|
||||||
|
#
|
||||||
|
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||||
|
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||||
|
# see the in-line comments for details.
|
||||||
|
#
|
||||||
|
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||||
|
# Darwin, MinGW, and NonStop.
|
||||||
|
#
|
||||||
|
# (3) This script is generated from the Groovy template
|
||||||
|
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
|
# within the Gradle project.
|
||||||
|
#
|
||||||
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
|
#
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
# Attempt to set APP_HOME
|
||||||
|
|
||||||
|
# Resolve links: $0 may be a link
|
||||||
|
app_path=$0
|
||||||
|
|
||||||
|
# Need this for daisy-chained symlinks.
|
||||||
|
while
|
||||||
|
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||||
|
[ -h "$app_path" ]
|
||||||
|
do
|
||||||
|
ls=$( ls -ld "$app_path" )
|
||||||
|
link=${ls#*' -> '}
|
||||||
|
case $link in #(
|
||||||
|
/*) app_path=$link ;; #(
|
||||||
|
*) app_path=$APP_HOME$link ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||||
|
|
||||||
|
APP_NAME="Gradle"
|
||||||
|
APP_BASE_NAME=${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 "$*"
|
||||||
|
} >&2
|
||||||
|
|
||||||
|
die () {
|
||||||
|
echo
|
||||||
|
echo "$*"
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
|
} >&2
|
||||||
|
|
||||||
|
# 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 ;; #(
|
||||||
|
MSYS* | 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" && ! "$darwin" && ! "$nonstop" ; then
|
||||||
|
case $MAX_FD in #(
|
||||||
|
max*)
|
||||||
|
MAX_FD=$( ulimit -H -n ) ||
|
||||||
|
warn "Could not query maximum file descriptor limit"
|
||||||
|
esac
|
||||||
|
case $MAX_FD in #(
|
||||||
|
'' | soft) :;; #(
|
||||||
|
*)
|
||||||
|
ulimit -n "$MAX_FD" ||
|
||||||
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command, stacking in reverse order:
|
||||||
|
# * args from the command line
|
||||||
|
# * the main class name
|
||||||
|
# * -classpath
|
||||||
|
# * -D...appname settings
|
||||||
|
# * --module-path (only if needed)
|
||||||
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||||
|
|
||||||
|
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||||
|
if "$cygwin" || "$msys" ; then
|
||||||
|
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||||
|
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||||
|
|
||||||
|
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||||
|
|
||||||
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||||
|
for arg do
|
||||||
|
if
|
||||||
|
case $arg in #(
|
||||||
|
-*) false ;; # don't mess with options #(
|
||||||
|
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||||
|
[ -e "$t" ] ;; #(
|
||||||
|
*) false ;;
|
||||||
|
esac
|
||||||
|
then
|
||||||
|
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||||
|
fi
|
||||||
|
# Roll the args list around exactly as many times as the number of
|
||||||
|
# args, so each arg winds up back in the position where it started, but
|
||||||
|
# possibly modified.
|
||||||
|
#
|
||||||
|
# NB: a `for` loop captures its iteration list before it begins, so
|
||||||
|
# changing the positional parameters here affects neither the number of
|
||||||
|
# iterations, nor the values presented in `arg`.
|
||||||
|
shift # remove old arg
|
||||||
|
set -- "$@" "$arg" # push replacement arg
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command;
|
||||||
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||||
|
# shell script including quotes and variable substitutions, so put them in
|
||||||
|
# double quotes to make sure that they get re-expanded; and
|
||||||
|
# * put everything else in single quotes, so that it's not re-expanded.
|
||||||
|
|
||||||
|
set -- \
|
||||||
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||||
|
-classpath "$CLASSPATH" \
|
||||||
|
org.gradle.wrapper.GradleWrapperMain \
|
||||||
|
"$@"
|
||||||
|
|
||||||
|
# Use "xargs" to parse quoted args.
|
||||||
|
#
|
||||||
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||||
|
#
|
||||||
|
# In Bash we could simply go:
|
||||||
|
#
|
||||||
|
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||||
|
# set -- "${ARGS[@]}" "$@"
|
||||||
|
#
|
||||||
|
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||||
|
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||||
|
# character that might be a shell metacharacter, then use eval to reverse
|
||||||
|
# that process (while maintaining the separation between arguments), and wrap
|
||||||
|
# the whole thing up as a single "set" statement.
|
||||||
|
#
|
||||||
|
# This will of course break if any of these variables contains a newline or
|
||||||
|
# an unmatched quote.
|
||||||
|
#
|
||||||
|
|
||||||
|
eval "set -- $(
|
||||||
|
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||||
|
xargs -n1 |
|
||||||
|
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||||
|
tr '\n' ' '
|
||||||
|
)" '"$@"'
|
||||||
|
|
||||||
|
exec "$JAVACMD" "$@"
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
@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 https://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 Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||||
|
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||||
|
|
||||||
|
@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 execute
|
||||||
|
|
||||||
|
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 execute
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
: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 %*
|
||||||
|
|
||||||
|
: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
|
||||||
|
|
@ -0,0 +1,93 @@
|
||||||
|
{
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "allinone.cros",
|
||||||
|
"type": "com.weaver.allinone.boot.webmvc.CorsProperties",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.webmvc.CorsProperties"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.urlrewritefilter",
|
||||||
|
"type": "com.weaver.allinone.boot.filter.UrlRewriteFilterProperties",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.filter.UrlRewriteFilterProperties"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"name": "allinone.cros.allow-credentials",
|
||||||
|
"type": "java.lang.Boolean",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.webmvc.CorsProperties",
|
||||||
|
"defaultValue": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.cros.allowed-headers",
|
||||||
|
"type": "java.lang.String[]",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.webmvc.CorsProperties",
|
||||||
|
"defaultValue": [
|
||||||
|
"Authorization",
|
||||||
|
"Content-Type",
|
||||||
|
"Accept",
|
||||||
|
"Origin",
|
||||||
|
"User-Agent",
|
||||||
|
"DNT",
|
||||||
|
"Cache-Control",
|
||||||
|
"X-Mx-ReqToken",
|
||||||
|
"X-Requested-With",
|
||||||
|
"X-File-Name",
|
||||||
|
"eteamsid",
|
||||||
|
"application\/json-rpc",
|
||||||
|
"tenantKey",
|
||||||
|
"employeeId",
|
||||||
|
"timeZone"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.cros.allowed-methods",
|
||||||
|
"type": "java.lang.String[]",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.webmvc.CorsProperties",
|
||||||
|
"defaultValue": [
|
||||||
|
"GET",
|
||||||
|
"POST",
|
||||||
|
"PUT",
|
||||||
|
"DELETE",
|
||||||
|
"OPTIONS"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.cros.allowed-origins",
|
||||||
|
"type": "java.lang.String[]",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.webmvc.CorsProperties",
|
||||||
|
"defaultValue": [
|
||||||
|
"*"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.cros.enable",
|
||||||
|
"type": "java.lang.Boolean",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.webmvc.CorsProperties",
|
||||||
|
"defaultValue": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.cros.max-age",
|
||||||
|
"type": "java.lang.Long",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.webmvc.CorsProperties",
|
||||||
|
"defaultValue": 86400
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.cros.path-pattern",
|
||||||
|
"type": "java.lang.String",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.webmvc.CorsProperties",
|
||||||
|
"defaultValue": "\/**"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.urlrewritefilter.init-parameters",
|
||||||
|
"type": "java.util.Map<java.lang.String,java.lang.String>",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.filter.UrlRewriteFilterProperties"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allinone.urlrewritefilter.url-patterns",
|
||||||
|
"type": "java.lang.String[]",
|
||||||
|
"sourceType": "com.weaver.allinone.boot.filter.UrlRewriteFilterProperties"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"hints": []
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
#org.springframework.context.ApplicationListener#oldMerge|e10-allinone-boot-starter#spring.factories
|
||||||
|
org.springframework.context.ApplicationListener=com.weaver.allinone.boot.listener.AllinoneConfigListener
|
||||||
|
|
@ -0,0 +1,534 @@
|
||||||
|
<!--
|
||||||
|
~ Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
~ or more contributor license agreements. See the NOTICE file
|
||||||
|
~ distributed with this work for additional information
|
||||||
|
~ regarding copyright ownership. The ASF licenses this file
|
||||||
|
~ to you 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<axisconfig name="AxisJava2.0">
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Parameters -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<parameter name="hotdeployment">true</parameter>
|
||||||
|
<parameter name="hotupdate">false</parameter>
|
||||||
|
<parameter name="enableMTOM">false</parameter>
|
||||||
|
<parameter name="enableSwA">false</parameter>
|
||||||
|
|
||||||
|
<!--Uncomment if you want to enable file caching for attachments -->
|
||||||
|
<!--parameter name="cacheAttachments">true</parameter>
|
||||||
|
<parameter name="attachmentDIR"></parameter>
|
||||||
|
<parameter name="sizeThreshold">4000</parameter-->
|
||||||
|
|
||||||
|
<parameter name="EnableChildFirstClassLoading">false</parameter>
|
||||||
|
|
||||||
|
<!-- e10访问地址 域名需要替换成实际值 -->
|
||||||
|
<parameter name="httpFrontendHostUrl">http://192.168.31.244:20600</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The exposeServiceMetadata parameter decides whether the metadata (WSDL, schema, policy) of
|
||||||
|
the services deployed on Axis2 should be visible when ?wsdl, ?wsdl2, ?xsd, ?policy requests
|
||||||
|
are received.
|
||||||
|
This parameter can be defined in the axi2.xml file, in which case this will be applicable
|
||||||
|
globally, or in the services.xml files, in which case, it will be applicable to the
|
||||||
|
Service groups and/or services, depending on the level at which the parameter is declared.
|
||||||
|
This value of this parameter defaults to true.
|
||||||
|
-->
|
||||||
|
<parameter name="exposeServiceMetadata">true</parameter>
|
||||||
|
|
||||||
|
|
||||||
|
<!--Uncomment if you want to plugin your own attachments lifecycle implementation -->
|
||||||
|
<!--<attachmentsLifecycleManager class="org.apache.axiom.attachments.lifecycle.impl.LifecycleManagerImpl"/>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!--Uncomment if you want to enable the reduction of the in-memory cache of WSDL definitions -->
|
||||||
|
<!--In some server environments, the available memory heap is limited and can fill up under load -->
|
||||||
|
<!--Since in-memory copies of WSDL definitions can be large, some steps can be taken-->
|
||||||
|
<!--to reduce the memory needed for the cached WSDL definitions. -->
|
||||||
|
<!--parameter name="reduceWSDLMemoryCache">true</parameter-->
|
||||||
|
|
||||||
|
<!--This will give out the timout of the configuration contexts, in milliseconds-->
|
||||||
|
<parameter name="ConfigContextTimeoutInterval">30000</parameter>
|
||||||
|
|
||||||
|
<!--During a fault, stack trace can be sent with the fault message. The following flag will control -->
|
||||||
|
<!--that behavior.-->
|
||||||
|
<parameter name="sendStacktraceDetailsWithFaults">false</parameter>
|
||||||
|
|
||||||
|
<!--If there aren't any information available to find out the fault reason, we set the message of the exception-->
|
||||||
|
<!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be -->
|
||||||
|
<!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag-->
|
||||||
|
<!--is set, then Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
|
||||||
|
<parameter name="DrillDownToRootCauseForFaultReason">false</parameter>
|
||||||
|
|
||||||
|
<!-- <parameter name="userName">admin</parameter>-->
|
||||||
|
<!-- <parameter name="password">axis2</parameter>-->
|
||||||
|
|
||||||
|
<!--To override repository/services you need to uncomment following parameter and value SHOULD be absolute file path.-->
|
||||||
|
<!--ServicesDirectory only works on the following cases-->
|
||||||
|
<!---File based configurator and in that case the value should be a file URL (http:// not allowed)-->
|
||||||
|
<!---When creating URL Based configurator with URL file:// -->
|
||||||
|
<!--- War based configurator with expanded case , -->
|
||||||
|
|
||||||
|
<!--All the other scenarios it will be ignored.-->
|
||||||
|
<!--<parameter name="ServicesDirectory">service</parameter>-->
|
||||||
|
<!--To override repository/modules you need to uncomment following parameter and value SHOULD be absolute file path-->
|
||||||
|
<!--<parameter name="ModulesDirectory">modules</parameter>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!--Following params will set the proper context paths for invocations. All the endpoints will have a commons context-->
|
||||||
|
<!--root which can configured using the following contextRoot parameter-->
|
||||||
|
<!--<parameter name="contextRoot">axis2</parameter>-->
|
||||||
|
|
||||||
|
<!--Our HTTP endpoints can handle both REST and SOAP. Following parameters can be used to distinguiush those endpoints-->
|
||||||
|
<!--In case of a servlet, if you change this you have to manually change the settings of your servlet container to map this -->
|
||||||
|
<!--context path to proper Axis2 servlets-->
|
||||||
|
<!--<parameter name="servicePath">services</parameter>-->
|
||||||
|
<!--<parameter name="restPath">rest</parameter>-->
|
||||||
|
|
||||||
|
<!-- Following parameter will completely disable REST handling in Axis2-->
|
||||||
|
<parameter name="disableREST" locked="false">false</parameter>
|
||||||
|
|
||||||
|
<!-- Following parameter will suppress generation of SOAP 1.2 bindings in auto-generated WSDL files -->
|
||||||
|
<parameter name="disableSOAP12" locked="true">false</parameter>
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Deployers -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
|
||||||
|
<!--Service deployer , this will alow users to deploy AAR or exploded AAR as axis2 services-->
|
||||||
|
<deployer extension=".aar" directory="services" class="org.apache.axis2.deployment.ServiceDeployer">
|
||||||
|
<serviceBuilderExtension name ="jwsbuilderExt" class="org.apache.axis2.jaxws.framework.JAXWSServiceBuilderExtension"/>
|
||||||
|
<serviceBuilderExtension name ="wsdlbuilderExt" class="org.apache.axis2.deployment.WSDLServiceBuilderExtension"/>
|
||||||
|
</deployer>
|
||||||
|
|
||||||
|
<!--POJO deployer , this will alow users to drop .class file and make that into a service-->
|
||||||
|
<deployer extension=".class" directory="pojo" class="org.apache.axis2.deployment.POJODeployer"/>
|
||||||
|
<deployer extension=".jar" directory="servicejars"
|
||||||
|
class="org.apache.axis2.jaxws.framework.JAXWSDeployer"/>
|
||||||
|
<deployer extension=".jar" directory="transports"
|
||||||
|
class="org.apache.axis2.deployment.TransportDeployer"/>
|
||||||
|
|
||||||
|
<!--CORBA deployer , this will alow users to invoke remote CORBA services through Axis2-->
|
||||||
|
<!--<deployer extension=".xml" directory="corba" class="org.apache.axis2.corba.deployer.CorbaDeployer"/>-->
|
||||||
|
|
||||||
|
<!--<deployer extension=".jsa" directory="rmiservices" class="org.apache.axis2.rmi.deploy.RMIServiceDeployer"/>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Following parameter will set the host name for the epr-->
|
||||||
|
<!--<parameter name="hostname" locked="true">myhost.com</parameter>-->
|
||||||
|
|
||||||
|
<!-- If you have a front end host which exposes this webservice using a different public URL -->
|
||||||
|
<!-- use this parameter to override autodetected url -->
|
||||||
|
<!--<parameter name="httpFrontendHostUrl">https://someotherhost/context</parameter>-->
|
||||||
|
|
||||||
|
<!--By default, JAXWS services are created by reading annotations. WSDL and schema are generated-->
|
||||||
|
<!--using a separate WSDL generator only when ?wsdl is called. Therefore, even if you engage-->
|
||||||
|
<!--policies etc.. to AxisService, it doesn't appear in the WSDL. By setting the following property-->
|
||||||
|
<!--to true, you can create the AxisService using the generated WSDL and remove the need for a-->
|
||||||
|
<!--WSDL generator. When ?wsdl is called, WSDL is generated in the normal way.-->
|
||||||
|
<parameter name="useGeneratedWSDLinJAXWS">false</parameter>
|
||||||
|
|
||||||
|
<!-- The way of adding listener to the system-->
|
||||||
|
<!-- <listener class="org.apache.axis2.ObserverIMPL">-->
|
||||||
|
<!-- <parameter name="RSS_URL">http://127.0.0.1/rss</parameter>-->
|
||||||
|
<!-- </listener>-->
|
||||||
|
|
||||||
|
<threadContextMigrators>
|
||||||
|
<threadContextMigrator listId="JAXWS-ThreadContextMigrator-List"
|
||||||
|
class="org.apache.axis2.jaxws.addressing.migrator.EndpointContextMapMigrator"/>
|
||||||
|
</threadContextMigrators>
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Message Receivers -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!--This is the default MessageReceiver for the system , if you want to have MessageReceivers for -->
|
||||||
|
<!--all the other MEP implement it and add the correct entry to here , so that you can refer from-->
|
||||||
|
<!--any operation -->
|
||||||
|
<!--Note : You can override this for a particular service by adding the same element with your requirement-->
|
||||||
|
<messageReceivers>
|
||||||
|
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-only"
|
||||||
|
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
|
||||||
|
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
|
||||||
|
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
|
||||||
|
</messageReceivers>
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Message Formatter -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!--Following content type to message formatter mapping can be used to implement support for different message -->
|
||||||
|
<!--format serialization in Axis2. These message formats are expected to be resolved based on the content type. -->
|
||||||
|
<messageFormatters>
|
||||||
|
<messageFormatter contentType="application/x-www-form-urlencoded"
|
||||||
|
class="org.apache.axis2.kernel.http.XFormURLEncodedFormatter"/>
|
||||||
|
<messageFormatter contentType="multipart/form-data"
|
||||||
|
class="org.apache.axis2.kernel.http.MultipartFormDataFormatter"/>
|
||||||
|
<messageFormatter contentType="application/xml"
|
||||||
|
class="org.apache.axis2.kernel.http.ApplicationXMLFormatter"/>
|
||||||
|
<messageFormatter contentType="text/xml"
|
||||||
|
class="org.apache.axis2.kernel.http.SOAPMessageFormatter"/>
|
||||||
|
<messageFormatter contentType="application/soap+xml"
|
||||||
|
class="org.apache.axis2.kernel.http.SOAPMessageFormatter"/>
|
||||||
|
</messageFormatters>
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Message Builders -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!--Following content type to builder mapping can be used to implement support for different message -->
|
||||||
|
<!--formats in Axis2. These message formats are expected to be resolved based on the content type. -->
|
||||||
|
<messageBuilders>
|
||||||
|
<messageBuilder contentType="application/xml"
|
||||||
|
class="org.apache.axis2.builder.ApplicationXMLBuilder"/>
|
||||||
|
<messageBuilder contentType="application/x-www-form-urlencoded"
|
||||||
|
class="org.apache.axis2.builder.XFormURLEncodedBuilder"/>
|
||||||
|
<messageBuilder contentType="multipart/form-data"
|
||||||
|
class="org.apache.axis2.builder.MultipartFormDataBuilder"/>
|
||||||
|
</messageBuilders>
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Transport Ins -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<transportReceiver name="http"
|
||||||
|
class="org.apache.axis2.transport.http.SimpleHTTPServer">
|
||||||
|
<parameter name="port">8080</parameter>
|
||||||
|
<!-- Here is the complete list of supported parameters (see example settings further below):
|
||||||
|
port: the port to listen on (default 6060)
|
||||||
|
hostname: if non-null, url prefix used in reply-to endpoint references (default null)
|
||||||
|
originServer: value of http Server header in outgoing messages (default "Simple-Server/1.1")
|
||||||
|
requestTimeout: value in millis of time that requests can wait for data (default 20000)
|
||||||
|
requestTcpNoDelay: true to maximize performance and minimize latency (default true)
|
||||||
|
false to minimize bandwidth consumption by combining segments
|
||||||
|
requestCoreThreadPoolSize: number of threads available for request processing (unless queue fills up) (default 25)
|
||||||
|
requestMaxThreadPoolSize: number of threads available for request processing if queue fills up (default 150)
|
||||||
|
note that default queue never fills up: see HttpFactory
|
||||||
|
threadKeepAliveTime: time to keep threads in excess of core size alive while inactive (default 180)
|
||||||
|
note that no such threads can exist with default unbounded request queue
|
||||||
|
threadKeepAliveTimeUnit: TimeUnit of value in threadKeepAliveTime (default SECONDS) (default SECONDS)
|
||||||
|
-->
|
||||||
|
<!-- <parameter name="hostname">http://www.myApp.com/ws</parameter> -->
|
||||||
|
<!-- <parameter name="originServer">My-Server/1.1</parameter> -->
|
||||||
|
<!-- <parameter name="requestTimeout">10000</parameter> -->
|
||||||
|
<!-- <parameter name="requestTcpNoDelay">false</parameter> -->
|
||||||
|
<!-- <parameter name="requestCoreThreadPoolSize">50</parameter> -->
|
||||||
|
<!-- <parameter name="requestMaxThreadPoolSize">100</parameter> -->
|
||||||
|
<!-- <parameter name="threadKeepAliveTime">240000</parameter> -->
|
||||||
|
<!-- <parameter name="threadKeepAliveTimeUnit">MILLISECONDS</parameter> -->
|
||||||
|
</transportReceiver>
|
||||||
|
|
||||||
|
<!-- This is where you'd put custom transports. See the transports project -->
|
||||||
|
<!-- for more. http://ws.apache.org/commons/transport -->
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Transport Outs -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
|
||||||
|
<transportSender name="local"
|
||||||
|
class="org.apache.axis2.transport.local.LocalTransportSender"/>
|
||||||
|
<transportSender name="http"
|
||||||
|
class="org.apache.axis2.transport.http.impl.httpclient4.HTTPClient4TransportSender">
|
||||||
|
<parameter name="PROTOCOL">HTTP/1.1</parameter>
|
||||||
|
<parameter name="Transfer-Encoding">chunked</parameter>
|
||||||
|
|
||||||
|
<!-- If following is set to 'true', optional action part of the Content-Type will not be added to the SOAP 1.2 messages -->
|
||||||
|
<!-- <parameter name="OmitSOAP12Action">true</parameter> -->
|
||||||
|
</transportSender>
|
||||||
|
|
||||||
|
<transportSender name="https"
|
||||||
|
class="org.apache.axis2.transport.http.impl.httpclient4.HTTPClient4TransportSender">
|
||||||
|
<parameter name="PROTOCOL">HTTP/1.1</parameter>
|
||||||
|
<parameter name="Transfer-Encoding">chunked</parameter>
|
||||||
|
</transportSender>
|
||||||
|
|
||||||
|
<!-- Please enable this if you need the java transport -->
|
||||||
|
<!-- <transportSender name="java"
|
||||||
|
class="org.apache.axis2.transport.java.JavaTransportSender"/> -->
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Global Modules -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Comment this to disable Addressing -->
|
||||||
|
<!-- <module ref="addressing"/>-->
|
||||||
|
|
||||||
|
<!--Configuring module , providing parameters for modules whether they refer or not-->
|
||||||
|
<!--<moduleConfig name="addressing">-->
|
||||||
|
<!--<parameter name="addressingPara">N/A</parameter>-->
|
||||||
|
<!--</moduleConfig>-->
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Clustering -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!--
|
||||||
|
To enable clustering for this node, set the value of "enable" attribute of the "clustering"
|
||||||
|
element to "true". The initialization of a node in the cluster is handled by the class
|
||||||
|
corresponding to the "class" attribute of the "clustering" element. It is also responsible for
|
||||||
|
getting this node to join the cluster.
|
||||||
|
-->
|
||||||
|
<clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="false">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
This parameter indicates whether the cluster has to be automatically initalized
|
||||||
|
when the AxisConfiguration is built. If set to "true" the initialization will not be
|
||||||
|
done at that stage, and some other party will have to explictly initialize the cluster.
|
||||||
|
-->
|
||||||
|
<parameter name="AvoidInitiation">true</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The membership scheme used in this setup. The only values supported at the moment are
|
||||||
|
"multicast" and "wka"
|
||||||
|
|
||||||
|
1. multicast - membership is automatically discovered using multicasting
|
||||||
|
2. wka - Well-Known Address based multicasting. Membership is discovered with the help
|
||||||
|
of one or more nodes running at a Well-Known Address. New members joining a
|
||||||
|
cluster will first connect to a well-known node, register with the well-known node
|
||||||
|
and get the membership list from it. When new members join, one of the well-known
|
||||||
|
nodes will notify the others in the group. When a member leaves the cluster or
|
||||||
|
is deemed to have left the cluster, it will be detected by the Group Membership
|
||||||
|
Service (GMS) using a TCP ping mechanism.
|
||||||
|
-->
|
||||||
|
<parameter name="membershipScheme">multicast</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The clustering domain/group. Nodes in the same group will belong to the same multicast
|
||||||
|
domain. There will not be interference between nodes in different groups.
|
||||||
|
-->
|
||||||
|
<parameter name="domain">wso2.carbon.domain</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
When a Web service request is received, and processed, before the response is sent to the
|
||||||
|
client, should we update the states of all members in the cluster? If the value of
|
||||||
|
this parameter is set to "true", the response to the client will be sent only after
|
||||||
|
all the members have been updated. Obviously, this can be time consuming. In some cases,
|
||||||
|
such this overhead may not be acceptable, in which case the value of this parameter
|
||||||
|
should be set to "false"
|
||||||
|
-->
|
||||||
|
<parameter name="synchronizeAll">true</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The maximum number of times we need to retry to send a message to a particular node
|
||||||
|
before giving up and considering that node to be faulty
|
||||||
|
-->
|
||||||
|
<parameter name="maxRetries">10</parameter>
|
||||||
|
|
||||||
|
<!-- The multicast address to be used -->
|
||||||
|
<parameter name="mcastAddress">228.0.0.4</parameter>
|
||||||
|
|
||||||
|
<!-- The multicast port to be used -->
|
||||||
|
<parameter name="mcastPort">45564</parameter>
|
||||||
|
|
||||||
|
<!-- The frequency of sending membership multicast messages (in ms) -->
|
||||||
|
<parameter name="mcastFrequency">500</parameter>
|
||||||
|
|
||||||
|
<!-- The time interval within which if a member does not respond, the member will be
|
||||||
|
deemed to have left the group (in ms)
|
||||||
|
-->
|
||||||
|
<parameter name="memberDropTime">3000</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The IP address of the network interface to which the multicasting has to be bound to.
|
||||||
|
Multicasting would be done using this interface.
|
||||||
|
-->
|
||||||
|
<parameter name="mcastBindAddress">127.0.0.1</parameter>
|
||||||
|
|
||||||
|
<!-- The host name or IP address of this member -->
|
||||||
|
<parameter name="localMemberHost">127.0.0.1</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The TCP port used by this member. This is the port through which other nodes will
|
||||||
|
contact this member
|
||||||
|
-->
|
||||||
|
<parameter name="localMemberPort">4000</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Preserve message ordering. This will be done according to sender order.
|
||||||
|
-->
|
||||||
|
<parameter name="preserveMessageOrder">true</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Maintain atmost-once message processing semantics
|
||||||
|
-->
|
||||||
|
<parameter name="atmostOnceMessageSemantics">true</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Properties specific to this member
|
||||||
|
-->
|
||||||
|
<parameter name="properties">
|
||||||
|
<!-- <property name="backendServerURL" value="https://${hostName}:${httpsPort}/services/"/>-->
|
||||||
|
<property name="backendServerURL" value="https://${hostName}:${httpsPort}/"/>
|
||||||
|
<property name="mgtConsoleURL" value="https://${hostName}:${httpsPort}/"/>
|
||||||
|
</parameter>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The list of static or well-known members. These entries will only be valid if the
|
||||||
|
"membershipScheme" above is set to "wka"
|
||||||
|
-->
|
||||||
|
<members>
|
||||||
|
<member>
|
||||||
|
<hostName>127.0.0.1</hostName>
|
||||||
|
<port>4000</port>
|
||||||
|
</member>
|
||||||
|
<member>
|
||||||
|
<hostName>127.0.0.1</hostName>
|
||||||
|
<port>4001</port>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Enable the groupManagement entry if you need to run this node as a cluster manager.
|
||||||
|
Multiple application domains with different GroupManagementAgent implementations
|
||||||
|
can be defined in this section.
|
||||||
|
-->
|
||||||
|
<groupManagement enable="false">
|
||||||
|
<applicationDomain name="apache.axis2.application.domain"
|
||||||
|
description="Axis2 group"
|
||||||
|
agent="org.apache.axis2.clustering.management.DefaultGroupManagementAgent"/>
|
||||||
|
</groupManagement>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
This interface is responsible for handling management of a specific node in the cluster
|
||||||
|
The "enable" attribute indicates whether Node management has been enabled
|
||||||
|
-->
|
||||||
|
<nodeManager class="org.apache.axis2.clustering.management.DefaultNodeManager"
|
||||||
|
enable="true"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
This interface is responsible for handling state replication. The property changes in
|
||||||
|
the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
|
||||||
|
|
||||||
|
The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
|
||||||
|
suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
|
||||||
|
"*" indicates that all properties in a particular context should not be replicated.
|
||||||
|
|
||||||
|
The "enable" attribute indicates whether context replication has been enabled
|
||||||
|
-->
|
||||||
|
<stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
|
||||||
|
enable="true">
|
||||||
|
<replication>
|
||||||
|
<defaults>
|
||||||
|
<exclude name="local_*"/>
|
||||||
|
<exclude name="LOCAL_*"/>
|
||||||
|
</defaults>
|
||||||
|
<context class="org.apache.axis2.context.ConfigurationContext">
|
||||||
|
<exclude name="local_*"/>
|
||||||
|
</context>
|
||||||
|
<context class="org.apache.axis2.context.ServiceGroupContext">
|
||||||
|
<exclude name="local_*"/>
|
||||||
|
</context>
|
||||||
|
<context class="org.apache.axis2.context.ServiceContext">
|
||||||
|
<exclude name="local_*"/>
|
||||||
|
</context>
|
||||||
|
</replication>
|
||||||
|
</stateManager>
|
||||||
|
</clustering>
|
||||||
|
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<!-- Phases -->
|
||||||
|
<!-- ================================================= -->
|
||||||
|
<phaseOrder type="InFlow">
|
||||||
|
<!-- System predefined phases -->
|
||||||
|
<phase name="Transport">
|
||||||
|
<handler name="RequestURIBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
|
||||||
|
<order phase="Transport"/>
|
||||||
|
</handler>
|
||||||
|
<handler name="SOAPActionBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
|
||||||
|
<order phase="Transport"/>
|
||||||
|
</handler>
|
||||||
|
</phase>
|
||||||
|
<phase name="Addressing">
|
||||||
|
<handler name="AddressingBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
|
||||||
|
<order phase="Addressing"/>
|
||||||
|
</handler>
|
||||||
|
</phase>
|
||||||
|
<phase name="Security"/>
|
||||||
|
<phase name="PreDispatch"/>
|
||||||
|
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
|
||||||
|
<handler name="RequestURIBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
|
||||||
|
<handler name="SOAPActionBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
|
||||||
|
<handler name="RequestURIOperationDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
|
||||||
|
<handler name="SOAPMessageBodyBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
|
||||||
|
<handler name="HTTPLocationBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
|
||||||
|
<handler name="GenericProviderDispatcher"
|
||||||
|
class="org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher"/>
|
||||||
|
<handler name="MustUnderstandValidationDispatcher"
|
||||||
|
class="org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher"/>
|
||||||
|
</phase>
|
||||||
|
<phase name="RMPhase"/>
|
||||||
|
<!-- System predefined phases -->
|
||||||
|
<!-- After Postdispatch phase module author or service author can add any phase he want -->
|
||||||
|
<phase name="OperationInPhase">
|
||||||
|
<handler name="MustUnderstandChecker"
|
||||||
|
class="org.apache.axis2.jaxws.dispatchers.MustUnderstandChecker">
|
||||||
|
<order phase="OperationInPhase"/>
|
||||||
|
</handler>
|
||||||
|
</phase>
|
||||||
|
<phase name="soapmonitorPhase"/>
|
||||||
|
</phaseOrder>
|
||||||
|
<phaseOrder type="OutFlow">
|
||||||
|
<!-- user can add his own phases to this area -->
|
||||||
|
<phase name="soapmonitorPhase"/>
|
||||||
|
<phase name="OperationOutPhase"/>
|
||||||
|
<!--system predefined phase-->
|
||||||
|
<!--these phase will run irrespective of the service-->
|
||||||
|
<phase name="RMPhase"/>
|
||||||
|
<phase name="PolicyDetermination"/>
|
||||||
|
<phase name="MessageOut"/>
|
||||||
|
<phase name="Security"/>
|
||||||
|
</phaseOrder>
|
||||||
|
<phaseOrder type="InFaultFlow">
|
||||||
|
<phase name="Addressing">
|
||||||
|
<handler name="AddressingBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
|
||||||
|
<order phase="Addressing"/>
|
||||||
|
</handler>
|
||||||
|
</phase>
|
||||||
|
<phase name="Security"/>
|
||||||
|
<phase name="PreDispatch"/>
|
||||||
|
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
|
||||||
|
<handler name="RequestURIBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
|
||||||
|
<handler name="SOAPActionBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
|
||||||
|
<handler name="RequestURIOperationDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
|
||||||
|
<handler name="SOAPMessageBodyBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
|
||||||
|
<handler name="HTTPLocationBasedDispatcher"
|
||||||
|
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
|
||||||
|
<handler name="GenericProviderDispatcher"
|
||||||
|
class="org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher"/>
|
||||||
|
<handler name="MustUnderstandValidationDispatcher"
|
||||||
|
class="org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher"/>
|
||||||
|
</phase>
|
||||||
|
<phase name="RMPhase"/>
|
||||||
|
<!-- user can add his own phases to this area -->
|
||||||
|
<phase name="OperationInFaultPhase"/>
|
||||||
|
<phase name="soapmonitorPhase"/>
|
||||||
|
</phaseOrder>
|
||||||
|
<phaseOrder type="OutFaultFlow">
|
||||||
|
<!-- user can add his own phases to this area -->
|
||||||
|
<phase name="soapmonitorPhase"/>
|
||||||
|
<phase name="OperationOutFaultPhase"/>
|
||||||
|
<phase name="RMPhase"/>
|
||||||
|
<phase name="PolicyDetermination"/>
|
||||||
|
<phase name="MessageOut"/>
|
||||||
|
<phase name="Security"/>
|
||||||
|
</phaseOrder>
|
||||||
|
</axisconfig>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<serviceGroup>
|
||||||
|
<!-- axis2DemoService -->
|
||||||
|
<service name="demoService" scope="application">
|
||||||
|
<description>demoService</description>
|
||||||
|
<messageReceivers>
|
||||||
|
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
|
||||||
|
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
|
||||||
|
</messageReceivers>
|
||||||
|
<!-- 指定 SpringBeanName -->
|
||||||
|
<parameter name="SpringBeanName">demoService</parameter>
|
||||||
|
<parameter name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier</parameter>
|
||||||
|
</service>
|
||||||
|
</serviceGroup>
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\u5FAE\u670D\u52A1\u90E8\u7F72\u76F8\u5173\u5168\u5C40\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# >>>>>>>>>>>>>>>>>>>>>>>>>\u5408\u4F53\u76F8\u5173\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
# urlrewritefilter\u76F8\u5173\u914D\u7F6E
|
||||||
|
allinone.urlrewritefilter.enable=false
|
||||||
|
# \u914D\u7F6E\u7C7B\u578B
|
||||||
|
allinone.configtype=default
|
||||||
|
|
||||||
|
weaver.sentinel.purchase.enable=true
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\u5355\u4F53\u90E8\u7F72\u76F8\u5173\u5168\u5C40\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
#
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>dubbo\u76F8\u5173\u56FA\u5B9A\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
dubbo.consumer.scope=local
|
||||||
|
dubbo.provider.scope=local
|
||||||
|
dubbo.registry.register=false
|
||||||
|
dubbo.registry.address=N/A
|
||||||
|
dubbo.consumer.retries=1
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# >>>>>>>>>>>>>>>>>>>>>>>>>\u5408\u4F53\u76F8\u5173\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
# urlrewritefilter\u76F8\u5173\u914D\u7F6E
|
||||||
|
allinone.urlrewritefilter.enable=true
|
||||||
|
# \u914D\u7F6E\u7C7B\u578B
|
||||||
|
allinone.configtype=local
|
||||||
|
|
||||||
|
|
||||||
|
# >>>>>>>>>>>>>>>>>>>>>>>>>\u6A21\u5757\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
#
|
||||||
|
flowdata.shardingnum=0
|
||||||
|
weaver.cache.gateway.cominfocache.address=
|
||||||
|
formdata.database=
|
||||||
|
weaver.shardingspare.enabled=false
|
||||||
|
weaver.mybatis-plus.permission-data.sharding.flag=false
|
||||||
|
weaver.mybatis-plus.permission-data.sharding.datasource.vips=
|
||||||
|
weaver.mybatis-plus.permission-data.sharding.datasource.tag=
|
||||||
|
weaver.mybatis-plus.permission-data.sharding.datasource.table=
|
||||||
|
weaver.mybatis-plus.permission-data.sharding.datasource.size=
|
||||||
|
|
||||||
|
weaver.workflow.wfpSchema=ecology
|
||||||
|
weaver.workflow.coreSchema=ecology
|
||||||
|
weaver.workflow.dbSchema=ecology
|
||||||
|
|
||||||
|
# >>>>>>>>>>>>>>>>>>>>>>>>>\u591A\u6CE8\u518C\u4E2D\u5FC3\u548C\u914D\u7F6E\u4E2D\u5FC3<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
weaver.framework.registrycenter.enabled=false
|
||||||
|
weaver.framework.configcenter.enabled=false
|
||||||
|
|
||||||
|
weaver.sentinel.purchase.enable=false
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>\u5168\u5C40\u6027\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>weaver\u76F8\u5173\u56FA\u5B9A\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
weaver.allinone=true
|
||||||
|
env=txproduction
|
||||||
|
weaver.druid.enabled=true
|
||||||
|
# \u662F\u5426\u5F00\u542F\u91C7\u8D2D\u964D\u7EA7\u903B\u8F91\u3002\u9ED8\u8BA4\u662F
|
||||||
|
weaver.sentinel.downgrade.always.enable=true
|
||||||
|
# \u662F\u5426\u6253\u5F00\u4E8C\u5F00dubbo xml\u914D\u7F6E\u5BFC\u5165 true\u4E3A\u5F00\u542F false\u4E3A\u5173\u95ED
|
||||||
|
weaver.framework.seconddev.config.load.enabled=false
|
||||||
|
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>dubbo\u76F8\u5173\u56FA\u5B9A\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
dubbo.cloud.subscribed-services=''
|
||||||
|
dubbo.provider.proxy=jdk
|
||||||
|
|
||||||
|
#
|
||||||
|
# >>>>>>>>>>>>>>>>>>>>>>>>>spring\u76F8\u5173\u56FA\u5B9A\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
spring.profiles.active=txproduction
|
||||||
|
|
||||||
|
|
||||||
|
# >>>>>>>>>>>>>>>>>>>>>>>>>fegin\u76F8\u5173\u56FA\u5B9A\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
feign.httpclient.enabled=false
|
||||||
|
feign.hystrix.enabled=false
|
||||||
|
|
||||||
|
# >>>>>>>>>>>>>>>>>>>>>>>>>springboot \u76D1\u63A7 Actuator<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
management.endpoints.web.exposure.include=*
|
||||||
|
|
||||||
|
#
|
||||||
|
# >>>>>>>>>>>>>>>>>>>>>>>>>\u5408\u4F53\u76F8\u5173\u914D\u7F6E<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
# \u5408\u4F53\u626B\u63CF\u5305
|
||||||
|
allinone.componentscan.basepackages=com.weaver,cn.eteams.wechat
|
||||||
|
allinone.mapperscan.basepackages=com.weaver
|
||||||
|
# urlrewritefilter\u76F8\u5173\u914D\u7F6E
|
||||||
|
allinone.urlrewritefilter.urlPatterns=/*
|
||||||
|
allinone.urlrewritefilter.initParameters.logLevel=SLF4J
|
||||||
|
allinone.urlrewritefilter.initParameters.confReloadCheckInterval=10
|
||||||
|
spring.zipkin.enabled=false
|
||||||
|
spring.sleuth.enabled=false
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,26 @@
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>严禁手动修改本配置文件中的任何值!!!该文件值必须由合体工具自动生成!!!<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>严禁手动修改本配置文件中的任何值!!!该文件值必须由合体工具自动生成!!!<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
#>>>>>>>>>>>>>>>>>>>>>>>>>严禁手动修改本配置文件中的任何值!!!该文件值必须由合体工具自动生成!!!<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
#
|
||||||
|
|
||||||
|
#服务列表
|
||||||
|
merge_metadata_services=weaver-secondev-service
|
||||||
|
|
||||||
|
#项目列表
|
||||||
|
merge_metadata_projects=e10-allinone-boot-starter,weaver-allinone-optimizer,weaver-secondev
|
||||||
|
|
||||||
|
#服务名和项目的关系
|
||||||
|
merge_metadata_service_2_project_map=weaver-secondev-service>weaver-secondev
|
||||||
|
|
||||||
|
#配置中心文件列表
|
||||||
|
merge_metadata_configcenterfiles=weaver-ebuilder-installer-api.properties,weaver-limit.properties,weaver-ebuilder-common.properties,weaver-metadata-service-path-ext.properties,weaver-multipath.properties,eteams-storage-service.properties,eteams-tenantapi.properties,weaver-publish-api.properties,weaver-metadata-dubbo-provider-full.properties,weaver-crm-client-service.properties,weaver-loom-hookreg.properties,weaver-datasource-service-api.properties,weaver-publish-runtime-api.properties,weaver-common-serviceroute.properties,weaver-common-batch-bean.properties,weaver-gateway-custom-route.properties,weaver-common-security-inner-token.properties,weaver-common-cas-core.properties,weaver.properties,weaver-ebuilder-packing-api.properties,weaver-metadata-dubbo-provider-simple.properties,weaver-common-baseserver-client.properties,weaver-gateway.properties,weaver-monitor-platform.properties,weaver-common-cas-client.properties,weaver-ebuilder-tenant.properties,weaver-cache.properties,weaver-mybatis-ext.properties,weaver-sys-cross.properties,weaver-secondev-service.properties,weaver-common-excel-layout.properties,eteams-wechat.properties,weaver-mq.properties,weaver-data-permission.properties,eteams-fetion-client.properties
|
||||||
|
|
||||||
|
#merge规则,合体启动时根据规则自动处理
|
||||||
|
merge_metadata_configitem_rule_custom=weaver.swagger.basePackage,management.endpoints.web.exposure.include,redis.weaverEteamsCacheFilter,weaver.swagger.enabled,weaver.druid.enabled,weaver.cache.gateway.cominfocache.address,spring.datasource.druid.removeAbandonedTrace,weaver.permission.module-type,weaver.cache.enableFirstCache
|
||||||
|
merge_metadata_configitem_rule_likeMerge=weaver.permission.path.exclude
|
||||||
|
merge_metadata_configitem_rule_any=spring.rabbitmq.password,local.rootPath,weaver.cache.cominfocache.firstCache,weaver.datasource.tenant.url,file.storage.host,spring.datasource.druid.timeBetweenEvictionRunsMillis,weaver.datasource.eteams.url,spring.datasource.dbType,spring.datasource.driver-class-name,weaver.datasource.eteams.password,server.port,weaver.datasource.eteams.driver-class-name,spring.datasource.druid.minIdle,server.host,weaver.limitCurrent.sleepCount,storage.server,weaver.cache.eteams.firstCache.keys,weaver.datasource.ds0.name,weaver.async.channel,spring.servlet.multipart.max-file-size,weaver.cache.threadLocal.whiteList,spring.datasource.password,spring.datasource.druid.maxActive,spring.datasource.username,spring.datasource.druid.removeAbandonedTimeout,spring.datasource.url,weaver.datasource.eteams.username,spring.servlet.multipart.max-request-size,weaver.datasource.ds1.name
|
||||||
|
merge_metadata_configitem_rule_merge=weaver.mybatis-plus.self.interceptors,weaver.cas.client.url.whitelist,weaver.mybatis-plus.data.clear.whiteTables,weaver.mybatis-plus.eteams.database
|
||||||
|
|
||||||
|
#合并后的项目服务名
|
||||||
|
spring.application.name=weaver-secondev-service
|
||||||
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,10 @@
|
||||||
|
#Mapping between dubbo server service key and spring bean
|
||||||
|
rpcservice.secondev/com.weaver.loom.context.rpc.LoomRemoteHookService.ref=secondev_LoomRemoteHookService
|
||||||
|
rpcservice.esb_test/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.ref=workflow_test_service
|
||||||
|
rpcservice.Cpic_EmployeeImportTxtAction/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.ref=Cpic_EmployeeImportTxtAction
|
||||||
|
rpcservice.updateEmployeeTransferInfo_jcl/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.ref=updateEmployeeTransferInfo_jcl
|
||||||
|
#The scope configuration of dubbo server service
|
||||||
|
rpcservice.secondev/com.weaver.loom.context.rpc.LoomRemoteHookService.scope=local
|
||||||
|
rpcservice.esb_test/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.scope=local
|
||||||
|
rpcservice.Cpic_EmployeeImportTxtAction/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.scope=local
|
||||||
|
rpcservice.updateEmployeeTransferInfo_jcl/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.scope=local
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
#dubbo服务方service的scope配置
|
||||||
|
rpcservice.secondev/com.weaver.loom.context.rpc.LoomRemoteHookService.scope=local
|
||||||
|
#dubbo服务方service key与spring bean的映射
|
||||||
|
rpcservice.secondev/com.weaver.loom.context.rpc.LoomRemoteHookService.ref=secondev_LoomRemoteHookService
|
||||||
|
#dubbo服务方service key与项目的映射
|
||||||
|
rpcservice.secondev/com.weaver.loom.context.rpc.LoomRemoteHookService.project=weaver-secondev
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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:mvc="http://www.springframework.org/schema/mvc"
|
||||||
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||||
|
|
||||||
|
|
||||||
|
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
||||||
|
|
||||||
|
<mvc:default-servlet-handler/>
|
||||||
|
|
||||||
|
<!--<mvc:resources location="/build/" mapping="/build/**"/>
|
||||||
|
<mvc:resources location="/static/" mapping="/static/**"/>-->
|
||||||
|
</beans>
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?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:dubbo="http://code.alibabatech.com/schema/dubbo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
|
||||||
|
<dubbo:service ref="secondev_LoomRemoteHookService" interface="com.weaver.loom.context.rpc.LoomRemoteHookService" group="secondev" scope="${rpcservice.secondev/com.weaver.loom.context.rpc.LoomRemoteHookService.scope:local}"/>
|
||||||
|
</beans>
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?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:dubbo="http://code.alibabatech.com/schema/dubbo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
|
||||||
|
<dubbo:service ref="workflow_test_service" interface="com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface" group="esb_test" scope="${rpcservice.esb_test/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.scope:local}"/>
|
||||||
|
<dubbo:service ref="Cpic_EmployeeImportTxtAction" interface="com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface" group="Cpic_EmployeeImportTxtAction" scope="${rpcservice.Cpic_EmployeeImportTxtAction/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.scope:local}"/>
|
||||||
|
|
||||||
|
<dubbo:service ref="updateEmployeeTransferInfo_jcl" interface="com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface" group="updateEmployeeTransferInfo_jcl" scope="${rpcservice.updateEmployeeTransferInfo_jcl/com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface.scope:local}"/>
|
||||||
|
|
||||||
|
<dubbo:service ref="esbDemoAction"
|
||||||
|
interface="com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface"
|
||||||
|
group="esbDemoActionGroup" />
|
||||||
|
</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.
|
|
@ -0,0 +1,110 @@
|
||||||
|
com.weaver.common.mybatis.mybatisPathCheck.MybatispathCheckProperties
|
||||||
|
com.weaver.front.monitor.configure.properties.MonitorProperties
|
||||||
|
com.weaver.publishkit.api.config.PublishkitMappingConfig
|
||||||
|
com.weaver.em.msg.configuration.MsgInfoConfig
|
||||||
|
com.weaver.em.msg.configuration.SessionGroupConfig
|
||||||
|
com.weaver.em.base.configuration.LocalResourceConfig
|
||||||
|
com.weaver.em.msg.configuration.OpMenuConfig
|
||||||
|
com.weaver.em.base.configuration.AttrInfoFormConfig
|
||||||
|
com.weaver.em.msg.configuration.TopMsgMenuConfig
|
||||||
|
com.weaver.workflow.list.base.cfg.WflDelayCompConfig
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.EbuilderInstallerInitAppConfig
|
||||||
|
com.weaver.framework.remote.properties.RestClientProperties
|
||||||
|
com.weaver.ebuilder.common.packing.common.config.PackingSocketModeConfig
|
||||||
|
com.weaver.common.serviceroute.ServiceRouteProperties
|
||||||
|
com.weaver.em.msg.configuration.TopSearchConfig
|
||||||
|
com.weaver.file.online.config.HttpClientConfig
|
||||||
|
com.weaver.esb.setting.webhook.config.WebHookConfigurationProperties
|
||||||
|
com.weaver.intcenter.hr.config.HrSyncWebProperties
|
||||||
|
com.weaver.ebuilder.common.packing.common.config.PackPushServiceConfig
|
||||||
|
com.weaver.em.base.configuration.VersionInfoConfig
|
||||||
|
com.weaver.esb.setting.common.config.EsbNacosConfig
|
||||||
|
com.weaver.teams.online.config.WsConfig
|
||||||
|
com.weaver.em.base.configuration.EasstInfoConfig
|
||||||
|
com.weaver.em.msg.configuration.FileInfoConfig
|
||||||
|
com.weaver.ebuilder.common.packing.common.config.PackingTableControllerConfig
|
||||||
|
com.weaver.em.base.configuration.SystemConfig
|
||||||
|
com.weaver.ebuilder.datasource.api.configration.ServiceListConfig
|
||||||
|
com.weaver.em.base.configuration.EMTaskSettingConfig
|
||||||
|
com.weaver.teams.file.config.FilePreviewUsciConfig
|
||||||
|
com.weaver.em.msg.configuration.SmartEConfig
|
||||||
|
com.weaver.ebuilder.paitem.config.PaitemConfig
|
||||||
|
com.weaver.inc.common.component.httpclient.HttpClientProperties
|
||||||
|
com.weaver.em.msg.configuration.GroupInfoConfig
|
||||||
|
com.weaver.em.msg.configuration.ShareMenuConfig
|
||||||
|
com.weaver.em.msg.configuration.MsgDatamaintenanceConfig
|
||||||
|
com.weaver.em.msg.configuration.MsgInfoEnvConfig
|
||||||
|
com.weaver.datasource.utils.config.WeaverDataSourceServiceProperties
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.InstallerRollBackConfig
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.InstallerKeyReplaceConfig
|
||||||
|
com.weaver.intcenter.mail.config.IntMailNacosConfig
|
||||||
|
com.weaver.common.baseserver.config.WeaverDemotionTenantProperties
|
||||||
|
com.weaver.ebuilder.common.packing.common.config.PackingSysConfig
|
||||||
|
com.weaver.em.base.configuration.UrlInfoConfig
|
||||||
|
com.weaver.em.msg.configuration.MsgTempVarConfig
|
||||||
|
com.weaver.esb.component.workflow.config.EventWorkflowConfig
|
||||||
|
com.weaver.em.msg.configuration.BackGroundConfig
|
||||||
|
com.weaver.workflow.list.base.cfg.WflCommonConfig
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.InstallerMqTransferConfig
|
||||||
|
com.weaver.em.base.configuration.ClientVersionConfig
|
||||||
|
com.weaver.inc.mail.sync.consts.EmailSyncConfig
|
||||||
|
com.weaver.em.msg.configuration.locale.MsgFuncSettingConfig
|
||||||
|
com.weaver.framework.properties.WeaverProperties
|
||||||
|
com.weaver.em.base.configuration.NavMenuConfig
|
||||||
|
com.weaver.data.sync.config.SyncContextConfig
|
||||||
|
com.weaver.em.msg.configuration.MsgRemindConfig
|
||||||
|
com.weaver.esb.server.config.EsbMonitorConfigProperties
|
||||||
|
com.weaver.chat.config.QLNConfigProperties
|
||||||
|
com.weaver.em.base.configuration.InitInfoConfig
|
||||||
|
com.weaver.ebuilder.second.contract.config.CoEditConfig
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.InstallerConfig
|
||||||
|
com.weaver.common.mybatis.monitor.interceptor.MonitorSqlDyncConf
|
||||||
|
com.weaver.allinone.boot.webmvc.CorsProperties
|
||||||
|
com.weaver.ebuilder.common.packing.common.config.PackingPurchaseConfig
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.InstallerBatchSqlConfig
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.InstallerPurchaseConfig
|
||||||
|
com.weaver.em.base.configuration.AppShareConfig
|
||||||
|
com.weaver.framework.remote.properties.ServiceDiscoveryProperties
|
||||||
|
com.weaver.teams.file.config.FileEditUsciConfig
|
||||||
|
com.weaver.em.base.configuration.FaceConfig
|
||||||
|
com.weaver.em.msg.configuration.ImManageMenuConfig
|
||||||
|
com.weaver.ebuilder.common.packing.common.config.PublishKitConfigurationConfig
|
||||||
|
com.weaver.common.cache.laycache.properties.LayeringCacheProperties
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.InstallerUpdateConfig
|
||||||
|
com.weaver.ebuilder.datasource.api.configration.PreConfiguration
|
||||||
|
com.weaver.intunifytodo.client.engine.boot.TCEConfigBean
|
||||||
|
com.weaver.esb.setting.monitor.config.EsbMonitorConfigProperties
|
||||||
|
com.weaver.em.base.configuration.OpMenuConfig
|
||||||
|
com.weaver.ebuilder.form.ebbusinessid.entity.EbBusinessIdConfig
|
||||||
|
com.weaver.batch.config.WeaverEbatchServiceProperties
|
||||||
|
com.weaver.em.msg.configuration.MsgInfoFormConfig
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.InstallerFileConfig
|
||||||
|
com.weaver.em.msg.configuration.ChatConcurrentTestConfig
|
||||||
|
com.weaver.common.cache.laycache.properties.LayeringCacheRedisProperties
|
||||||
|
com.weaver.ebuilder.common.installer.common.config.PublishKitConfigurationConfig
|
||||||
|
com.weaver.em.msg.adapter.config.ImConfig
|
||||||
|
com.weaver.ebuilder.contract.util.ContractClauseDemoConfig
|
||||||
|
weaver.datasource.eteams-com.weaver.ebuilder.datasource.api.configration.ServiceListConfig
|
||||||
|
weaver.inc.httpclient-com.weaver.inc.common.component.httpclient.HttpClientProperties
|
||||||
|
weaver.cache-com.weaver.common.cache.laycache.properties.LayeringCacheProperties
|
||||||
|
weaver.datasource.pre-com.weaver.ebuilder.datasource.api.configration.PreConfiguration
|
||||||
|
weaver.cache.layering-cache.redis-com.weaver.common.cache.laycache.properties.LayeringCacheRedisProperties
|
||||||
|
scopedTarget.com.weaver.inc.common.util.IncParserPropertiesbean
|
||||||
|
scopedTarget.com.weaver.inc.common.util.IncAdapterPropertiesbean
|
||||||
|
scopedTarget.com.weaver.inc.common.util.IncUrlPropertiesbean
|
||||||
|
scopedTarget.com.weaver.inc.common.util.IncBizPropertiesbean
|
||||||
|
scopedTarget.com.weaver.inc.common.util.IncAsyncPropertiesbean
|
||||||
|
scopedTarget.com.weaver.inc.mail.sync.consts.EmailSyncConfigbean
|
||||||
|
actuators
|
||||||
|
wechatProperties
|
||||||
|
SmsServiceImplSenderYd
|
||||||
|
SmsServiceImplSenderYm
|
||||||
|
SmsServiceImplProviderYd
|
||||||
|
migrationProperties
|
||||||
|
serviceListConfig
|
||||||
|
SmsServiceImplSenderClMarket
|
||||||
|
SmsServiceImplSenderCl
|
||||||
|
messageSourceProperties
|
||||||
|
preConfiguration
|
||||||
|
SmsServiceImplProviderCl
|
||||||
|
diskSpaceHealthIndicatorProperties
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
insert into up_ecologyuplist (id,lable,customerId,up_package_name,merge_service_name,merge_service_version,single_service_name,single_service_version,single_project_name,content,operation_time) values (1111266850385095212,'00000001','7828013997715295675','E10TEST7828013997715295675ecologyX2025-03-14-00000001','weaver-secondev-service','1.3.9','weaver-secondev-service','1.3.10-hotfix1','weaver-secondev','解决运维平台健康检查配置地址错误导致的二开接口访问的问题',current_timestamp)
|
||||||
|
;
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
insert into up_microserviceVersion (id,single_service_name,single_service_version,single_project_name,content,operation_time) values (1111266850385095207,'weaver-secondev-service','1.3.10-hotfix1','weaver-secondev','解决运维平台健康检查配置地址错误导致的二开接口访问的问题',current_timestamp)
|
||||||
|
;
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
insert into up_ecologyuplist (id,lable,customerId,up_package_name,merge_service_name,merge_service_version,single_service_name,single_service_version,single_project_name,content,operation_time) values (1111266850385095205,'00000001','7828013997715295675','E10TEST7828013997715295675ecologyX2025-03-14-00000001','weaver-secondev-service','1.3.9','weaver-secondev-service','1.3.10','weaver-secondev','优化二开增加日历api,绩效api依赖的功能',current_timestamp)
|
||||||
|
;
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
insert into up_microserviceVersion (id,single_service_name,single_service_version,single_project_name,content,operation_time) values (1111266850385095200,'weaver-secondev-service','1.3.10','weaver-secondev','优化二开增加日历api,绩效api依赖的功能',current_timestamp)
|
||||||
|
;
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue