api endpoints modified to replace db name to its mapped value
This commit is contained in:
parent
c1f03cdf43
commit
36529727a0
@ -26,7 +26,7 @@ import { InternalServerException } from 'src/exceptions/internalServerError.exce
|
||||
@ApiTags('Carnet Application - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('ca', 'sa')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class CarnetApplicationController {
|
||||
|
||||
constructor(private readonly carnetApplicationService: CarnetApplicationService) { }
|
||||
|
||||
@ -20,7 +20,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('HomePage - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('ca', 'sa', 'ua')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class HomePageController {
|
||||
constructor(private readonly homePageService: HomePageService) { }
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('Manage Clients - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('sa')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class ManageClientsController {
|
||||
constructor(private readonly manageClientsService: ManageClientsService) { }
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('Manage Fee - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('sa','ua')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class ManageFeeController {
|
||||
constructor(private readonly manageFeeService: ManageFeeService) { }
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ import { BadRequestException } from 'src/exceptions/badRequest.exception';
|
||||
@ApiTags('Manage Holders - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('ca', 'sa')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class ManageHoldersController {
|
||||
constructor(private readonly manageHoldersService: ManageHoldersService) { }
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('Param Table - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('sa', 'ua')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class ParamTableController {
|
||||
constructor(private readonly paramTableService: ParamTableService) { }
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('Carnet Sequence - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('sa', 'ua')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class CarnetSequenceController {
|
||||
constructor(private readonly carnetSequenceService: CarnetSequenceService) { }
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('Regions - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('sa', 'ua')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class RegionController {
|
||||
constructor(private readonly regionService: RegionService) { }
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('SPContacts - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('sa', 'ua')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class SpContactsController {
|
||||
constructor(private readonly spContactsService: SpContactsService) { }
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('SP - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('sa', 'ua')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class SpController {
|
||||
constructor(private readonly spService: SpService) { }
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
|
||||
@ApiTags('User Maintenance - Oracle')
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('ca', 'sa', 'ua')
|
||||
@Controller('oracle')
|
||||
@Controller('1')
|
||||
export class UserMaintenanceController {
|
||||
constructor(private readonly userMaintenanceService: UserMaintenanceService) { }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user