diff --git a/internal/delivery/api/endpoint.go b/internal/delivery/api/endpoint.go index 7ca962bf..6deb8330 100644 --- a/internal/delivery/api/endpoint.go +++ b/internal/delivery/api/endpoint.go @@ -157,6 +157,7 @@ const ( // PolicyNotification GetPolicyNotifications + GetPolicyNotification // Stack GetStacks // 스택관리/조회 diff --git a/internal/route/route.go b/internal/route/route.go index cc71e4da..876fe9ed 100644 --- a/internal/route/route.go +++ b/internal/route/route.go @@ -249,6 +249,7 @@ func SetupRouter(db *gorm.DB, argoClient argowf.ArgoClient, kc keycloak.IKeycloa policyNotificationHandler := delivery.NewPolicyNotificationHandler(usecaseFactory) r.Handle(API_PREFIX+API_VERSION+"/organizations/{organizationId}/policy-notifications", customMiddleware.Handle(internalApi.GetSystemNotifications, http.HandlerFunc(policyNotificationHandler.GetPolicyNotifications))).Methods(http.MethodGet) + r.Handle(API_PREFIX+API_VERSION+"/organizations/{organizationId}/policy-notification", customMiddleware.Handle(internalApi.GetSystemNotification, http.HandlerFunc(policyNotificationHandler.GetPolicyNotification))).Methods(http.MethodGet) stackHandler := delivery.NewStackHandler(usecaseFactory) r.Handle(API_PREFIX+API_VERSION+"/organizations/{organizationId}/stacks", customMiddleware.Handle(internalApi.GetStacks, http.HandlerFunc(stackHandler.GetStacks))).Methods(http.MethodGet)