Language | Framework | Platform |
---|---|---|
Java | CSE Spring MVC | ServiceStage Container, CCE Cluster |
This sample code helps get you started with a simple Java CSE microservice deployed by ServiceStage Container App to a CCE Cluster.
This sample includes:
Clone your code repository and start developing your application on IDE of your choice
Install maven. See https://maven.apache.org/install.html for details.
Download local-service-center from http://servicecomb.incubator.apache.org/release/. Read README.md to start local-service-center.
Update the service registry address in microservice.yaml according to the README.md in local-service-center.
Build the application.
$ mvn -f pom.xml package
Run the application in IDE or execute the jar.
Open http://127.0.0.1:8080/cse/helloworld?name=hellworld in a web browser to view your application.
if you want to deploy the sample code on servicestage, View your CI/CD pipeline and service stack on ServiceStage and customize it as per your needs
See LICENSE.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。