This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch dubbo-customized-version-main
in repository https://gitbox.apache.org/repos/asf/dubbo-initializer.git

commit 78b724fbf16fe356534c3dca552bdb808fcaafeb
Author: chickenlj <ken.lj...@gmail.com>
AuthorDate: Thu Apr 6 15:33:23 2023 +0800

    dubbo only changes
---
 .../src/main/resources/metadata.yaml               | 347 ---------------------
 .../codes/acm/java/AcmConfiguration.java.mustache  |  29 --
 .../codes/acm/java/EchoController.java.mustache    |  44 ---
 .../acm/resources/application.properties.mustache  |   3 -
 .../java/NacosConfigConfiguration.java.mustache    |  29 --
 .../resources/bootstrap.properties.mustache        |  10 -
 .../java/NacosDiscoveryConfiguration.java.mustache |  28 --
 .../resources/application.properties.mustache      |   9 -
 .../codes/sca-oss/java/OssConfig.java.mustache     |  54 ----
 .../sca-oss/java/OssDemoService.java.mustache      |  81 -----
 .../resources/application.properties.mustache      |   5 -
 .../codes/sca-oss/resources/oss-test.json.mustache |   3 -
 .../resources/application.properties.mustache      |   9 -
 .../spring-cloud-function-build-setup-aws.mustache |   8 -
 ...pring-cloud-function-build-setup-azure.mustache |   8 -
 ...ing-cloud-function-build-setup-missing.mustache |   8 -
 .../spring-cloud-netflix-maintenance-mode.mustache |  14 -
 17 files changed, 689 deletions(-)

diff --git a/initializer-generator/src/main/resources/metadata.yaml 
b/initializer-generator/src/main/resources/metadata.yaml
index fceb155..6ed9713 100644
--- a/initializer-generator/src/main/resources/metadata.yaml
+++ b/initializer-generator/src/main/resources/metadata.yaml
@@ -268,133 +268,6 @@ initializr:
         id: serialization1
         description: serialization1
         starter: false
