Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gdyjdao
SkyWalking
提交
196354fa
S
SkyWalking
项目概览
gdyjdao
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
196354fa
编写于
2月 28, 2018
作者:
H
hanahmily
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add apm-backend-dist module
上级
022f7033
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
196 addition
and
40 deletion
+196
-40
apm-backend-dist/bin/collectorService.bat
apm-backend-dist/bin/collectorService.bat
+1
-1
apm-backend-dist/bin/collectorService.sh
apm-backend-dist/bin/collectorService.sh
+1
-1
apm-backend-dist/bin/startup.bat
apm-backend-dist/bin/startup.bat
+1
-0
apm-backend-dist/bin/startup.sh
apm-backend-dist/bin/startup.sh
+10
-0
apm-backend-dist/bin/webappService.bat
apm-backend-dist/bin/webappService.bat
+18
-0
apm-backend-dist/bin/webappService.sh
apm-backend-dist/bin/webappService.sh
+27
-0
apm-backend-dist/pom.xml
apm-backend-dist/pom.xml
+77
-0
apm-backend-dist/src/main/assembly/binary.xml
apm-backend-dist/src/main/assembly/binary.xml
+58
-0
apm-collector/apm-collector-boot/bin/startup.sh
apm-collector/apm-collector-boot/bin/startup.sh
+0
-7
apm-collector/apm-collector-boot/pom.xml
apm-collector/apm-collector-boot/pom.xml
+1
-20
apm-collector/apm-collector-boot/src/main/assembly/assembly.xml
...llector/apm-collector-boot/src/main/assembly/assembly.xml
+1
-11
pom.xml
pom.xml
+1
-0
未找到文件。
apm-
collector/apm-collector-boo
t/bin/collectorService.bat
→
apm-
backend-dis
t/bin/collectorService.bat
浏览文件 @
196354fa
...
...
@@ -6,7 +6,7 @@ set COLLECTOR_HOME=%~dp0%..
set
COLLECTOR_OPTS
=
"-Xms256M -Xmx512M -Dcollector.logDir=
%COLLECTOR_HOME%
\logs"
set
CLASSPATH
=
%COLLECTOR_HOME%
\config
;
.
;
set
CLASSPATH
=
%COLLECTOR_HOME%
\libs\
*;
%CLASSPATH%
set
CLASSPATH
=
%COLLECTOR_HOME%
\
collector
-
libs
\
*;
%CLASSPATH%
if
defined
JAVA_HOME
(
set
_EXECJAVA
=
"
%JAVA
_HOME:"
=
%
"\bin\java
...
...
apm-
collector/apm-collector-boo
t/bin/collectorService.sh
→
apm-
backend-dis
t/bin/collectorService.sh
浏览文件 @
196354fa
...
...
@@ -15,7 +15,7 @@ _RUNJAVA=${JAVA_HOME}/bin/java
[
-z
"
$JAVA_HOME
"
]
&&
_RUNJAVA
=
java
CLASSPATH
=
"
$COLLECTOR_HOME
/config:
$CLASSPATH
"
for
i
in
"
$COLLECTOR_HOME
"
/libs/
*
.jar
for
i
in
"
$COLLECTOR_HOME
"
/
collector-
libs/
*
.jar
do
CLASSPATH
=
"
$i
:
$CLASSPATH
"
done
...
...
apm-
collector/apm-collector-boo
t/bin/startup.bat
→
apm-
backend-dis
t/bin/startup.bat
浏览文件 @
196354fa
...
...
@@ -2,4 +2,5 @@
setlocal
call
"
%~dp0
"
\collectorService.bat
start
call
"
%~dp0
"
\webappService.bat
start
endlocal
apm-backend-dist/bin/startup.sh
0 → 100644
浏览文件 @
196354fa
#!/usr/bin/env sh
PRG
=
"
$0
"
PRGDIR
=
`
dirname
"
$PRG
"
`
COLLECTOR_EXE
=
collectorService.sh
WEBAPP_EXE
=
webappService.sh
exec
"
$PRGDIR
"
/
"
$COLLECTOR_EXE
"
start
exec
"
$PRGDIR
"
/
"
$COLLECTOR_EXE
"
start
apm-backend-dist/bin/webappService.bat
0 → 100644
浏览文件 @
196354fa
@echo
off
setlocal
set
WEBAPP_PROCESS_TITLE
=
Skywalking
-Webapp
set
WEBAPP_HOME
=
%~dp0
%
..
set
JARPATH
=
%WEBAPP_HOME%
\webapp
if
defined
JAVA_HOME
(
set
_EXECJAVA
=
"
%JAVA
_HOME:"
=
%
"\bin\java
)
if not defined JAVA_HOME (
echo "
JAVA_HOME
not
set
.
"
set _EXECJAVA=java
)
start "
%WEBAPP_PROCESS_TITLE%
"
%_EXECJAVA%
-jar
%JARPATH%
/skywalking-webapp.jar
endlocal
apm-backend-dist/bin/webappService.sh
0 → 100644
浏览文件 @
196354fa
#!/usr/bin/env sh
PRG
=
"
$0
"
PRGDIR
=
`
dirname
"
$PRG
"
`
[
-z
"
$WEBAPP_HOME
"
]
&&
$WEBAPP_HOME
=
`
cd
"
$PRGDIR
/.."
>
/dev/null
;
pwd
`
WEBAPP_LOG_DIR
=
"
${
$WEBAPP_HOME
}
/logs"
JAVA_OPTS
=
" -Xms256M -Xmx512M"
JAR_PATH
=
"
${
$WEBAPP_HOME
}
/webapp"
if
[
!
-d
"
${
$WEBAPP_HOME
}
/logs"
]
;
then
mkdir
-p
"
${
WEBAPP_LOG_DIR
}
"
fi
_RUNJAVA
=
${
JAVA_HOME
}
/bin/java
[
-z
"
$JAVA_HOME
"
]
&&
_RUNJAVA
=
java
eval exec
"
\"
$_RUNJAVA
\"
${
JAVA_OPTS
}
-jar
${
JAR_PATH
}
/skywalking-webapp.jar
\
2>
${
WEBAPP_LOG_DIR
}
/webapp.log 1> /dev/null &"
if
[
$?
-eq
0
]
;
then
sleep
1
echo
"Skywalking Web Application started successfully!"
else
echo
"Skywalking Web Application started failure!"
exit
1
fi
apm-backend-dist/pom.xml
0 → 100644
浏览文件 @
196354fa
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
apm
</artifactId>
<groupId>
org.apache.skywalking
</groupId>
<version>
5.0.0-alpha-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
apm-backend-dist
</artifactId>
<packaging>
pom
</packaging>
<dependencies>
<dependency>
<groupId>
org.apache.skywalking
</groupId>
<artifactId>
apm-collector-boot
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.skywalking
</groupId>
<artifactId>
apm-collector-boot
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
<build>
<finalName>
skywalking-backend
</finalName>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-assembly-plugin
</artifactId>
<executions>
<execution>
<id>
dist
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
</execution>
</executions>
<configuration>
<attach>
true
</attach>
<tarLongFileMode>
posix
</tarLongFileMode>
<runOnlyAtExecutionRoot>
false
</runOnlyAtExecutionRoot>
<descriptors>
<descriptor>
${project.basedir}/src/main/assembly/binary.xml
</descriptor>
</descriptors>
<appendAssemblyId>
false
</appendAssemblyId>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-antrun-plugin
</artifactId>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
run
</goal>
</goals>
<configuration>
<tasks>
<copy
file=
"${project.build.directory}/skywalking-backend.tar.gz"
tofile=
"${project.basedir}/../packages/skywalking-backend.tar.gz"
overwrite=
"true"
/>
<copy
file=
"${project.build.directory}/skywalking-backend.zip"
tofile=
"${project.basedir}/../packages/skywalking-backend.zip"
overwrite=
"true"
/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
apm-backend-dist/src/main/assembly/binary.xml
0 → 100644
浏览文件 @
196354fa
<!--
~ 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.
~
-->
<assembly
xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"
>
<id>
dist
</id>
<formats>
<format>
zip
</format>
<format>
tar.gz
</format>
</formats>
<fileSets>
<fileSet>
<directory>
${project.basedir}/bin
</directory>
<outputDirectory>
/bin
</outputDirectory>
<includes>
<include>
*.sh
</include>
<include>
*.bat
</include>
</includes>
<fileMode>
0755
</fileMode>
</fileSet>
<fileSet>
<directory>
${project.basedir}/../apm-collector/apm-collector-boot/target/skywalking-collector-assembly/skywalking-collector/config
</directory>
<outputDirectory>
/config
</outputDirectory>
<includes>
<include>
*.yml
</include>
<include>
*.xml
</include>
</includes>
</fileSet>
<fileSet>
<directory>
${project.basedir}/../apm-collector/apm-collector-boot/target/skywalking-collector-assembly/skywalking-collector/libs
</directory>
<outputDirectory>
/collector-libs
</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<source>
${project.basedir}/../apm-webapp/target/skywalking-webapp.jar
</source>
<outputDirectory>
/webapp
</outputDirectory>
<fileMode>
0644
</fileMode>
</file>
</files>
</assembly>
apm-collector/apm-collector-boot/bin/startup.sh
已删除
100644 → 0
浏览文件 @
022f7033
#!/usr/bin/env sh
PRG
=
"
$0
"
PRGDIR
=
`
dirname
"
$PRG
"
`
EXECUTABLE
=
collectorService.sh
exec
"
$PRGDIR
"
/
"
$EXECUTABLE
"
start
apm-collector/apm-collector-boot/pom.xml
浏览文件 @
196354fa
...
...
@@ -227,26 +227,7 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-antrun-plugin
</artifactId>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
run
</goal>
</goals>
<configuration>
<tasks>
<copy
file=
"${project.build.directory}/skywalking-collector-assembly.tar.gz"
tofile=
"${project.basedir}/../../packages/skywalking-collector.tar.gz"
overwrite=
"true"
/>
<copy
file=
"${project.build.directory}/skywalking-collector-assembly.zip"
tofile=
"${project.basedir}/../../packages/skywalking-collector.zip"
overwrite=
"true"
/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
com.spotify
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
...
...
apm-collector/apm-collector-boot/src/main/assembly/assembly.xml
浏览文件 @
196354fa
...
...
@@ -22,8 +22,7 @@
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"
>
<id>
assembly
</id>
<formats>
<format>
zip
</format>
<format>
tar.gz
</format>
<format>
dir
</format>
</formats>
<dependencySets>
<dependencySet>
...
...
@@ -32,15 +31,6 @@
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>
${project.basedir}/bin
</directory>
<outputDirectory>
/bin
</outputDirectory>
<includes>
<include>
*.sh
</include>
<include>
*.bat
</include>
</includes>
<fileMode>
0755
</fileMode>
</fileSet>
<fileSet>
<directory>
src/main/resources
</directory>
<outputDirectory>
/config
</outputDirectory>
...
...
pom.xml
浏览文件 @
196354fa
...
...
@@ -64,6 +64,7 @@
<module>
apm-collector
</module>
<module>
apm-protocol
</module>
<module>
apm-webapp
</module>
<module>
apm-backend-dist
</module>
</modules>
<packaging>
pom
</packaging>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录