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
PaaSage
meta_solver
Commits
3e95e178
Commit
3e95e178
authored
Nov 24, 2016
by
Shirley Crompton
Browse files
Quorum patch - need to bypass the ifMetricVariableExist in CP check.
parent
d7607b7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/eu/paasage/upperware/metasolver/Orchestrator.java
View file @
3e95e178
...
...
@@ -283,6 +283,11 @@ public class Orchestrator {
for
(
String
metricId
:
this
.
metricMap
.
keySet
()){
//log.debug("... just before !CpModelTool.metricExists...");
//must keep the connection open to use CP
//24Nov2016 Quorum fix
if
(
metricId
.
contains
(
"CapacityMetric"
)){
log
.
info
(
"skipping check for Quorum"
);
continue
;
}
if
(!
CpModelTool
.
metricExists
(
metricId
,
cp
)){
log
.
info
(
metricId
+
" not in CP model, removing it ...."
);
this
.
metricMap
.
remove
(
metricId
);
//remove it
...
...
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