Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
PS
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBizPOC_20003
PS
提交
84621eb5
提交
84621eb5
编写于
4月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibizdev提交
上级
18d3146f
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
16 行增加
和
16 行删除
+16
-16
config.xml
config.xml
+6
-6
healthcheckFeignClient.java
...va/com/ibiz/client/htsc/feign/healthcheckFeignClient.java
+10
-10
未找到文件。
config.xml
浏览文件 @
84621eb5
...
...
@@ -40,14 +40,14 @@
mvn install
cd ..
mvn install
cd ps-
app/ps-app-web
mvn clean package
-Pprod
cd ps-
boot
mvn clean package
echo
'
echo
"
$para1
"'
>
apppasswd.sh
chmod -R 777 *
setsid env SSH_ASKPASS=
'
./apppasswd.sh
'
DISPLAY=
'
none:0
'
ssh root@172.16.102.61
"
mkdir -p /ibiz/nodes/node1/
7B163728-8A01-45A9-862D-13C620F053F6
"
setsid env SSH_ASKPASS=
'
./apppasswd.sh
'
DISPLAY=
'
none:0
'
scp -r ./target/ps
-app-web.jar root@172.16.102.61:/ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6
setsid env SSH_ASKPASS=
'
./apppasswd.sh
'
DISPLAY=
'
none:0
'
ssh root@172.16.102.61
"
ps -ef | grep
'
/ibiz/nodes/node1/
7B163728-8A01-45A9-862D-13C620F053F6
'
| tr -s
'
'
|cut -d
'
'
-f2,8,9 | grep -v grep | grep
'
jar
'
| cut -d
'
'
-f1|xargs --no-run-if-empty kill -9
"
setsid env SSH_ASKPASS=
'
./apppasswd.sh
'
DISPLAY=
'
none:0
'
ssh root@172.16.102.61
"
source /etc/profile;source ~/.bash_profile; nohup java -jar -Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=128m /ibiz/nodes/node1/
7B163728-8A01-45A9-862D-13C620F053F6/ps-app-web.jar
>>
/ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6/ps_appps 应用
-`date --date=
'
0 days ago
'
+%Y-%m-%d`.log 2
>&
1
&"
setsid env SSH_ASKPASS=
'
./apppasswd.sh
'
DISPLAY=
'
none:0
'
ssh root@172.16.102.61
"
mkdir -p /ibiz/nodes/node1/
F2F47711-2592-4F2B-9C54-F0722AEA90D5
"
setsid env SSH_ASKPASS=
'
./apppasswd.sh
'
DISPLAY=
'
none:0
'
scp -r ./target/ps
.jar root@172.16.102.61:/ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5
setsid env SSH_ASKPASS=
'
./apppasswd.sh
'
DISPLAY=
'
none:0
'
ssh root@172.16.102.61
"
ps -ef | grep
'
/ibiz/nodes/node1/
F2F47711-2592-4F2B-9C54-F0722AEA90D5
'
| tr -s
'
'
|cut -d
'
'
-f2,8,9 | grep -v grep | grep
'
jar
'
| cut -d
'
'
-f1|xargs --no-run-if-empty kill -9
"
setsid env SSH_ASKPASS=
'
./apppasswd.sh
'
DISPLAY=
'
none:0
'
ssh root@172.16.102.61
"
source /etc/profile;source ~/.bash_profile; nohup java -jar -Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=128m /ibiz/nodes/node1/
F2F47711-2592-4F2B-9C54-F0722AEA90D5/ps.jar
>>
/ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5/ps_apips 服务
-`date --date=
'
0 days ago
'
+%Y-%m-%d`.log 2
>&
1
&"
</command>
</hudson.tasks.Shell>
</builders>
...
...
ps-client/ps-client-htsc/src/main/java/com/ibiz/client/htsc/feign/healthcheckFeignClient.java
浏览文件 @
84621eb5
...
...
@@ -16,43 +16,43 @@ import com.ibiz.util.SearchContext;
*/
public
interface
healthcheckFeignClient
{
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/htsc-pos-nms/api/healthchecks/select"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/select"
)
public
Page
<
healthcheckImpl
>
select
();
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/htsc-pos-nms/api/healthchecks/{healthcheckid}/getdraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/{healthcheckid}/getdraft"
)
public
healthcheckImpl
getDraft
(
@PathVariable
(
"healthcheckid"
)
String
healthcheckid
,
@RequestBody
healthcheckImpl
healthcheck
);
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/htsc-pos-nms/api/healthchecks/{healthcheckid}"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/{healthcheckid}"
)
public
Boolean
remove
(
@PathVariable
(
"healthcheckid"
)
String
healthcheckid
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/htsc-pos-nms/api/healthchecks/{healthcheckid}/checkkey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/{healthcheckid}/checkkey"
)
public
healthcheckImpl
checkKey
(
@PathVariable
(
"healthcheckid"
)
String
healthcheckid
,
@RequestBody
healthcheckImpl
healthcheck
);
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/htsc-pos-nms/api/healthchecks/{healthcheckid}"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/{healthcheckid}"
)
public
healthcheckImpl
update
(
@PathVariable
(
"healthcheckid"
)
String
healthcheckid
,
@RequestBody
healthcheckImpl
healthcheck
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/htsc-pos-nms/api/healthchecks"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/htsc-pos-nms/api
2
/healthchecks"
)
public
healthcheckImpl
create
(
@RequestBody
healthcheckImpl
healthcheck
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/htsc-pos-nms/api/healthchecks/{healthcheckid}/test"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/{healthcheckid}/test"
)
public
healthcheckImpl
test
(
@PathVariable
(
"healthcheckid"
)
String
healthcheckid
,
@RequestBody
healthcheckImpl
healthcheck
);
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/htsc-pos-nms/api/healthchecks/{healthcheckid}"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/{healthcheckid}"
)
public
healthcheckImpl
get
(
@PathVariable
(
"healthcheckid"
)
String
healthcheckid
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/htsc-pos-nms/api/healthchecks/{healthcheckid}/save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/{healthcheckid}/save"
)
public
healthcheckImpl
save
(
@PathVariable
(
"healthcheckid"
)
String
healthcheckid
,
@RequestBody
healthcheckImpl
healthcheck
);
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/htsc-pos-nms/api/healthchecks/fetchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/htsc-pos-nms/api
2
/healthchecks/fetchdefault"
)
public
Page
<
healthcheckImpl
>
fetchDefault
(
SearchContext
context
);
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录