SavitarC opened a new pull request, #1297:
URL: https://github.com/apache/dubbo-samples/pull/1297

   ## What changed
   
   - add an opt-in `dubbo-rest-spring6` Maven profile to the Spring MVC Triple 
REST sample
   - add the same profile to the Spring Security resource-server sample
   - when enabled with `-Ddubbo.rest.spring6=true`, explicitly select:
     - `dubbo-spring-boot-3-autoconfigure`
     - `dubbo-rest-spring6`
   
   ## Why
   
   apache/dubbo#16394 separates the Spring 5 and Spring 6 REST adapters and 
removes the legacy `dubbo-rest-spring` implementation from the aggregate 
`dubbo` JAR.
   
   These Spring Boot 3 samples currently depend only on 
`dubbo-spring-boot-starter`. With the candidate build from apache/dubbo#16394, 
no REST Spring adapter is present, Spring MVC request mappings are not 
registered, and the sample tests receive `404 Invoker not found` responses.
   
   The profile makes the adapter selection explicit while allowing the Dubbo 
pull request CI to test its locally built `3.3.7-SNAPSHOT` artifacts.
   
   ## Compatibility
   
   The profile is disabled by default. Normal sample builds therefore remain 
compatible with the currently released Dubbo 3.3.1, which does not provide 
`dubbo-rest-spring6`.
   
   After a Dubbo release containing `dubbo-rest-spring6` becomes the samples 
baseline, these dependencies can become unconditional and the temporary 
activation property can be removed.
   
   ## Validation
   
   - default 3.3.1 four-module reactor package passed with the profile disabled
   - effective POMs for both samples contain the two expected `3.3.7-SNAPSHOT` 
dependencies when `-Ddubbo.rest.spring6=true` is set
   - `git diff --check` passed
   
   ## Related
   
   - apache/dubbo#16394
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to