-    - name: Alibaba Cloud
-      bom: aliyun-spring-boot
-      content:
-        - name: Alibaba Cloud RDS
-          id: sca-rds
-          description: 阿里云关系型数据库RDS(Relational Database 
Service)是一种稳定可靠、可弹性伸缩的在线数据库服务,提供容灾、备份、恢复、迁移等方面的全套解决方案,彻底解决数据库运维的烦恼。
-          groupId: com.alibaba.cloud
-          artifactId: aliyun-rds-spring-boot-starter
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://github.com/alibaba/aliyun-spring-boot/tree/master/aliyun-spring-boot-samples/aliyun-rds-spring-boot-sample
-        - name: Alibaba Cloud Redis
-          id: sca-redis
-          description: 高可靠双机热备架构及可无缝扩展的集群架构,满足高读写性能场景及容量需弹性变配的业务需求。
-          groupId: com.alibaba.cloud
-          artifactId: aliyun-redis-spring-boot-starter
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://github.com/alibaba/aliyun-spring-boot/tree/master/aliyun-spring-boot-samples/aliyun-redis-spring-boot-sample
-        - name: Alibaba Cloud OSS
-          id: sca-oss
-          description: 阿里云对象存储服务(Object Storage Service,简称 
OSS),是阿里云提供的海量、安全、低成本、高可靠的云存储服务.
-          groupId: com.alibaba.cloud
-          artifactId: aliyun-oss-spring-boot-starter
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://github.com/alibaba/aliyun-spring-boot/tree/master/aliyun-spring-boot-samples/aliyun-oss-spring-boot-sample
-        - name: Alibaba Cloud SMS
-          id: sca-sms
-          description: 覆盖全球的短信服务,友好、高效、智能的互联化通讯能力,帮助企业迅速搭建客户触达通道.
-          groupId: com.alibaba.cloud
-          artifactId: aliyun-sms-spring-boot-starter
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://github.com/alibaba/aliyun-spring-boot/tree/master/aliyun-spring-boot-samples/aliyun-sms-spring-boot-sample
-        - name: Alibaba Cloud SchedulerX
-          id: sca-schedulerx
-          description: 阿里中间件团队开发的一款分布式任务调度产品,提供秒级、精准、高可靠、高可用的定时任务调度服务.
-          groupId: com.alibaba.cloud
-          artifactId: aliyun-schedulerx-spring-boot-starter
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://github.com/alibaba/aliyun-spring-boot/tree/master/aliyun-spring-boot-samples/aliyun-schedulerx-spring-boot-sample
-    - name: Spring Cloud Alibaba
-      bom: spring-cloud-alibaba
-      compatibilityRange: "[2.0.0.RELEASE,2.6.11]"
-      content:
-        - name: Nacos Service Discovery
-          id: sca-nacos-discovery
-          description: 通过nacos实现的服务发现平台.
-          groupId: com.alibaba.cloud
-          artifactId: spring-cloud-starter-alibaba-nacos-discovery
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://spring-cloud-alibaba-group.github.io/github-pages/hoxton/en-us/index.html#_spring_cloud_alibaba_nacos_discovery
-            - rel: guide
-              href: 
https://github.com/alibaba/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/readme.md
-              description: Nacos Service Discovery Example
-        - name: Spring Cloud Alibaba Sentinel
-          id: sca-sentinel
-          description: 提供 Sentinel 自动接入和配置支持,提供 Spring 
Web/WebFlux、Feign、RestTemplate、注解等适配
-          groupId: com.alibaba.cloud
-          artifactId: spring-cloud-starter-alibaba-sentinel
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://spring-cloud-alibaba-group.github.io/github-pages/hoxton/en-us/index.html#_spring_cloud_alibaba_sentinel
-            - rel: guide
-              href: 
https://github.com/alibaba/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example
-              description: Sentinel Example
-        - name: Spring Cloud Alibaba Sentinel DataSource
-          id: sca-sentinel-datasource
-          groupId: com.alibaba.cloud
-          artifactId: spring-cloud-alibaba-sentinel-datasource
-          description: 提供 Sentinel 动态数据源接入支持,方便用户整合 Nacos 等数据源动态管理规则
-          starter: false
-        - name: Spring Cloud Alibaba Sentinel Dubbo Adapter
-          id: sca-sentinel-dubbo-adapter
-          groupId: com.alibaba.csp
-          artifactId: sentinel-apache-dubbo-adapter
-          description: 提供 Sentinel 对 Dubbo 的适配能力
-          starter: false
-        - name: Spring Cloud Alibaba Sentinel Gateway
-          id: sca-sentinel-gateway
-          groupId: com.alibaba.cloud
-          artifactId: spring-cloud-alibaba-sentinel-gateway
-          description: 提供 Sentinel 网关流控自动接入支持,目前支持 Spring Cloud Gateway 和 Zuul
-          starter: false
-        - name: Spring Cloud Alibaba Seata
-          id: sca-seata
-          description: 阿里巴巴开源产品,一个易于使用的高性能微服务分布式事务解决方案.
-          groupId: com.alibaba.cloud
-          artifactId: spring-cloud-starter-alibaba-seata
-          starter: false
-        - name: Spring Cloud Alibaba RocketMQ
-          id: sca-rocketmq
-          description: 一款开源的分布式消息系统,基于高可用分布式集群技术,提供低延时的、高可靠的消息发布与订阅服务.
-          groupId: com.alibaba.cloud
-          artifactId: spring-cloud-starter-stream-rocketmq
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://github.com/alibaba/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-docs/src/main/asciidoc-zh/rocketmq.adoc
-            - rel: guide
-              href: https://help.aliyun.com/product/29530.html
-              description: RocketMQ 文档首页
-            - rel: WebConsole
-              href: https://ons.console.aliyun.com
-              description: RocketMQ Web 控制台
-        - name: Nacos Configuration
-          id: sca-nacos-config
-          description: 通过Alibaba Nacos实现配置管理:支持分布式系统中的外部化配置、配置更改时自动刷新功能
-          groupId: com.alibaba.cloud
-          artifactId: spring-cloud-starter-alibaba-nacos-config
-          starter: false
-          links:
-            - rel: reference
-              href: 
https://spring-cloud-alibaba-group.github.io/github-pages/hoxton/en-us/index.html#_spring_cloud_alibaba_nacos_config
-            - rel: guide
-              href: 
https://github.com/alibaba/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/nacos-example/nacos-config-example
-              description: Nacos Configuration Example
     - name: Developer Tools
       content:
         - name: Arthas
@@ -1392,226 +1265,6 @@ initializr:
           links:
             - rel: reference
               href: 
https://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#data.nosql.mongodb.embedded
-    - name: Spring Cloud
-      bom: spring-cloud
-      compatibilityRange: "[2.3.0.M1,3.1.0-M1)"
-      content:
-        - name: Cloud Bootstrap
-          id: cloud-starter
-          description: Non-specific Spring Cloud features, unrelated to 
external libraries or integrations (e.g. Bootstrap context and @RefreshScope).
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-commons/docs/current/reference/html/
-        - name: Function
-          id: cloud-function
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-function-context
-          starter: false
-          description: Promotes the implementation of business logic via 
functions and supports a uniform programming model across serverless providers, 
as well as the ability to run standalone (locally or in a PaaS).
-          facets:
-            - native
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-function/docs/current/reference/html/spring-cloud-function.html
-            - rel: sample
-              href: 
https://github.com/spring-cloud/spring-cloud-function/tree/main/spring-cloud-function-samples
-              description: Various sample apps using Spring Cloud Function
-        - name: Task
-          id: cloud-task
-          description: Allows a user to develop and run short lived 
microservices using Spring Cloud. Run them locally, in the cloud, and on Spring 
Cloud Data Flow.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-task
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-task/docs/current/reference/html/
-    - name: Spring Cloud Tools
-      content:
-        - name: Open Service Broker
-          id: open-service-broker
-          compatibilityRange: "[2.0.0.RELEASE,2.7.0-M1)"
-          description: Framework for building Spring Boot apps that implement 
the Open Service Broker API, which can deliver services to applications running 
within cloud native platforms such as Cloud Foundry, Kubernetes and OpenShift.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-open-service-broker
-          mappings:
-            - compatibilityRange: "[2.3.0.M1,2.4.0-M1)"
-              version: 3.2.0
-            - compatibilityRange: "[2.4.0-M1,2.5.0-M1)"
-              version: 3.3.1
-            - compatibilityRange: "[2.5.0-M1,2.6.0-M1)"
-              version: 3.4.1
-            - compatibilityRange: "[2.6.0-M1,2.7.0-M1)"
-              version: 3.5.0
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-open-service-broker/docs/current/reference/
-            - rel: guide
-              href: 
https://github.com/spring-cloud-samples/bookstore-service-broker
-              description: Using Spring Cloud Open Service Broker
-    - name: Spring Cloud Config
-      bom: spring-cloud
-      compatibilityRange: "[2.3.0.M1,3.1.0-M1)"
-      content:
-        - name: Config Client
-          id: cloud-config-client
-          description: Client that connects to a Spring Cloud Config Server to 
fetch the application's configuration.
-          facets:
-            - native
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-config
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_client_side_usage
-              description: Config Client Quick Start
-        - name: Config Server
-          id: cloud-config-server
-          description: Central management for configuration via Git, SVN, or 
HashiCorp Vault.
-          facets:
-            - native
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-config-server
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_spring_cloud_config_server
-            - rel: guide
-              href: https://spring.io/guides/gs/centralized-configuration/
-              description: Centralized Configuration
-        - name: Vault Configuration
-          id: cloud-starter-vault-config
-          description: Provides client-side support for externalized 
configuration in a distributed system. Using HashiCorp's Vault you have a 
central place to manage external secret properties for applications across all 
environments.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-vault-config
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-vault/docs/current/reference/html/#client-side-usage
-              description: Vault Client Quick Start
-        - name: Apache Zookeeper Configuration
-          id: cloud-starter-zookeeper-config
-          description: Enable and configure common patterns inside your 
application and build large distributed systems with Apache Zookeeper based 
components. The provided patterns include Service Discovery and Configuration.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-zookeeper-config
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-zookeeper/docs/current/reference/html/#distributed-configuration-usage
-              description: Apache Zookeeper Quick Start
-        - name: Consul Configuration
-          id: cloud-starter-consul-config
-          description: Enable and configure the common patterns inside your 
application and build large distributed systems with Hashicorp’s Consul. The 
patterns provided include Service Discovery, Distributed Configuration and 
Control Bus.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-consul-config
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-consul/docs/current/reference/html/#distributed-configuration-usage
-              description: Spring Cloud Consul Quick Start
-    - name: Spring Cloud Discovery
-      bom: spring-cloud
-      compatibilityRange: "[2.3.0.M1,3.1.0-M1)"
-      content:
-        - name: Eureka Discovery Client
-          id: cloud-eureka
-          compatibilityRange: "[2.3.0.M1,3.1.0-M1)"
-          description: A REST based service for locating services for the 
purpose of load balancing and failover of middle-tier servers.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-netflix-eureka-client
-          links:
-            - rel: guide
-              href: 
https://spring.io/guides/gs/service-registration-and-discovery/
-              description: Service Registration and Discovery with Eureka and 
Spring Cloud
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-netflix/docs/current/reference/html/#service-discovery-eureka-clients
-          mappings:
-            - compatibilityRange: "[3.0.0-M1,3.1.0-M1)"
-              repository: netflix-candidates
-        - name: Eureka Server
-          id: cloud-eureka-server
-          compatibilityRange: "[2.3.0.M1,3.1.0-M1)"
-          description: spring-cloud-netflix Eureka Server.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-netflix-eureka-server
-          links:
-            - rel: guide
-              href: 
https://spring.io/guides/gs/service-registration-and-discovery/
-              description: Service Registration and Discovery with Eureka and 
Spring Cloud
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-netflix/docs/current/reference/html/#spring-cloud-eureka-server
-          mappings:
-            - compatibilityRange: "[3.0.0-M1,3.1.0-M1)"
-              repository: netflix-candidates
-        - name: Apache Zookeeper Discovery
-          id: cloud-starter-zookeeper-discovery
-          description: Service discovery with Apache Zookeeper.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-zookeeper-discovery
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-zookeeper/docs/current/reference/html/#spring-cloud-zookeeper-discovery
-        - name: Cloud Foundry Discovery
-          id: cloud-cloudfoundry-discovery
-          compatibilityRange: "[2.3.0.M1,3.0.0-M1)"
-          description: Service discovery with Cloud Foundry.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-cloudfoundry-discovery
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-cloudfoundry/docs/current/reference/html/
-        - name: Consul Discovery
-          id: cloud-starter-consul-discovery
-          description: Service discovery with Hashicorp Consul.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-consul-discovery
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-consul/docs/current/reference/html/#spring-cloud-consul-discovery
-    - name: Spring Cloud Routing
-      bom: spring-cloud
-      compatibilityRange: "[2.3.0.M1,3.1.0-M1)"
-      content:
-        - name: Gateway
-          id: cloud-gateway
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-gateway
-          description: Provides a simple, yet effective way to route to APIs 
and provide cross cutting concerns to them such as security, 
monitoring/metrics, and resiliency.
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/
-            - rel: guide
-              href: 
https://github.com/spring-cloud-samples/spring-cloud-gateway-sample
-              description: Using Spring Cloud Gateway
-        - name: OpenFeign
-          id: cloud-feign
-          description: Declarative REST Client. OpenFeign creates a dynamic 
implementation of an interface decorated with JAX-RS or Spring MVC annotations.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-openfeign
-          links:
-            - rel: sample
-              href: https://github.com/spring-cloud-samples/feign-eureka
-              description: Declarative REST calls with Spring Cloud OpenFeign 
sample
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-openfeign/docs/current/reference/html/
-        - name: Cloud LoadBalancer
-          id: cloud-loadbalancer
-          description: Client-side load-balancing with Spring Cloud 
LoadBalancer.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-loadbalancer
-          links:
-            - rel: guide
-              href: https://spring.io/guides/gs/spring-cloud-loadbalancer/
-              description: Client-side load-balancing with Spring Cloud 
LoadBalancer
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-commons/docs/current/reference/html/#spring-cloud-loadbalancer
-    - name: Spring Cloud Circuit Breaker
-      bom: spring-cloud
-      compatibilityRange: "[2.3.0.M1,3.1.0-M1)"
-      content:
-        - name: Resilience4J
-          id: cloud-resilience4j
-          description: Spring Cloud Circuit breaker with Resilience4j as the 
underlying implementation.
-          groupId: org.springframework.cloud
-          artifactId: spring-cloud-starter-circuitbreaker-resilience4j
-          links:
-            - rel: reference
-              href: 
https://docs.spring.io/spring-cloud-circuitbreaker/docs/current/reference/html/#configuring-resilience4j-circuit-breakers
     - name: Spring Cloud Messaging
       bom: spring-cloud
       compatibilityRange: "[2.3.0.M1,3.1.0-M1)"
