Skip to content

Samples of OpenSergo Java eco-system (e.g. with Spring Cloud Alibaba, Apache Dubbo)

License

Notifications You must be signed in to change notification settings

opensergo/opensergo-samples-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCA OpenSergo Demo

如何运行

  1. 运行 OpenSergo Dashboard

  2. 构建 SCA SNAPSHOT版本(依赖io.opensergo:opensergo-java:0.0.1-SNAPSHOT)

    git clone https://github.com/robberphex/spring-cloud-alibaba.git
    cd spring-cloud-alibaba
    git checkout opensergo
    mvn clean compile install -DskipTests
  3. 编译此项目:

    git clone https://github.com/robberphex/example-opensergo-sca.git
    cd example-opensergo-sca
    mvn clean compile package -DskipTests
    # 最终产物 ./target/opensergo-sc-demo-0.0.1-SNAPSHOT.jar
  4. 运行此项目:

    env OPENSERGO_BOOTSTRAP_CONFIG='{"endpoint":"localhost:9090"}' \
    java -jar ./target/opensergo-sc-demo-0.0.1-SNAPSHOT.jar

    然后就可以在 OpenSergo Dashboard 上看到对应的应用了。

About

Samples of OpenSergo Java eco-system (e.g. with Spring Cloud Alibaba, Apache Dubbo)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published