You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2020/02/17 00:57:16 UTC

[servicecomb-java-chassis] branch master updated: [SCB-1643] add a slution to integrate with huaweicloud

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

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new e75d910  [SCB-1643] add a slution to integrate with huaweicloud
e75d910 is described below

commit e75d91063ef75fb9bbfce3e0a4861a31273a8420
Author: liubao <bi...@qq.com>
AuthorDate: Mon Feb 3 18:18:20 2020 +0800

    [SCB-1643] add a slution to integrate with huaweicloud
---
 solutions/solution-basic/pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/solutions/solution-basic/pom.xml b/solutions/solution-basic/pom.xml
index a3606e1..d30d309 100644
--- a/solutions/solution-basic/pom.xml
+++ b/solutions/solution-basic/pom.xml
@@ -29,6 +29,21 @@
   <artifactId>solution-basic</artifactId>
   <name>Java Chassis::Solutions::BASIC</name>
 
+  <properties>
+    <huaweicloudsdk-version>2.5.0</huaweicloudsdk-version>
+  </properties>
+
+  <repositories>
+    <repository>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <id>huaweicloudsdk-releases</id>
+      <name>huaweicloudsdk</name>
+      <url>https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/</url>
+    </repository>
+  </repositories>
+
   <dependencies>
     <!-- default using log4j2 -->
     <dependency>
@@ -115,6 +130,13 @@
       <groupId>org.apache.servicecomb</groupId>
       <artifactId>inspector</artifactId>
     </dependency>
+
+    <!-- includes huawei cloud authentication filter and makes easier to access online service -->
+    <dependency>
+      <groupId>com.huawei.paas.cse</groupId>
+      <artifactId>foundation-auth</artifactId>
+      <version>${huaweicloudsdk-version}</version>
+    </dependency>
   </dependencies>
 
 </project>