diff --git 
a/initializer-generator/src/main/resources/templates/codes/acm/java/AcmConfiguration.java.mustache
 
b/initializer-generator/src/main/resources/templates/codes/acm/java/AcmConfiguration.java.mustache
deleted file mode 100644
index d743a2c..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/acm/java/AcmConfiguration.java.mustache
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2013-2018 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package {{basePackage}}.demos.acm;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-
-/**
- * @author xiaolongzuo
- */
-@Configuration
-@EnableDiscoveryClient
-public class AcmConfiguration {
-
-}
diff --git 
a/initializer-generator/src/main/resources/templates/codes/acm/java/EchoController.java.mustache
 
b/initializer-generator/src/main/resources/templates/codes/acm/java/EchoController.java.mustache
deleted file mode 100644
index 32884f0..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/acm/java/EchoController.java.mustache
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright 2013-2018 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package {{basePackage}}.demos.acm;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.cloud.context.config.annotation.RefreshScope;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * @author xiaolongzuo
- */
-@RestController
-@RefreshScope
-public class EchoController {
-
-       private static final Logger LOGGER = 
LoggerFactory.getLogger(EchoController.class);
-
-       @Value("${user.id}")
-       private String userId;
-
-       @RequestMapping("/")
-       public String echo() {
-               LOGGER.info("User id is " + userId);
-               return userId;
-       }
-
-}
diff --git 
a/initializer-generator/src/main/resources/templates/codes/acm/resources/application.properties.mustache
 
