wu-sheng commented on code in PR #11339:
URL: https://github.com/apache/skywalking/pull/11339#discussion_r1373175823
##########
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/management/ui/template/UITemplateInitializer.java:
##########
@@ -42,43 +44,45 @@
*/
@Slf4j
public class UITemplateInitializer {
- public static String[] UI_TEMPLATE_FOLDER = new String[] {
- Layer.MESH.name(),
- Layer.GENERAL.name(),
- Layer.OS_LINUX.name(),
- Layer.MESH_CP.name(),
- Layer.MESH_DP.name(),
- Layer.MYSQL.name(),
- Layer.POSTGRESQL.name(),
- Layer.K8S.name(),
- Layer.BROWSER.name(),
- Layer.SO11Y_OAP.name(),
- Layer.VIRTUAL_DATABASE.name(),
- Layer.VIRTUAL_CACHE.name(),
- Layer.K8S_SERVICE.name(),
- Layer.SO11Y_SATELLITE.name(),
- Layer.FAAS.name(),
- Layer.APISIX.name(),
- Layer.VIRTUAL_MQ.name(),
- Layer.AWS_EKS.name(),
- Layer.OS_WINDOWS.name(),
- Layer.AWS_S3.name(),
- Layer.AWS_DYNAMODB.name(),
- Layer.AWS_GATEWAY.name(),
- Layer.REDIS.name(),
- Layer.ELASTICSEARCH.name(),
- Layer.RABBITMQ.name(),
- Layer.MONGODB.name(),
- Layer.KAFKA.name(),
- "custom"
+ public static String[] UI_TEMPLATE_FOLDER = new String[]{
+ Layer.MESH.name(),
Review Comment:
@wankai123 We should consider a reflection to read this automatically, with
ID conflicts checking. Adding those manually every time seems a little boring.
--
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]