Skip to content

Commit

Permalink
SELC-5619 refactor: removed Notification resend api and related class…
Browse files Browse the repository at this point in the history
…es (#619)
  • Loading branch information
empassaro authored Nov 27, 2024
1 parent 3110e40 commit a4ac1d6
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 485 deletions.
77 changes: 0 additions & 77 deletions apps/onboarding-ms/src/main/docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
} ],
"tags" : [ {
"name" : "Aggregates Controller"
}, {
"name" : "Notification Controller"
}, {
"name" : "Onboarding"
}, {
Expand Down Expand Up @@ -209,44 +207,6 @@
} ]
}
},
"/v1/notification/resend" : {
"post" : {
"tags" : [ "Notification Controller" ],
"summary" : "Resend onboarding notifications for onboarding which are retrieved given a set of filters",
"description" : "Resends notifications for all onboarding records that match the specified filter criteria. This allows administrators to trigger notification processes again for specific onboardings based on parameters such as product ID, tax code, institution ID, and more.",
"operationId" : "resendOnboardingNotifications",
"requestBody" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/OnboardingGetFilters"
}
}
}
},
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/json" : {
"schema" : {
"type" : "string"
}
}
}
},
"401" : {
"description" : "Not Authorized"
},
"403" : {
"description" : "Not Allowed"
}
},
"security" : [ {
"SecurityScheme" : [ ]
} ]
}
},
"/v1/onboarding" : {
"get" : {
"tags" : [ "Onboarding Controller" ],
Expand Down Expand Up @@ -2294,43 +2254,6 @@
}
}
},
"OnboardingGetFilters" : {
"type" : "object",
"properties" : {
"productId" : {
"type" : "string"
},
"institutionId" : {
"type" : "string"
},
"onboardingId" : {
"type" : "string"
},
"subunitCode" : {
"type" : "string"
},
"taxCode" : {
"type" : "string"
},
"status" : {
"type" : "string"
},
"from" : {
"type" : "string"
},
"to" : {
"type" : "string"
},
"page" : {
"format" : "int32",
"type" : "integer"
},
"size" : {
"format" : "int32",
"type" : "integer"
}
}
},
"OnboardingGetResponse" : {
"type" : "object",
"properties" : {
Expand Down
55 changes: 0 additions & 55 deletions apps/onboarding-ms/src/main/docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ servers:
description: Auto generated value
tags:
- name: Aggregates Controller
- name: Notification Controller
- name: Onboarding
- name: Onboarding Controller
- name: billing-portal
Expand Down Expand Up @@ -153,35 +152,6 @@ paths:
description: Not Allowed
security:
- SecurityScheme: []
/v1/notification/resend:
post:
tags:
- Notification Controller
summary: Resend onboarding notifications for onboarding which are retrieved
given a set of filters
description: "Resends notifications for all onboarding records that match the\
\ specified filter criteria. This allows administrators to trigger notification\
\ processes again for specific onboardings based on parameters such as product\
\ ID, tax code, institution ID, and more."
operationId: resendOnboardingNotifications
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/OnboardingGetFilters"
responses:
"200":
description: OK
content:
application/json:
schema:
type: string
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- SecurityScheme: []
/v1/onboarding:
get:
tags:
Expand Down Expand Up @@ -1663,31 +1633,6 @@ components:
type: string
reasonForReject:
type: string
OnboardingGetFilters:
type: object
properties:
productId:
type: string
institutionId:
type: string
onboardingId:
type: string
subunitCode:
type: string
taxCode:
type: string
status:
type: string
from:
type: string
to:
type: string
page:
format: int32
type: integer
size:
format: int32
type: integer
OnboardingGetResponse:
type: object
properties:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@ default LocalDateTime getActivatedAt(OnboardingImportContract onboardingImportCo
return onboardingImportContract.getCreatedAt();
}

@Mapping(target = "workflowType", source = "workflowType", qualifiedByName = "toWorkflowType")
@Mapping(target = "users", source = "users", qualifiedByName = "toUsers")
@Mapping(target = "createdAt", source = "createdAt", qualifiedByName = "toOffsetDateTime")
@Mapping(target = "updatedAt", source = "updatedAt", qualifiedByName = "toOffsetDateTime")
@Mapping(target = "activatedAt", source = "activatedAt", qualifiedByName = "toOffsetDateTime")
@Mapping(target = "expiringDate", source = "expiringDate", qualifiedByName = "toOffsetDateTime")
org.openapi.quarkus.onboarding_functions_json.model.Onboarding mapOnboardingForNotification(Onboarding onboarding);

@Named("toWorkflowType")
default org.openapi.quarkus.onboarding_functions_json.model.WorkflowType toWorkflowType(WorkflowType workflowType) {
if (Objects.isNull(workflowType)) {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit a4ac1d6

Please sign in to comment.