[SCB-2814]remove servicestage-environment module (#3991)
diff --git a/coverage-reports/pom.xml b/coverage-reports/pom.xml
index 3199b48..ee32cc3 100644
--- a/coverage-reports/pom.xml
+++ b/coverage-reports/pom.xml
@@ -236,10 +236,6 @@
<!-- ServiceComb ServiceStage extension -->
<dependency>
<groupId>org.apache.servicecomb</groupId>
- <artifactId>servicestage-environment</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.servicecomb</groupId>
<artifactId>servicestage</artifactId>
</dependency>
diff --git a/demo/demo-cse-v1/pom.xml b/demo/demo-cse-v1/pom.xml
index ef083a0..b49ea7f 100644
--- a/demo/demo-cse-v1/pom.xml
+++ b/demo/demo-cse-v1/pom.xml
@@ -51,10 +51,6 @@
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
- <artifactId>servicestage-environment</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.servicecomb</groupId>
<artifactId>servicestage</artifactId>
</dependency>
<dependency>
diff --git a/demo/demo-cse-v2/pom.xml b/demo/demo-cse-v2/pom.xml
index 06849c1..49c233a 100644
--- a/demo/demo-cse-v2/pom.xml
+++ b/demo/demo-cse-v2/pom.xml
@@ -38,10 +38,6 @@
<artifactId>registry-service-center</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.servicecomb</groupId>
- <artifactId>servicestage-environment</artifactId>
- </dependency>
- <dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</dependency>
diff --git a/dependencies/bom/pom.xml b/dependencies/bom/pom.xml
index 2eeda75..244b9f8 100644
--- a/dependencies/bom/pom.xml
+++ b/dependencies/bom/pom.xml
@@ -288,11 +288,6 @@
<!-- ServiceComb ServiceStage extension -->
<dependency>
<groupId>org.apache.servicecomb</groupId>
- <artifactId>servicestage-environment</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicecomb</groupId>
<artifactId>servicestage</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 5cdacc1..1cdad0e 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -242,11 +242,6 @@
<!-- ServiceComb ServiceStage extension -->
<dependency>
<groupId>org.apache.servicecomb</groupId>
- <artifactId>servicestage-environment</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.servicecomb</groupId>
<artifactId>servicestage</artifactId>
</dependency>
<dependency>
diff --git a/huawei-cloud/environment/README.md b/huawei-cloud/environment/README.md
deleted file mode 100644
index 3267331..0000000
--- a/huawei-cloud/environment/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-这个模块主要提供 servicestage 部署环境变量和配置项的映射,通过这种方式可以简化配置。
-
-servicestage 存在环境、应用、组件等概念,这些内容都是在部署的时候输入,可以将这些内容用于微服务的配置信息。
-
-|概念|环境变量|微服务配置项|
-| :--- | :--- | :--- |
-|应用|CAS_APPLICATION_NAME|servicecomb.service.application|
-|组件|CAS_COMPONENT_NAME|servicecomb.service.name|
-|组件版本|CAS_INSTANCE_VERSION|servicecomb.service.version|
-
-部署的过程还会注入环境里面的资源信息。
-
-|概念|环境变量|微服务配置项|
-| :--- | :--- | :--- |
-|服务/配置中心地址(逻辑多租,APIG场景)| PAAS_CSE_ENDPOINT | servicecomb.registry.sc.address<br/>servicecomb.config.client.serverUri|
-|服务中心地址 | PAAS_CSE_SC_ENDPOINT | servicecomb.registry.sc.address |
-|配置中心地址 | PAAS_CSE_CC_ENDPOINT | servicecomb.config.client.serverUri |
-|项目(区域) | PAAS_PROJECT_NAME | servicecomb.credentials.project |
-
-
diff --git a/huawei-cloud/environment/pom.xml b/huawei-cloud/environment/pom.xml
deleted file mode 100644
index 57cba66..0000000
--- a/huawei-cloud/environment/pom.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ 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.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>huawei-cloud</artifactId>
- <groupId>org.apache.servicecomb</groupId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>servicestage-environment</artifactId>
- <name>Java Chassis::Huawei Cloud::ServiceStage</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.servicecomb</groupId>
- <artifactId>java-chassis-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.servicecomb</groupId>
- <artifactId>registry-service-center</artifactId>
- </dependency>
- </dependencies>
-
-</project>
\ No newline at end of file
diff --git a/huawei-cloud/environment/src/main/resources/mapping.yaml b/huawei-cloud/environment/src/main/resources/mapping.yaml
deleted file mode 100644
index 05c3fa1..0000000
--- a/huawei-cloud/environment/src/main/resources/mapping.yaml
+++ /dev/null
@@ -1,43 +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.
-#
-servicecomb-config-order: -100
-
-PAAS_CSE_ENDPOINT:
- - servicecomb.registry.sc.address
- - servicecomb.config.client.serverUri
- - servicecomb.monitor.client.serverUri
-PAAS_CSE_SC_ENDPOINT:
- - servicecomb.registry.sc.address
-PAAS_CSE_CC_ENDPOINT:
- - servicecomb.config.client.serverUri
-PAAS_CSE_DS_ENDPOINT:
- - servicecomb.monitor.client.serverUri
-PAAS_PROJECT_NAME:
- - servicecomb.credentials.project
-
-## other possible and useful mappings
-
-#CAS_APPLICATION_NAME:
-# - servicecomb.service.application
-#CAS_COMPONENT_NAME:
-# - servicecomb.service.name
-#CAS_INSTANCE_VERSION:
-# - servicecomb.service.version
-#SERVICECOMB_SERVICE_PROPS:
-# - servicecomb.service.properties
-#SERVICECOMB_INSTANCE_PROPS:
-# - servicecomb.instance.properties
diff --git a/huawei-cloud/pom.xml b/huawei-cloud/pom.xml
index 148a37a..9e36c6d 100644
--- a/huawei-cloud/pom.xml
+++ b/huawei-cloud/pom.xml
@@ -32,7 +32,6 @@
<modules>
<module>servicestage</module>
- <module>environment</module>
<module>dashboard</module>
<module>darklaunch</module>
</modules>