Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
knowledge-platform
Commits
26b1c23e
Commit
26b1c23e
authored
2 years ago
by
Jayaprakash n
Browse files
Options
Download
Plain Diff
Merge remote-tracking branch 'sunbird/release-5.2.0' into release-5.2.0
parents
aa2246cd
a9438a56
release-5.2.0
knowlg-oneclick
patch-1
patch-2
patch-3
release-5.2.0_RC2
release-5.2.0_RC1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ontology-engine/graph-core_2.11/src/main/scala/org/sunbird/graph/GraphService.scala
+2
-2
..._2.11/src/main/scala/org/sunbird/graph/GraphService.scala
with
2 additions
and
2 deletions
+2
-2
ontology-engine/graph-core_2.11/src/main/scala/org/sunbird/graph/GraphService.scala
+
2
−
2
View file @
26b1c23e
...
@@ -19,7 +19,7 @@ class GraphService {
...
@@ -19,7 +19,7 @@ class GraphService {
val
metadata
=
CSPMetaUtil
.
updateRelativePath
(
node
.
getMetadata
)
val
metadata
=
CSPMetaUtil
.
updateRelativePath
(
node
.
getMetadata
)
node
.
setMetadata
(
metadata
)
node
.
setMetadata
(
metadata
)
}
}
NodeAsyncOperations
.
addNode
(
graphId
,
node
)
NodeAsyncOperations
.
addNode
(
graphId
,
node
)
.
map
(
resNode
=>
if
(
isrRelativePathEnabled
)
CSPMetaUtil
.
updateAbsolutePath
(
resNode
)
else
resNode
)
}
}
def
upsertNode
(
graphId
:
String
,
node
:
Node
,
request
:
Request
)
:
Future
[
Node
]
=
{
def
upsertNode
(
graphId
:
String
,
node
:
Node
,
request
:
Request
)
:
Future
[
Node
]
=
{
...
@@ -27,7 +27,7 @@ class GraphService {
...
@@ -27,7 +27,7 @@ class GraphService {
val
metadata
=
CSPMetaUtil
.
updateRelativePath
(
node
.
getMetadata
)
val
metadata
=
CSPMetaUtil
.
updateRelativePath
(
node
.
getMetadata
)
node
.
setMetadata
(
metadata
)
node
.
setMetadata
(
metadata
)
}
}
NodeAsyncOperations
.
upsertNode
(
graphId
,
node
,
request
)
NodeAsyncOperations
.
upsertNode
(
graphId
,
node
,
request
)
.
map
(
resNode
=>
if
(
isrRelativePathEnabled
)
CSPMetaUtil
.
updateAbsolutePath
(
resNode
)
else
resNode
)
}
}
def
upsertRootNode
(
graphId
:
String
,
request
:
Request
)
:
Future
[
Node
]
=
{
def
upsertRootNode
(
graphId
:
String
,
request
:
Request
)
:
Future
[
Node
]
=
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets