-
构建
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
-
编译此项目:
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
-
运行此项目:
env OPENSERGO_BOOTSTRAP_CONFIG='{"endpoint":"localhost:9090"}' \ java -jar ./target/opensergo-sc-demo-0.0.1-SNAPSHOT.jar
然后就可以在 OpenSergo Dashboard 上看到对应的应用了。
opensergo/opensergo-samples-java
Samples of OpenSergo Java eco-system (e.g. with Spring Cloud Alibaba, Apache Dubbo)
JavaApache-2.0