You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
If someone want to find which controller in portal implement the method com.ctrip.framework.apollo.openapi.client.ApolloOpenApiClient#createCluster, it will take some effort.
How about add some interface to make it more easier?
For example:
interface ApolloXXXOpenApi: in module apollo-openapi, user can use it directly.
class ApolloXXXOpenApiClient: in module apollo-openapi, the client's implementation of ApolloXXXOpenApi, user cannot access it.
class ApolloXXXOpenApiController: in module apollo-portal, the server's implementation of ApolloXXXOpenApi
Use this pattern, we can add more openapi faster than before?
Describe the solution you'd like
Keep the compability, add interfaces to module apollo-openapi, let controllers in module apollo-portal implement them.
Describe alternatives you've considered
It is ok to use spring-web in module apollo-openapi? We can maintain the url information in ApolloXXXOpenApi
Is your feature request related to a problem? Please describe.
If someone want to find which controller in portal implement the method
com.ctrip.framework.apollo.openapi.client.ApolloOpenApiClient#createCluster
, it will take some effort.How about add some interface to make it more easier?
For example:
ApolloXXXOpenApi
: in moduleapollo-openapi
, user can use it directly.ApolloXXXOpenApiClient
: in moduleapollo-openapi
, the client's implementation ofApolloXXXOpenApi
, user cannot access it.ApolloXXXOpenApiController
: in moduleapollo-portal
, the server's implementation ofApolloXXXOpenApi
Use this pattern, we can add more openapi faster than before?
Describe the solution you'd like
Keep the compability, add interfaces to module
apollo-openapi
, let controllers in moduleapollo-portal
implement them.Describe alternatives you've considered
It is ok to use
spring-web
in moduleapollo-openapi
? We can maintain the url information in ApolloXXXOpenApiThen the client and server can use this information, the user also can view it directly.
Drawback:
apollo-openapi
is a lower level than user's code, soapollo-openapi
cannot use spring cause it maybe conflict with user's codeThe text was updated successfully, but these errors were encountered: