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.
Description
Score configuration for the extension:
- property setting should be set to true for dev and QA and false for prod. This will be set in the environments property file.
- 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.
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.
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.
Updated by Venmuhilan B over 1 year ago
- Description updated (diff)
- Assignee changed from Venmuhilan B to Md Shahzar
Updated by Md Shahzar over 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Updated by Md Shahzar over 1 year ago
- Status changed from Resolved to Review
- Assignee changed from Md Shahzar to Venmuhilan B
Updated by Venmuhilan B over 1 year ago
- Status changed from Review to Feedback
- Assignee changed from Ayush Khandelwal to Md Shahzar
Updated by Ayush Khandelwal over 1 year ago
- Status changed from Feedback to Closed
Working as expected