Project

General

Profile

Task #3134

Task #3132: v94.5: Show scores for results in extension based on compile and run time settings

BE: Set property in the environment property file & score setting in the setting page for the extension.

Added by Ayush Khandelwal over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Target version:
Start date:
07/18/2023
Due date:
07/18/2023
% Done:

100%

Estimated time:
2.00 h
Spent time:

Description

Score configuration for the extension:

  1. property setting should be set to true for dev and QA and false for prod. This will be set in the environments property file.
  2. server setting should be set to true by default but should be settable to false. This will be set in the server setting page i.e. QnaGenerationSetting.

So, we will never see this in prod. But, it will visible by default in QA and Dev so that we can test how accuarate our "match messages" are.

1. property setting should be set to true for dev and QA and false for prod. This will be set in the environments property file.

qa.credentialConfig.properties and dev.credentialConfig.properties
- create a property named "extension.display.score" and set the value as true

prod.credentialConfig.properties
- create a property named "extension.display.score" and set the value as false

create Variable in GlobalUtility.java named 'isExtensionDisplayScoreEnabled'.
Create a method in GlobalUtility.java named "loadExtensionConfig()", which will get the value from "extension.display.score" & set the value for isExtensionDisplayScoreEnabled.

2. server setting should be set to true by default but should be settable to false. This will be set in the server setting page i.e. QnaGenerationSetting.

Create a setting named "Display score in extension" in QNA generation -> settings page.
(display this setting for QA and dev but not for prod)
- Add one toggle button. This is for saving the 'displayScoreInExtn'. This will be the boolean value. By default, this will be 'true'.
- Add 'Set' button.

#1

Updated by Ayush Khandelwal over 1 year ago

  • Description updated (diff)
#2

Updated by Ayush Khandelwal over 1 year ago

  • Subject changed from BE: Set property in the environment property file & score setting in the setting page for the extension. to BE-v94.5: Set property in the environment property file & score setting in the setting page for the extension.
#3

Updated by Ayush Khandelwal over 1 year ago

  • Subject changed from BE-v94.5: Set property in the environment property file & score setting in the setting page for the extension. to BE: Set property in the environment property file & score setting in the setting page for the extension.
#4

Updated by Venmuhilan B over 1 year ago

  • Description updated (diff)
  • Assignee changed from Venmuhilan B to Md Shahzar
#5

Updated by Md Shahzar over 1 year ago

  • Status changed from New to In Progress
#6

Updated by Md Shahzar over 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
#7

Updated by Md Shahzar over 1 year ago

  • Status changed from Resolved to Review
  • Assignee changed from Md Shahzar to Venmuhilan B
#8

Updated by Venmuhilan B over 1 year ago

  • Assignee changed from Venmuhilan B to Ayush Khandelwal
#9

Updated by Venmuhilan B over 1 year ago

  • Status changed from Review to Feedback
  • Assignee changed from Ayush Khandelwal to Md Shahzar
#10

Updated by Ram Kordale over 1 year ago

  • Priority changed from Urgent to Immediate
#11

Updated by Md Shahzar over 1 year ago

  • Assignee changed from Md Shahzar to Venmuhilan B
#12

Updated by Venmuhilan B over 1 year ago

  • Assignee changed from Venmuhilan B to Ayush Khandelwal
#13

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from Feedback to Closed

Working as expected

Also available in: Atom PDF