云计算
ballerina 标签描述

ballerina从发布,到现在官方文档的更新也是很给力的,同时也有好多改进,越来越好用了 项目初始化 项目结构 └──guide └──restful_service └──order_mgt_service.bal 初始化项目 cdguide&&ballerinainit 效果 添加代码&&docker支持 httprest服务编写 importballerina/http; importballerinax/docker; //docker支持配置 @docker:Config{ registry:"dalongrong", ...

  zNRyot8onCGb   18天前   26   0   0 dockerballerinaamp

ballerina官方提供了docker的runtime,还是比较方便的 基本项目创建 使用cli创建项目 按照提示操作就行 ballerinainit-i 项目结构 添加了dockerfile以及docker-compose简单http服务 ├──Ballerina.toml ├──Dockerfile ├──README.md ├──docker-compose.yml ├──hello_service.bal ├──target │└──hello_service.balx └──tests └──hello_service_test.bal 添加简单htt...

  zNRyot8onCGb   18天前   21   0   0 dockerballerinaamp