Translating TOSCA into docker-compose YAML file using ANTLR

Kitti Klinbua, W. Vatanawood
{"title":"Translating TOSCA into docker-compose YAML file using ANTLR","authors":"Kitti Klinbua, W. Vatanawood","doi":"10.1109/ICSESS.2017.8342884","DOIUrl":null,"url":null,"abstract":"In recent years, Docker is rapidly a powerful and better efficient deployment environment in software as a service (SaaS) development. Using Docker in a software project could solve many former DevOps problems and increase quality of the project. The Docker-Compose is an official tool that helps manage Docker containers by defining the appropriate SaaS configuration in a docker-compose YAML file. As it is not easy for newbies of Docker to write a docker-compose YAML file due to the complicated parameters of a large compounded services' configurations, the TOCSA diagramming should alternatively provide several service templates which are more practical and adequately descriptive to the common SaaS designers. In this paper, we encourage and provide the SaaS designer a set of predefined TOSCA service templates to configure the target SaaS project. Then, we propose a mean to translate the configured TOSCA diagram into docker-compose YAML file using ANTLR. The resulting docker-compose YAML file could be readily exploited in Docker environment.","PeriodicalId":179815,"journal":{"name":"2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSESS.2017.8342884","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

In recent years, Docker is rapidly a powerful and better efficient deployment environment in software as a service (SaaS) development. Using Docker in a software project could solve many former DevOps problems and increase quality of the project. The Docker-Compose is an official tool that helps manage Docker containers by defining the appropriate SaaS configuration in a docker-compose YAML file. As it is not easy for newbies of Docker to write a docker-compose YAML file due to the complicated parameters of a large compounded services' configurations, the TOCSA diagramming should alternatively provide several service templates which are more practical and adequately descriptive to the common SaaS designers. In this paper, we encourage and provide the SaaS designer a set of predefined TOSCA service templates to configure the target SaaS project. Then, we propose a mean to translate the configured TOSCA diagram into docker-compose YAML file using ANTLR. The resulting docker-compose YAML file could be readily exploited in Docker environment.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用ANTLR将TOSCA转换为docker-compose YAML文件
近年来,Docker在SaaS (software as a service)开发中迅速成为一个功能强大、效率更高的部署环境。在软件项目中使用Docker可以解决许多以前的DevOps问题,并提高项目质量。Docker- compose是一个官方工具,它通过在Docker- compose YAML文件中定义适当的SaaS配置来帮助管理Docker容器。由于大型复合服务配置的参数复杂,对于Docker新手来说,编写一个由Docker组成的YAML文件并不容易,因此TOCSA图应该提供一些对普通SaaS设计人员更实用和充分描述的服务模板。在本文中,我们鼓励并为SaaS设计人员提供一组预定义的TOSCA服务模板来配置目标SaaS项目。然后,我们提出了一种使用ANTLR将配置的TOSCA图转换为由docker组成的YAML文件的方法。生成的Docker -compose YAML文件可以很容易地在Docker环境中使用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Critical analysis of feature model evolution A key technology survey and summary of dynamic network visualization Soft decision strategy design for signal demodulation in IEEE 802.11 protocol suite based wireless communication process A prediction method based on improved ridge regression SuperedgeRank algorithm and its application for core technology identification
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1