Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
trismegisto-services
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
Mauro Paolo Josue Zuñiga Mallqui
trismegisto-services
Commits
519671ff
Commit
519671ff
authored
Jun 10, 2024
by
Mauro Paolo Josue Zuñiga Mallqui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT] CAMBIO 10 06 2024
parent
72a5609b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
ConsoleApi.java
...ava/web/multitask/trismegistoservices/api/ConsoleApi.java
+3
-7
WebSocketConfig.java
...multitask/trismegistoservices/config/WebSocketConfig.java
+1
-2
ExcelService.java
.../multitask/trismegistoservices/services/ExcelService.java
+0
-0
No files found.
src/main/java/web/multitask/trismegistoservices/api/ConsoleApi.java
View file @
519671ff
...
...
@@ -31,14 +31,10 @@ public class ConsoleApi {
String
line
;
while
((
line
=
reader
.
readLine
())
!=
null
)
{
output
.
append
(
line
).
append
(
"\n"
);
output
.
append
(
"\n"
).
append
(
line
);
}
int
exitCode
=
process
.
waitFor
();
return
ResponseEntity
.
ok
(
"Exit Code: "
+
exitCode
+
"\n"
+
output
.
toString
());
process
.
waitFor
();
return
ResponseEntity
.
ok
(
output
.
toString
().
replace
(
"[sudo] contraseña para wildfly: "
,
""
));
}
catch
(
IOException
|
InterruptedException
e
)
{
throw
new
RuntimeException
(
e
);
}
...
...
src/main/java/web/multitask/trismegistoservices/config/WebSocketConfig.java
View file @
519671ff
...
...
@@ -3,6 +3,7 @@ package web.multitask.trismegistoservices.config;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.messaging.simp.config.ChannelRegistration
;
import
org.springframework.messaging.simp.config.MessageBrokerRegistry
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
;
import
org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker
;
import
org.springframework.web.socket.config.annotation.StompEndpointRegistry
;
...
...
@@ -42,5 +43,4 @@ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
public
void
configureClientInboundChannel
(
ChannelRegistration
registration
)
{
registration
.
interceptors
(
authChannelInterceptorAdapter
);
}
}
\ No newline at end of file
src/main/java/web/multitask/trismegistoservices/services/ExcelService.java
View file @
519671ff
This diff is collapsed.
Click to expand it.
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