咏叹调
apache-ariatosca的Python项目详细描述
什么是咏叹调?
ARIA是开源的, TOSCA为 编制并供项目使用构建基于TOSCA的资源和 服务编排
任何组织都可以利用ARIA来实现基于TOSCA的编排 解决方案,无论是多云企业应用程序,还是针对多个 虚拟基础架构管理器
使用aria,您可以利用tosca的云可移植性来开发、测试和运行 应用程序,从模板到部署。
ARIA是Apache Software Foundation下的一个孵化项目
安装
aria需要python 2.7。当前不支持Python3。
要直接从pypi安装aria(使用wheel),请使用:
pip install --upgrade pip setuptools pip install apache-ariatosca
要从源代码安装aria,请从下载源tarball PyPI,提取并将cd放入提取目录, 然后运行:
pip install --upgrade pip setuptools pip install .
ubuntu/debian(在ubuntu 14.04和ubuntu 16.04上测试):
apt-get install -y python-dev gcc libffi-dev libssl-dev pip install apache-ariatosca[ssh]
centos/fedora(在centos 6.6和centos 7上测试):
yum install -y python-devel gcc libffi-devel openssl-devel pip install apache-ariatosca[ssh]
arch Linux:
pacman -Syu --noconfirm python2 gcc libffi openssl pip2 install apache-ariatosca[ssh]
windows(在Windows 10上测试):
# no additional system requirements are needed pip install apache-ariatosca[ssh]
macos:
# TODO
要安装pip,请使用操作系统的包管理系统,或运行:
wget http://bootstrap.pypa.io/get-pip.py python get-pip.py
开始
本节将描述如何运行一个简单的“hello world”示例。
首先,为aria提供aria“hello world”服务模板并命名它(例如 my-service-template):
aria service-templates store examples/hello-world/hello-world.yaml my-service-template
现在基于这个服务模板创建一个服务并命名它(例如my-service):
aria services create my-service -t my-service-template
最后,在my-service上启动install工作流执行,如下所示:
aria executions start install -s my-service
现在应该在本地计算机上运行一个简单的web服务器。你可以试试看 http://localhost:9090查看已部署的应用程序。
要卸载和清理环境,请执行以下步骤:
aria executions start uninstall -s my-service aria services delete my-service aria service-templates delete my-service-template
资源
- Main site
- API and CLI documentation
- Wiki
- Releases
- Issue tracker
- 开发人员邮件列表:dev@ariatosca.incubator.apache.org
- 用户邮件列表:user@ariatosca.incubator.apache.org
通过向<group>-subscribe@ariatosca.incubator.apache.org(例如 dev-subscribe@ariatosca.incubator.apache.org)请参阅有关如何订阅邮件的信息 列表here。
有关过去的信件,请参阅 dev mailing list archive。
许可证
Aria是根据 Apache License 2.0。
行为准则
Aria Tosca项目如下 the Apache Code of Conduct。
推荐PyPI第三方库
- 热门话题
- 在Grails中集成javaapplet 动态设置片段时发生java错误 JavaSpringVelocity模板电子邮件? SpringHateOAS中java自定义json输出 java wait()和notify()相关问题 正则表达式中的单词边界是什么? 使用外部库将项目部署到glassfish后发生java NoClassDefFoundError java为什么在这里初始化ListNode两次? java libGDX移动三维模型 java使线程等待另一个线程的执行 正则表达式如何在java中使用正则表达式解析给定字符串 java SWT ScrolledComposite在32768像素后切断画布生成的图像