-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(all-services): fix sonar issues in all services (#2018)
- Loading branch information
1 parent
780175c
commit 33dfa77
Showing
50 changed files
with
112 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import {extensionSuite} from '../suite/extension'; | ||
import {commandTest} from '../helper/command-test.helper'; | ||
import {Extension} from '../../commands/extension'; | ||
import {commandTest} from '../helper/command-test.helper'; | ||
import {extensionSuite} from '../suite/extension'; | ||
|
||
// sonarignore:start | ||
describe('extension', () => { | ||
extensionSuite.forEach(testCase => { | ||
commandTest(testCase, Extension); | ||
}); | ||
}); | ||
// sonarignore:end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import {scaffoldSuite} from '../suite/scaffold'; | ||
import {commandTest} from '../helper/command-test.helper'; | ||
import {Scaffold} from '../../commands/scaffold'; | ||
import {commandTest} from '../helper/command-test.helper'; | ||
import {scaffoldSuite} from '../suite/scaffold'; | ||
|
||
// sonarignore:start | ||
describe('scaffold', () => { | ||
scaffoldSuite.forEach(testCase => { | ||
commandTest(testCase, Scaffold); | ||
}); | ||
}); | ||
// sonarignore:end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import {updateSuite} from '../suite/update'; | ||
import {commandTest} from '../helper/command-test.helper'; | ||
import {Update} from '../../commands/update'; | ||
import {commandTest} from '../helper/command-test.helper'; | ||
import {updateSuite} from '../suite/update'; | ||
|
||
// sonarignore:start | ||
describe('update', () => { | ||
updateSuite.forEach(testCase => { | ||
commandTest(testCase, Update); | ||
}); | ||
}); | ||
// sonarignore:end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
{ | ||
"Bearer realm=\"Users\"": "Bearer realm=\"Users\"", | ||
"Not Found": "Not Found", | ||
"EntityNotFound": "EntityNotFound", | ||
"WorkflowVersionNotFound": "WorkflowVersionNotFound", | ||
"[{\"instancePath\"": "\"/valueB\",\"schemaPath\":\"#/properties/valueB/type\",\"keyword\":\"type\",\"params\":{\"type\":\"string\"},\"message\":\"must be string\"}]", | ||
"WorkflowNotFound": "WorkflowNotFound", | ||
"The request body is invalid. See error object `details` property for more info.": "The request body is invalid. See error object `details` property for more info.", | ||
"Client Invalid": "Client Invalid", | ||
"Token Invalid": "Token Invalid", | ||
"PasswordCannotBeChangedForExternalUser": "PasswordCannotBeChangedForExternalUser", | ||
"Required parameter token is missing!": "Required parameter token is missing!", | ||
"Password cannot be same as previous password!": "Password cannot be same as previous password!", | ||
"Token Expired": "Token Expired", | ||
"Invalid Credentials": "Invalid Credentials", | ||
"NotAllowedAccess": "NotAllowedAccess", | ||
"ReceiverNotFound": "ReceiverNotFound", | ||
"No user is found with given criteria to send notifications.": "No user is found with given criteria to send notifications.", | ||
"Entity not found": " message_files with id \"1\"", | ||
"Cannot set properties of undefined (setting 'modifiedBy')": "Cannot set properties of undefined (setting 'modifiedBy')", | ||
"Start Date Can Not Greater Then End Date": "Start Date Can Not Greater Then End Date", | ||
"Primary Calendar Not Exist": "Primary Calendar Not Exist", | ||
"Calendar Not Exist": "Calendar Not Exist", | ||
"Subscription Not exist": "Subscription Not exist", | ||
"Duplicate DayOfWeek": "Duplicate DayOfWeek", | ||
"Id in Request Body not matching with Query Parameters": "Id in Request Body not matching with Query Parameters", | ||
"Event Not Exist": "Event Not Exist", | ||
"could not update the task": "could not update the task", | ||
"Invalid API key or secret": "Invalid API key or secret", | ||
"Action prohibited.": "Action prohibited.", | ||
"Bad Request": "Bad Request", | ||
"Display Order is missing in the request": "Display Order is missing in the request", | ||
"Invalid survey Id": "Invalid survey Id", | ||
"Entity not found.": "Entity not found.", | ||
"Survey Id in path and body does not match": "Survey Id in path and body does not match", | ||
"Responder Already Added": "Responder Already Added", | ||
"Survey can not be deleted in this status": "Survey can not be deleted in this status", | ||
"Survey start date should be current date only and status should be active": "Survey start date should be current date only and status should be active", | ||
"End date can not be less than start date": "End date can not be less than start date", | ||
"Survey can not be activated without a start date": "Survey can not be activated without a start date", | ||
"Invalid value entered in name": "Invalid value entered in name", | ||
"API not found !": "API not found !" | ||
} | ||
"Bearer realm=\"Users\"": "Bearer realm=\"Users\"", | ||
"Not Found": "Not Found", | ||
"EntityNotFound": "EntityNotFound", | ||
"WorkflowVersionNotFound": "WorkflowVersionNotFound", | ||
"[{\"instancePath\"": "\"/valueB\",\"schemaPath\":\"#/properties/valueB/type\",\"keyword\":\"type\",\"params\":{\"type\":\"string\"},\"message\":\"must be string\"}]", | ||
"WorkflowNotFound": "WorkflowNotFound", | ||
"The request body is invalid. See error object `details` property for more info.": "The request body is invalid. See error object `details` property for more info.", | ||
"Client Invalid": "Client Invalid", | ||
"Token Invalid": "Token Invalid", | ||
"PasswordCannotBeChangedForExternalUser": "PasswordCannotBeChangedForExternalUser", | ||
"Required parameter token is missing!": "Required parameter token is missing!", | ||
"Password cannot be same as previous password!": "Password cannot be same as previous password!", | ||
"Token Expired": "Token Expired", | ||
"Invalid Credentials": "Invalid Credentials", | ||
"NotAllowedAccess": "NotAllowedAccess", | ||
"ReceiverNotFound": "ReceiverNotFound", | ||
"No user is found with given criteria to send notifications.": "No user is found with given criteria to send notifications.", | ||
"Entity not found": " message_files with id \"1\"", | ||
"Cannot set properties of undefined (setting 'modifiedBy')": "Cannot set properties of undefined (setting 'modifiedBy')", | ||
"Start Date Can Not Greater Then End Date": "Start Date Can Not Greater Then End Date", | ||
"Primary Calendar Not Exist": "Primary Calendar Not Exist", | ||
"Calendar Not Exist": "Calendar Not Exist", | ||
"Subscription Not exist": "Subscription Not exist", | ||
"Duplicate DayOfWeek": "Duplicate DayOfWeek", | ||
"Id in Request Body not matching with Query Parameters": "Id in Request Body not matching with Query Parameters", | ||
"Event Not Exist": "Event Not Exist", | ||
"could not update the task": "could not update the task", | ||
"Invalid API key or secret": "Invalid API key or secret", | ||
"Action prohibited.": "Action prohibited.", | ||
"Bad Request": "Bad Request", | ||
"Display Order is missing in the request": "Display Order is missing in the request", | ||
"Invalid survey Id": "Invalid survey Id", | ||
"Entity not found.": "Entity not found.", | ||
"Survey Id in path and body does not match": "Survey Id in path and body does not match", | ||
"Responder Already Added": "Responder Already Added", | ||
"Survey can not be deleted in this status": "Survey can not be deleted in this status", | ||
"Survey start date should be current date only and status should be active": "Survey start date should be current date only and status should be active", | ||
"End date can not be less than start date": "End date can not be less than start date", | ||
"Survey can not be activated without a start date": "Survey can not be activated without a start date", | ||
"Invalid value entered in name": "Invalid value entered in name", | ||
"API not found !": "API not found !" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.