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
6a24dfc9
Commit
6a24dfc9
authored
1 year ago
by
Radheshhathwar
Browse files
Options
Download
Patches
Plain Diff
Made changes in uploadExcel()
Removed the assessmentType
parent
54f70ae0
Gcloud_fix
1 merge request
!16
Made changes in uploadExcel()
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assessment-api/assessment-actors/src/main/scala/org/sunbird/managers/AssessmentManager.scala
+0
-5
...c/main/scala/org/sunbird/managers/AssessmentManager.scala
assessment-api/assessment-service/app/controllers/v4/QuestionController.scala
+0
-1
...sment-service/app/controllers/v4/QuestionController.scala
with
0 additions
and
6 deletions
+0
-6
assessment-api/assessment-actors/src/main/scala/org/sunbird/managers/AssessmentManager.scala
+
0
−
5
View file @
6a24dfc9
...
...
@@ -52,11 +52,6 @@ object AssessmentManager {
channelOption
.
foreach
{
channel
=>
request
.
getRequest
.
put
(
"channel"
,
channel
.
asInstanceOf
[
AnyRef
])
}
val
assessmentTypeOption
:
Option
[
String
]
=
request
.
headers
.
get
(
"assessmentType"
)
// Check if the assessmentType is present
assessmentTypeOption
.
foreach
{
assessmentType
=>
request
.
getRequest
.
put
(
"assessmentType"
,
assessmentType
.
asInstanceOf
[
AnyRef
])
}
create
(
request
,
errCode
)
}
...
...
This diff is collapsed.
Click to expand it.
assessment-api/assessment-service/app/controllers/v4/QuestionController.scala
+
0
−
1
View file @
6a24dfc9
...
...
@@ -151,7 +151,6 @@ class QuestionController @Inject()(@Named(ActorNames.QUESTION_ACTOR) questionAct
val
futures
=
questions
.
get
.
map
(
question
=>
{
val
headers
=
commonHeaders
(
request
.
headers
)
headers
.
put
(
"channel"
,
question
.
get
(
"channel"
))
headers
.
put
(
"questionType"
,
question
.
get
(
"assessmentType"
))
question
.
putAll
(
headers
)
logger
.
info
(
"put headers "
+
headers
)
logger
.
info
(
"creating question := {}"
,
questions
.
toString
)
...
...
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