Skip to content

[fit] Add HTTP proxy support with client-server examples#151

Merged
CodeCasterX merged 1 commit intoModelEngine-Group:3.5.xfrom
CodeCasterX:fit-enhancement-http
Jun 2, 2025
Merged

[fit] Add HTTP proxy support with client-server examples#151
CodeCasterX merged 1 commit intoModelEngine-Group:3.5.xfrom
CodeCasterX:fit-enhancement-http

Conversation

@CodeCasterX
Copy link
Member

  • Introduced a new module 07-http-client-proxy containing:
    • plugin-http-client: Client-side interfaces and controllers for testing HTTP proxy functionality
    • plugin-http-server: Server-side controllers and entities for handling HTTP requests
  • Added core HTTP proxy support in fit-builtin/plugins/fit-client-http:
    • Implemented HttpProxyCreator to generate dynamic proxies for interfaces annotated with @httpproxy
    • Introduced annotations such as @RequestAddress for defining HTTP request routing
  • Created multiple test interfaces (TestRequestAddress, TestRequestAddressClass, etc.) to demonstrate different proxy configuration strategies
  • Added configuration files (pom.xml, application.yml) and entity classes (Education) for both client and server modules
  • Enhanced the framework with support for various HTTP methods and parameter binding scenarios (headers, cookies, path variables, query parameters, form data, request body)

- Introduced a new module `07-http-client-proxy` containing:
   - `plugin-http-client`: Client-side interfaces and controllers for testing HTTP proxy functionality
   - `plugin-http-server`: Server-side controllers and entities for handling HTTP requests
- Added core HTTP proxy support in `fit-builtin/plugins/fit-client-http`:
   - Implemented HttpProxyCreator to generate dynamic proxies for interfaces annotated with @httpproxy
   - Introduced annotations such as @RequestAddress for defining HTTP request routing
- Created multiple test interfaces (TestRequestAddress, TestRequestAddressClass, etc.) to demonstrate different proxy configuration strategies
- Added configuration files (pom.xml, application.yml) and entity classes (Education) for both client and server modules
- Enhanced the framework with support for various HTTP methods and parameter binding scenarios (headers, cookies, path variables, query parameters, form data, request body)
@CodeCasterX CodeCasterX added this to the 3.5.0 milestone Jun 1, 2025
@CodeCasterX CodeCasterX requested a review from loveTsong June 1, 2025 15:10
@CodeCasterX CodeCasterX self-assigned this Jun 1, 2025
@CodeCasterX CodeCasterX added type: enhancement A general enhancement in: fit Issues in FIT modules labels Jun 1, 2025
@CodeCasterX CodeCasterX added this to Nova Jun 1, 2025
@CodeCasterX CodeCasterX merged commit f8e1ce8 into ModelEngine-Group:3.5.x Jun 2, 2025
1 check passed
@github-project-automation github-project-automation bot moved this to Done in Nova Jun 2, 2025
@CodeCasterX CodeCasterX deleted the fit-enhancement-http branch June 3, 2025 11:40
@CodeCasterX CodeCasterX linked an issue Jun 28, 2025 that may be closed by this pull request
Yager-42 pushed a commit to Yager-42/fit-framework that referenced this pull request Aug 16, 2025
…-Group#151)

- Introduced a new module `07-http-client-proxy` containing:
   - `plugin-http-client`: Client-side interfaces and controllers for testing HTTP proxy functionality
   - `plugin-http-server`: Server-side controllers and entities for handling HTTP requests
- Added core HTTP proxy support in `fit-builtin/plugins/fit-client-http`:
   - Implemented HttpProxyCreator to generate dynamic proxies for interfaces annotated with @httpproxy
   - Introduced annotations such as @RequestAddress for defining HTTP request routing
- Created multiple test interfaces (TestRequestAddress, TestRequestAddressClass, etc.) to demonstrate different proxy configuration strategies
- Added configuration files (pom.xml, application.yml) and entity classes (Education) for both client and server modules
- Enhanced the framework with support for various HTTP methods and parameter binding scenarios (headers, cookies, path variables, query parameters, form data, request body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: fit Issues in FIT modules type: enhancement A general enhancement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

提供高层次 http 客户端抽象

1 participant