alibaba / cloud-native-app-initializer

Cloud Native App Initializer is committed to providing developers with a simpler and more efficient project construction experience in the current cloud-native era.
https://start.aliyun.com
Apache License 2.0
252 stars 90 forks source link

something wrong in generating project with Alibaba Sentinel #87

Open q1angch0u opened 1 year ago

q1angch0u commented 1 year ago

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。 We recommend using English. If you are non-native English speaker, you can use the translation software.

Describe the bug When I'm generating a project with the Alibaba Sentinel, I believe the Dubbo annotation "@Reference" should not appear. Additionally, there's an unnecessary class named "FooService" present in the wrong package path "com.alibaba.cloud.demo.sentinel.api". Should I create a PR to fix it?

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://start.aliyun.com'
  2. Check in 'Spring Cloud Alibaba Sentinel'
  3. Click "Download source code"

Expected behavior

  1. The Dubbo annotation "@Reference" should not appear in "{{basePackage}}.demos.sentinel"
  2. The class named "FooService" is not needed.

Screenshots

image image

Additional context Add any other context about the problem here. e.g. start.aliyun.com website or open source version

q1angch0u commented 1 year ago

pr: https://github.com/alibaba/cloud-native-app-initializer/pull/88