Perbaikan Service Satu sehat
This commit is contained in:
No files matched your search
@@ -8,10 +8,6 @@ import (
|
||||
"service/internal/infrastructure/config"
|
||||
"service/internal/infrastructure/transport/http/middleware"
|
||||
|
||||
antrolHttp "service/internal/infrastructure/transport/http/handlers/bpjs/antrol"
|
||||
aplicareHttp "service/internal/infrastructure/transport/http/handlers/bpjs/aplicare"
|
||||
apotekHttp "service/internal/infrastructure/transport/http/handlers/bpjs/apotek"
|
||||
vclaimHttp "service/internal/infrastructure/transport/http/handlers/bpjs/vclaim"
|
||||
authHttp "service/internal/infrastructure/transport/http/handlers/main/auth"
|
||||
healthHttp "service/internal/infrastructure/transport/http/handlers/main/health"
|
||||
roleHttp "service/internal/infrastructure/transport/http/handlers/main/master/roles"
|
||||
@@ -30,11 +26,6 @@ type ModuleHandlers struct {
|
||||
RolePages *roleHttp.RolPagesHandler
|
||||
RolePermission *roleHttp.RolPermissionHandler
|
||||
RoleMaster *roleHttp.RoleMasterHandler
|
||||
Sep *vclaimHttp.SepHandler
|
||||
Peserta *vclaimHttp.PesertaHandler
|
||||
Antrol *antrolHttp.AntrolHandler
|
||||
AplicareBed *aplicareHttp.BedHandler
|
||||
ApotekReference *apotekHttp.ReferenceHandler
|
||||
SatuSehatAuth *satuSehatRefHttp.AuthHandler
|
||||
SatuSehatPatient *satuSehatRefHttp.PatientHandler
|
||||
SatuSehatPractitioner *satuSehatRefHttp.PractitionerHandler
|
||||
@@ -154,29 +145,6 @@ func SetupRoutes(
|
||||
h.RoleMaster.RegisterRoutes(protected)
|
||||
}
|
||||
|
||||
// --- Routes Modul BPJS VClaim ---
|
||||
if h.Sep != nil {
|
||||
h.Sep.RegisterRoutes(protected)
|
||||
}
|
||||
if h.Peserta != nil {
|
||||
h.Peserta.RegisterRoutes(protected)
|
||||
}
|
||||
|
||||
// --- Routes Modul BPJS Antrol ---
|
||||
if h.Antrol != nil {
|
||||
h.Antrol.RegisterRoutes(protected)
|
||||
}
|
||||
|
||||
// --- Routes Modul BPJS Aplicares ---
|
||||
if h.AplicareBed != nil {
|
||||
h.AplicareBed.RegisterRoutes(protected)
|
||||
}
|
||||
|
||||
// --- Routes Modul BPJS Apotek ---
|
||||
if h.ApotekReference != nil {
|
||||
h.ApotekReference.RegisterRoutes(protected)
|
||||
}
|
||||
|
||||
// --- Routes Modul Satu Sehat ---
|
||||
// Buat grup khusus untuk membatasi traffic hit API ke Kemenkes
|
||||
satuSehatGroup := protected.Group("")
|
||||
|
||||
Reference in New Issue
Block a user