Skip to content

Commit

Permalink
sonar issue fix with session service path change and encryption key l…
Browse files Browse the repository at this point in the history
…ocation change
  • Loading branch information
sandipkarmakar3 committed Dec 10, 2024
1 parent fd1a482 commit 576028e
Show file tree
Hide file tree
Showing 129 changed files with 134 additions and 143 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class AppHeaderComponent implements OnInit {
private telemedicineService: TelemedicineService,
public service: IotService,
private http_service: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class BeneficiaryDetailsComponent implements OnInit, DoCheck, OnDestroy {
public httpServiceService: HttpServiceService,
private beneficiaryDetailsService: BeneficiaryDetailsService,
private registrarService: RegistrarService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
private confirmationService: ConfirmationService,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class CameraDialogComponent implements OnInit, DoCheck, AfterViewInit {
public dialogRef: MatDialogRef<CameraDialogComponent>,
public httpServiceService: HttpServiceService,
private confirmationService: ConfirmationService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {
this.options = {
audio: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class HealthIdDisplayModalComponent implements OnInit, DoCheck {
private confirmationService: ConfirmationService,
private datePipe: DatePipe,
private dialogMd: MatDialog,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {
dialogRef.disableClose = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class IotcomponentComponent implements OnInit, DoCheck {
public service: IotService,
private confirmationService: ConfirmationService,
private dialog: MatDialog,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class SpecialistLoginComponent implements OnInit {
@Inject(MAT_SNACK_BAR_DATA) public data: any,
public snackBarRef: MatSnackBarRef<SpecialistLoginComponent>,
public formBuilder: FormBuilder,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class ConfirmatoryDiagnosisDirective implements OnInit, DoCheck {
private el: ElementRef,
private dialog: MatDialog,
private httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class DiagnosisSearchDirective {
private fb: FormBuilder,
private el: ElementRef,
private dialog: MatDialog,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

openDialog(): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class HttpInterceptorService implements HttpInterceptor {
private router: Router,
private confirmationService: ConfirmationService,
private http: HttpClient,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
private cookieService: CookieService,
) {}

Expand Down
2 changes: 1 addition & 1 deletion src/app/app-modules/core/services/inventory.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class InventoryService {
constructor(
@Inject(DOCUMENT) private document: any,
private confirmationService: ConfirmationService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

moveToInventory(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class DataSyncLoginComponent implements OnInit, DoCheck {
private dataSyncService: DataSyncService,
private injector: Injector,
private confirmationService: ConfirmationService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class MasterDownloadComponent implements OnInit, DoCheck {
private confirmationService: ConfirmationService,
private dataSyncService: DataSyncService,
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class DataSyncService {
}
constructor(
private http: HttpClient,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

getDataSYNCGroup() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class WorkareaComponent
private confirmationService: ConfirmationService,
private dataSyncService: DataSyncService,
private httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

syncTableGroupList: any = [];
Expand Down
2 changes: 1 addition & 1 deletion src/app/app-modules/lab/shared/services/lab.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { environment } from 'src/environments/environment';
export class LabService {
constructor(
private http: HttpClient,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

getLabWorklist() {
Expand Down
2 changes: 1 addition & 1 deletion src/app/app-modules/lab/workarea/workarea.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class WorkareaComponent
private router: Router,
private masterdataService: MasterDataService,
private labService: LabService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
private httpServiceService: HttpServiceService,
) {}

Expand Down
2 changes: 1 addition & 1 deletion src/app/app-modules/lab/worklist/worklist.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class WorklistComponent implements OnInit, OnDestroy, DoCheck {
private confirmationService: ConfirmationService,
private beneficiaryDetailsService: BeneficiaryDetailsService,
private labService: LabService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
private httpServiceService: HttpServiceService,
) {}

Expand Down
2 changes: 1 addition & 1 deletion src/app/app-modules/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class LoginComponent implements OnInit {
private dialog: MatDialog,
private authService: AuthService,
private confirmationService: ConfirmationService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
private fb: FormBuilder,
private cookieService: CookieService,
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class AncImmunizationComponent
current_language_set: any;
constructor(
private beneficiaryDetailsService: BeneficiaryDetailsService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
public httpServiceService: HttpServiceService,
) {}

Expand Down
2 changes: 1 addition & 1 deletion src/app/app-modules/nurse-doctor/anc/anc.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class AncComponent implements OnInit, OnChanges, OnDestroy, DoCheck {
private doctorService: DoctorService,
private confirmationService: ConfirmationService,
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
public beneficiaryDetailsService: BeneficiaryDetailsService,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class BeneficiaryPlatformHistoryComponent implements OnInit, DoCheck {
private doctorService: DoctorService,
public httpServiceService: HttpServiceService,
private confirmationService: ConfirmationService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
private dialog: MatDialog,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class CancerCaseRecordComponent
private beneficiaryDetailsService: BeneficiaryDetailsService,
private cameraService: CameraService,
private doctorService: DoctorService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class AncDiagnosisComponent implements OnInit, DoCheck, OnDestroy {
public httpServiceService: HttpServiceService,
private doctorService: DoctorService,
private masterdataService: MasterdataService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
public beneficiaryDetailsService: BeneficiaryDetailsService,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class CovidDiagnosisComponent implements OnInit, OnChanges, DoCheck {
private fb: FormBuilder,
public httpServiceService: HttpServiceService,
private doctorService: DoctorService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class GeneralOpdDiagnosisComponent
public httpServiceService: HttpServiceService,
private doctorService: DoctorService,
private confirmationService: ConfirmationService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class NcdCareDiagnosisComponent implements OnInit, DoCheck {
private doctorService: DoctorService,
private route: ActivatedRoute,
private confirmationService: ConfirmationService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class NcdScreeningDiagnosisComponent
private confirmationService: ConfirmationService,
private idrsScoreService: IdrsscoreService,
private nurseService: NurseService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class PncDiagnosisComponent
private beneficiaryDetailsService: BeneficiaryDetailsService,
private doctorService: DoctorService,
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

beneficiaryAge: any;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class DoctorInvestigationsComponent
private confirmationService: ConfirmationService,
private dialog: MatDialog,
private nurseService: NurseService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class FindingsComponent implements OnInit, OnDestroy, DoCheck {
private confirmationService: ConfirmationService,
public httpServiceService: HttpServiceService,
private nurseService: NurseService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {
this.formUtils = new GeneralUtils(this.fb, this.sessionstorage);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class PrescriptionComponent implements OnInit, OnDestroy, DoCheck {
private masterdataService: MasterdataService,
public httpServiceService: HttpServiceService,
private dialog: MatDialog,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class PreviousSignificiantFindingsComponent
constructor(
private doctorService: DoctorService,
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}
rowsPerPage = 5;
activePage = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class PreviousVisitDetailsComponent implements OnInit, DoCheck {
private doctorService: DoctorService,
private cameraService: CameraService,
private router: Router,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
public httpServiceService: HttpServiceService,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class TestAndRadiologyComponent implements OnInit, OnDestroy, DoCheck {
private idrsScoreService: IdrsscoreService,
public sanitizer: DomSanitizer,
private testInVitalsService: TestInVitalsService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

currentLabRowsPerPage = 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class CancerCaseSheetComponent implements OnInit, OnDestroy, DoCheck {
private route: ActivatedRoute,
private confirmationService: ConfirmationService,
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class CancerDoctorDiagnosisCaseSheetComponent
private registrarService: RegistrarService,
private confirmationService: ConfirmationService,
private masterdataService: MasterdataService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class CaseSheetComponent implements OnInit, DoCheck {
private route: ActivatedRoute,
private injector: Injector,
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class DoctorDiagnosisCaseSheetComponent
private registrarService: RegistrarService,
private confirmationService: ConfirmationService,
private masterdataService: MasterdataService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class ExaminationCaseSheetComponent

constructor(
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class GeneralCaseSheetComponent implements OnInit, OnDestroy, DoCheck {
private doctorService: DoctorService,
private route: ActivatedRoute,
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class HistoryCaseSheetComponent implements OnInit, OnChanges, DoCheck {

constructor(
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class TmFutureWorklistComponent implements OnInit, DoCheck, OnDestroy {
private beneficiaryDetailsService: BeneficiaryDetailsService,
private doctorService: DoctorService,
private dialog: MatDialog,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class DoctorWorklistComponent implements OnInit, OnDestroy, DoCheck {
private beneficiaryDetailsService: BeneficiaryDetailsService,
private doctorService: DoctorService,
private dialog: MatDialog,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class CancerExaminationComponent
private confirmationService: ConfirmationService,
private beneficiaryDetailsService: BeneficiaryDetailsService,
public httpServiceService: HttpServiceService,
private sessionstorage: SessionStorageService,
readonly sessionstorage: SessionStorageService,
) {}

ngOnInit() {
Expand Down
Loading

0 comments on commit 576028e

Please sign in to comment.