b/initializer-generator/src/main/resources/templates/codes/acm/resources/application.properties.mustache
deleted file mode 100644
index 50e0352..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/acm/resources/application.properties.mustache
+++ /dev/null
@@ -1,3 +0,0 @@
-spring.cloud.alicloud.acm.server-list=127.0.0.1
-spring.cloud.alicloud.acm.server-port=8080
-
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-nacos-config/java/NacosConfigConfiguration.java.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-nacos-config/java/NacosConfigConfiguration.java.mustache
deleted file mode 100644
index 147bde1..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-nacos-config/java/NacosConfigConfiguration.java.mustache
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package {{basePackage}}.nacosconfig;
-
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * @author <a href="mailto:chenxil...@gmail.com";>theonefx</a>
- */
-@EnableAutoConfiguration
-@Configuration
-public class NacosConfigConfiguration {
-}
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-nacos-config/resources/bootstrap.properties.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-nacos-config/resources/bootstrap.properties.mustache
deleted file mode 100644
index 429e3de..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-nacos-config/resources/bootstrap.properties.mustache
+++ /dev/null
@@ -1,10 +0,0 @@
-# Nacos帮助文档: https://nacos.io/zh-cn/docs/concepts.html
-# Nacos认证信息
-spring.cloud.nacos.config.username=nacos
-spring.cloud.nacos.config.password=nacos
-spring.cloud.nacos.config.contextPath=/nacos
-# 设置配置中心服务端地址
-spring.cloud.nacos.config.server-addr=mse-6d50f4f0-p.nacos-ans.mse.aliyuncs.com:8848
-# Nacos 配置中心的namespace。需要注意,如果使用 public 的 namcespace ,请不要填写这个值,直接留空即可
-# spring.cloud.nacos.config.namespace=
-
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-nacos-discovery/java/NacosDiscoveryConfiguration.java.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-nacos-discovery/java/NacosDiscoveryConfiguration.java.mustache
deleted file mode 100644
index 42d100c..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-nacos-discovery/java/NacosDiscoveryConfiguration.java.mustache
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package {{basePackage}}.nacosdiscovery;
-
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * @author <a href="mailto:chenxil...@gmail.com";>theonefx</a>
- */
-@EnableDiscoveryClient
-@Configuration
-public class NacosDiscoveryConfiguration {
-}
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-nacos-discovery/resources/application.properties.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-nacos-discovery/resources/application.properties.mustache
deleted file mode 100644
index 42f6e27..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-nacos-discovery/resources/application.properties.mustache
+++ /dev/null
@@ -1,9 +0,0 @@
-# Nacos帮助文档: https://nacos.io/zh-cn/docs/concepts.html
-# Nacos认证信息
-spring.cloud.nacos.discovery.username=nacos
-spring.cloud.nacos.discovery.password=nacos
-# Nacos 服务发现与注册配置,其中子属性 server-addr 指定 Nacos 服务器主机和端口
-spring.cloud.nacos.discovery.server-addr=mse-6d50f4f0-p.nacos-ans.mse.aliyuncs.com:8848
-# 注册到 nacos 的指定 namespace,默认为 public
-spring.cloud.nacos.discovery.namespace=public
-
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-oss/java/OssConfig.java.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-oss/java/OssConfig.java.mustache
deleted file mode 100644
index cb0681a..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-oss/java/OssConfig.java.mustache
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2013-2018 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package {{basePackage}}.demos.oss;
-
-import com.aliyun.oss.OSS;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.ApplicationRunner;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * OSS common config.
- *
- * @author <a href="mailto:chenxil...@gmail.com";>theonefx</a>
- */
-@Configuration
-public class OssConfig {
-
-       /**
-        * Bucket Name of OSS Example.
-        */
-       public static final String BUCKET_NAME = "spring-cloud-alibaba-test";
-
-       @Autowired
-       private OSS ossClient;
-
-       /**
-        * You can use these code to check or create oss bucket. Or manage 
buckets in
-        * <a href="https://oss.console.aliyun.com/bucket";>oss console</a>.
-        */
-       @Bean
-       public ApplicationRunner ossBucketInitRunner() {
-               return args -> {
-                       if (!ossClient.doesBucketExist(BUCKET_NAME)) {
-                               ossClient.createBucket(BUCKET_NAME);
-                       }
-               };
-       }
-}
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-oss/java/OssDemoService.java.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-oss/java/OssDemoService.java.mustache
deleted file mode 100644
index 8fb12f9..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-oss/java/OssDemoService.java.mustache
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright 2013-2018 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package {{basePackage}}.demos.oss;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-
-import com.aliyun.oss.OSS;
-import com.aliyun.oss.common.utils.IOUtils;
-import com.aliyun.oss.model.OSSObject;
-import org.apache.commons.codec.CharEncoding;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.core.io.Resource;
-import org.springframework.core.io.WritableResource;
-import org.springframework.stereotype.Service;
-import org.springframework.util.StreamUtils;
-
-/**
- * This demo code show you how to use oss in your application. You can use is 
directly or
- * refactor is to implement your own logic|architecture.
- *
- * @author <a href="mailto:chenxil...@gmail.com";>theonefx</a>
- */
-@Service
-public class OssDemoService {
-
-       @Autowired
-       private OSS ossClient;
-
-       /**
-     * the file in local machine.
-        */
-       @Value("classpath:/oss-test.json")
-       private Resource localFile;
-
-       /**
-        * the file in oss remote server.
-        */
-       @Value("oss://" + OssConfig.BUCKET_NAME + "/oss-test.json")
-       private Resource remoteFile;
-
-       public String readRemoteFileViaResource() throws IOException {
-               return IOUtils.readStreamAsString(remoteFile.getInputStream(),
-                               CharEncoding.UTF_8);
-       }
-
-       public String readRemoteFileViaClient() throws IOException {
-               OSSObject ossObject = 
ossClient.getObject(OssConfig.BUCKET_NAME, "oss-test.json");
-               return IOUtils.readStreamAsString(ossObject.getObjectContent(),
-                               CharEncoding.UTF_8);
-       }
-
-       public void uploadWithClient() {
-               ossClient.putObject(OssConfig.BUCKET_NAME, "oss-test.json",
-                               
this.getClass().getClassLoader().getResourceAsStream("oss-test.json"));
-       }
-
-       public void uploadWithOutputStream() throws IOException {
-               try (OutputStream out = ((WritableResource) 
this.remoteFile).getOutputStream();
-             InputStream in = localFile.getInputStream()) {
-                       StreamUtils.copy(in, out);
-               }
-       }
-}
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-oss/resources/application.properties.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-oss/resources/application.properties.mustache
deleted file mode 100644
index ed92d81..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-oss/resources/application.properties.mustache
+++ /dev/null
@@ -1,5 +0,0 @@
-# oss控制台: https://oss.console.aliyun.com
-# oss云存储的EndPoint(地域节点)
-alibaba.cloud.oss.endpoint=oss-cn-hangzhou.aliyuncs.com
-
-
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-oss/resources/oss-test.json.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-oss/resources/oss-test.json.mustache
deleted file mode 100644
index 68682f4..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-oss/resources/oss-test.json.mustache
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "name": "oss-test"
-}
\ No newline at end of file
diff --git 
a/initializer-generator/src/main/resources/templates/codes/sca-sentinel/resources/application.properties.mustache
 
