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
d39ed09c
Unverified
Commit
d39ed09c
authored
2 years ago
by
Anil Gupta
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Issue #CO-173 merge: Merge pull request #911 from Jayaprakash8887/release-5.2.0
Issue #CO-173 fix: Schema validation fix
parents
c8614582
b970bcf6
patch-3
knowlg-oneclick
patch-1
patch-2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ontology-engine/graph-core_2.11/src/main/scala/org/sunbird/graph/GraphService.scala
+4
-3
..._2.11/src/main/scala/org/sunbird/graph/GraphService.scala
pom.xml
+1
-1
pom.xml
with
5 additions
and
4 deletions
+5
-4
ontology-engine/graph-core_2.11/src/main/scala/org/sunbird/graph/GraphService.scala
+
4
−
3
View file @
d39ed09c
...
...
@@ -2,6 +2,7 @@ package org.sunbird.graph
import
org.sunbird.common.Platform
import
org.sunbird.common.dto.
{
Property
,
Request
,
Response
,
ResponseHandler
}
import
org.sunbird.common.exception.ResponseCode
import
org.sunbird.graph.dac.model.
{
Node
,
SearchCriteria
}
import
org.sunbird.graph.external.ExternalPropsManager
import
org.sunbird.graph.service.operation.
{
GraphAsyncOperations
,
Neo4JBoltSearchOperations
,
NodeAsyncOperations
,
SearchAsyncOperations
}
...
...
@@ -55,13 +56,13 @@ class GraphService {
}
def
readExternalProps
(
request
:
Request
,
fields
:
List
[
String
])
:
Future
[
Response
]
=
{
ExternalPropsManager
.
fetchProps
(
request
,
fields
).
map
(
res
=>
if
(
isrRelativePathEnabled
)
{
ExternalPropsManager
.
fetchProps
(
request
,
fields
).
map
(
res
=>
{
if
(
isrRelativePathEnabled
&&
res
.
getResponseCode
==
ResponseCode
.
OK
)
{
val
updatedResult
=
CSPMetaUtil
.
updateExternalAbsolutePath
(
res
.
getResult
)
val
response
=
ResponseHandler
.
OK
()
response
.
putAll
(
updatedResult
)
response
}
else
res
)
}
else
res
}
)
}
def
saveExternalProps
(
request
:
Request
)
:
Future
[
Response
]
=
{
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
1
−
1
View file @
d39ed09c
...
...
@@ -27,7 +27,7 @@
<module>
platform-core
</module>
<module>
ontology-engine
</module>
<module>
content-api
</module>
<module>
assessment-api
</module>
<!--
<module>assessment-api</module>
-->
<module>
taxonomy-api
</module>
<module>
platform-modules
</module>
<module>
search-api
</module>
...
...
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