Skip to content

Commit

Permalink
Merge pull request #2384 from hongwei1/develop
Browse files Browse the repository at this point in the history
refactor/removed the api-builder endpoints
  • Loading branch information
simonredfern committed May 14, 2024
2 parents e591290 + e0ed3bf commit 0ea39c4
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 1,986 deletions.
4 changes: 1 addition & 3 deletions obp-api/src/main/scala/bootstrap/liftweb/Boot.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import code.api.ResourceDocs1_4_0.ResourceDocs300.{ResourceDocs310, ResourceDocs
import code.api.ResourceDocs1_4_0._
import code.api._
import code.api.attributedefinition.AttributeDefinition
import code.api.builder.APIBuilder_Connector
import code.api.cache.Redis
import code.api.util.APIUtil.{enableVersionIfAllowed, errorJsonResponse, getPropsValue, gitCommit}
import code.api.util._
Expand Down Expand Up @@ -454,7 +453,6 @@ class Boot extends MdcLoggable {
enableVersionIfAllowed(ApiVersion.v4_0_0)
enableVersionIfAllowed(ApiVersion.v5_0_0)
enableVersionIfAllowed(ApiVersion.v5_1_0)
enableVersionIfAllowed(ApiVersion.b1)
enableVersionIfAllowed(ApiVersion.`dynamic-endpoint`)
enableVersionIfAllowed(ApiVersion.`dynamic-entity`)

Expand Down Expand Up @@ -1089,7 +1087,7 @@ object ToSchemify {
EndpointTag,
ProductFee,
UserInitAction
)++ APIBuilder_Connector.allAPIBuilderModels
)

// start grpc server
if (APIUtil.getPropsAsBoolValue("grpc.server.enabled", false)) {
Expand Down
503 changes: 0 additions & 503 deletions obp-api/src/main/scala/code/api/APIBuilder/APIBuilder.scala

This file was deleted.

669 changes: 0 additions & 669 deletions obp-api/src/main/scala/code/api/APIBuilder/APIBuilderModel.scala

This file was deleted.

Loading

0 comments on commit 0ea39c4

Please sign in to comment.