alibaba / alibaba/cloud-native-app-initializer

something wrong in generating project with Alibaba Sentinel

Open
#87 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
308
Forks
107
PR merge metrics
No merged PRs in 30d

Description

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
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

Contributor guide

Open the contributing guide

Research direction

Start with the Spring Cloud Alibaba Sentinel option and generated output from https://start.aliyun.com, then trace the corresponding initializer template in this repository. Compare the generated {{basePackage}}.demos.sentinel package and com.alibaba.cloud.demo.sentinel.api contents with the expected behavior; done means the unwanted @Reference annotation and FooService class are absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.