Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Melodic
melodic-upperware
Commits
dc057039
Commit
dc057039
authored
May 11, 2020
by
Marta Różańska
Browse files
adding logging
parent
9993c25f
Changes
4
Hide whitespace changes
Inline
Side-by-side
zpp-solver/genetic-solver/src/main/java/eu/melodic/upperware/genetic_solver/GeneticSolverController.java
View file @
dc057039
...
...
@@ -42,7 +42,7 @@ public class GeneticSolverController {
String
notificationUri
=
request
.
getNotificationURI
();
String
requestUuid
=
request
.
getWatermark
().
getUuid
();
int
timeLimit
=
request
.
getTimeLimit
();
log
.
info
(
"Received request:
"
+
applicationId
+
" "
+
cdoResourcePath
+
" "
+
notificationUri
+
" "
+
requestUuid
);
log
.
info
(
"Received request:
{}, {}, {}, {}, time limit: {}"
,
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
,
timeLimit
);
geneticSolverCoordinator
.
generateCPSolution
(
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
,
timeLimit
);
log
.
info
(
"Sleeping..."
);
...
...
zpp-solver/mcts-solver/src/main/java/eu/melodic/upperware/mcts_solver/MCTSSolverController.java
View file @
dc057039
...
...
@@ -42,7 +42,7 @@ public class MCTSSolverController {
String
notificationUri
=
request
.
getNotificationURI
();
String
requestUuid
=
request
.
getWatermark
().
getUuid
();
int
seconds
=
request
.
getTimeLimit
();
log
.
info
(
"Received request: {}, {}, {}, {}"
,
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
);
log
.
info
(
"Received request: {}, {}, {},
{}, time limit:
{}"
,
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
,
seconds
);
MCTSSolverCoordinator
.
generateCPSolution
(
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
,
seconds
);
log
.
info
(
"Sleeping..."
);
}
...
...
zpp-solver/node-candidates-solver/src/main/java/eu/melodic/upperware/nc_solver/NCSolverController.java
View file @
dc057039
...
...
@@ -37,7 +37,7 @@ public class NCSolverController {
String
notificationUri
=
request
.
getNotificationURI
();
String
requestUuid
=
request
.
getWatermark
().
getUuid
();
int
seconds
=
request
.
getTimeLimit
();
log
.
info
(
"Received request: {}, {}, {}, {}"
,
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
);
log
.
info
(
"Received request: {}, {}, {},
{}, time limit:
{}"
,
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
,
seconds
);
ncSolverCoordinator
.
generateCPSolution
(
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
,
seconds
);
log
.
info
(
"Sleeping..."
);
}
...
...
zpp-solver/pt-solver/src/main/java/eu/melodic/upperware/pt_solver/PTSolverController.java
View file @
dc057039
...
...
@@ -42,7 +42,7 @@ public class PTSolverController {
String
notificationUri
=
request
.
getNotificationURI
();
String
requestUuid
=
request
.
getWatermark
().
getUuid
();
int
seconds
=
request
.
getTimeLimit
();
log
.
info
(
"Received request: {} {} {} {}"
,
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
);
log
.
info
(
"Received request: {} {} {}
{}, time limit:
{}"
,
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
,
seconds
);
ptSolverCoordinator
.
generateCPSolution
(
applicationId
,
cdoResourcePath
,
notificationUri
,
requestUuid
,
seconds
);
log
.
info
(
"Sleeping..."
);
...
...
Alicja Reniewicz
@areniewicz
mentioned in commit
a918fa9e
·
May 11, 2020
mentioned in commit
a918fa9e
mentioned in commit a918fa9ef59d0a1e172e4b6f12ba7cba42b94884
Toggle commit list
Write
Preview
Supports
Markdown
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