b/initializer-generator/src/main/resources/templates/codes/sca-sentinel/resources/application.properties.mustache
deleted file mode 100644
index 426513b..0000000
--- 
a/initializer-generator/src/main/resources/templates/codes/sca-sentinel/resources/application.properties.mustache
+++ /dev/null
@@ -1,9 +0,0 @@
-# Sentinel 控制台地址
-spring.cloud.sentinel.transport.dashboard=localhost:8080
-# 取消Sentinel控制台懒加载
-# 默认情况下 Sentinel 会在客户端首次调用的时候进行初始化,开始向控制台发送心跳包
-# 配置 sentinel.eager=true 时,取消Sentinel控制台懒加载功能
-spring.cloud.sentinel.eager=true
-# 如果有多套网络,又无法正确获取本机IP,则需要使用下面的参数设置当前机器可被外部访问的IP地址,供admin控制台使用
-# spring.cloud.sentinel.transport.client-ip=
-
diff --git 
a/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-aws.mustache
 
b/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-aws.mustache
deleted file mode 100644
index 4d86789..0000000
--- 
a/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-aws.mustache
+++ /dev/null
@@ -1,8 +0,0 @@
-## Running Spring Cloud Function applications on {{platform}}
-
-In order to run Spring Cloud Function applications on AWS Lambda, you can 
leverage Spring Cloud
-Function AWS adapter and {{buildTool}} plugins offered by {{platform}}.
-
-Check the documentation for detailed information on [using the AWS Lambda 
adapter](https://cloud.spring.io/spring-cloud-static/spring-cloud-function/{{version}}/aws.html)
-and [setting up the {{buildTool}} build, along with a full build setup 
sample](https://cloud.spring.io/spring-cloud-static/spring-cloud-function/{{version}}/aws.html#_build_file_setup).
-
diff --git 
a/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-azure.mustache
 
b/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-azure.mustache
deleted file mode 100644
index d935013..0000000
--- 
a/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-azure.mustache
+++ /dev/null
@@ -1,8 +0,0 @@
-## Running Spring Cloud Function applications on {{platform}}
-
-In order to run Spring Cloud Function applications on Microsoft Azure, you can 
leverage Spring Cloud
-Function Microsoft Azure adapter and {{buildTool}} plugins offered by 
{{platform}}.
-
-Check the documentation for detailed information on [using the Azure 
adapter](https://cloud.spring.io/spring-cloud-static/spring-cloud-function/{{version}}/azure.html)
 and [setting
-up the {{buildTool}} build, along with a full build setup 
sample](https://cloud.spring.io/spring-cloud-static/spring-cloud-function/{{version}}/azure.html#_build_file_setup).
-
diff --git 
a/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-missing.mustache
 
b/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-missing.mustache
deleted file mode 100644
index 8aa3ad5..0000000
--- 
a/initializer-generator/src/main/resources/templates/spring-cloud-function-build-setup-missing.mustache
+++ /dev/null
@@ -1,8 +0,0 @@
-## Running Spring Cloud Function applications on {{platform}}
-
-A {{buildTool}} plugin has not been provided by {{platform}} as yet.
-
-If you want to deploy your {{buildTool}} function application to {{platform}}, 
we suggest
-you consult the cloud platform provider documentation or check with them about 
the
-possibility of adding {{buildTool}} support for the platform.
-
diff --git 
a/initializer-generator/src/main/resources/templates/spring-cloud-netflix-maintenance-mode.mustache
 
b/initializer-generator/src/main/resources/templates/spring-cloud-netflix-maintenance-mode.mustache
deleted file mode 100644
index 566aff3..0000000
--- 
a/initializer-generator/src/main/resources/templates/spring-cloud-netflix-maintenance-mode.mustache
+++ /dev/null
@@ -1,14 +0,0 @@
-The dependencies listed below are in maintenance mode. We do not recommend 
adding them to
-new projects:
-
-{{#items}}
-*  {{.}}
-{{/items}}
-
-The decision to move most of the Spring Cloud Netflix projects to maintenance 
mode was
-a response to Netflix not continuing maintenance of many of the libraries that 
we provided
-support for.
-
-Please see [this blog 
entry](https://spring.io/blog/2018/12/12/spring-cloud-greenwich-rc1-available-now#spring-cloud-netflix-projects-entering-maintenance-mode)
-for more information on maintenance mode and a list of suggested replacements 
for those
-libraries.
\ No newline at end of file


Reply via email to