Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicolas Seydoux
edr
Commits
829bbf3e
Commit
829bbf3e
authored
Jul 02, 2018
by
Nicolas Seydoux
Browse files
Fixed substitution typo
parent
d93d7222
Changes
1
Hide whitespace changes
Inline
Side-by-side
node/src/main/java/fr/irit/melodi/edr/model/RuleManager.java
View file @
829bbf3e
...
...
@@ -318,6 +318,7 @@ public class RuleManager {
LOGGER
.
debug
(
"Marking current node as originator"
);
query
=
this
.
queries
.
getTemplateQueries
().
get
(
"reconstruct_rule_originator"
).
substitute
(
substitution
);
// The application pust also be marked as consumer of the rule's results
substitution
.
put
(
"rule"
,
uri
);
String
retrieveOriginatorQuery
=
this
.
queries
.
getTemplateQueries
().
get
(
"get_originator"
).
substitute
(
substitution
);
Map
<
String
,
String
>
originator
=
Node
.
getInstance
().
getKBManager
().
queryModel
(
retrieveOriginatorQuery
).
get
(
0
);
substitution
.
put
(
"consumer"
,
originator
.
get
(
"originator"
));
...
...
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