Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
dbecbffb
Commit
dbecbffb
authored
Apr 17, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正错误
parent
8d6be757
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
application-local.yml
byit-myth-admin/src/main/resources/application-local.yml
+4
-5
NettyPluginServerHandler.java
...m/byit/server/netty/handler/NettyPluginServerHandler.java
+1
-1
application.yml
...lugin-test-spring-boot/src/main/resources/application.yml
+1
-1
No files found.
byit-myth-admin/src/main/resources/application-local.yml
View file @
dbecbffb
...
...
@@ -50,8 +50,7 @@ myth-job:
myth
:
plugin
:
env
:
plugin_test
biz
:
byit-myth-job
port
:
8971
env
:
${myth-rpc.registry.env}
biz
:
${myth-rpc.registry.biz}
register
:
url
:
http://localhost:8080/myth-register
\ No newline at end of file
url
:
${myth-rpc.registry.address}
\ No newline at end of file
byit-plugin-core/myth-plugin-rpc-server/src/main/java/com/byit/server/netty/handler/NettyPluginServerHandler.java
View file @
dbecbffb
...
...
@@ -59,7 +59,7 @@ public class NettyPluginServerHandler extends SimpleChannelInboundHandler<Plugin
rpcResponsePacket
.
setStatus
(
true
);
rpcResponsePacket
.
setRunTime
(
endTime
-
startTime
);
rpcResponsePacket
.
setExtension
(
msg
.
getExtension
());
}
catch
(
Exception
e
){
}
catch
(
Throwable
e
){
rpcResponsePacket
.
setCode
(
"500000"
);
rpcResponsePacket
.
setMsg
(
e
.
getMessage
());
rpcResponsePacket
.
setStatus
(
false
);
...
...
demo-client/plugin-test-spring-boot/src/main/resources/application.yml
View file @
dbecbffb
...
...
@@ -3,7 +3,7 @@ server:
myth
:
plugin
:
env
:
plugin_test
env
:
huangfu
biz
:
byit-myth-job
port
:
8971
register
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment