问题标签 [cloudify]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
658 浏览

jquery - 如何使用 jquery 从 cloudify rest api 读取 json 响应?

我需要从 cloudify rest url (remotehost) 获取 json 数据http://hostname:8100/service/applications/

此 URL 返回以下 JSON 响应:

我试图用下面的代码得到响应:

我在 firebug 中检查了来自网络面板的请求,显示 200 OK 状态,但我无法获取 JSON 数据。控制台中出现以下错误:

控制台错误

0 投票
1 回答
320 浏览

vmware - 将 Cloudify 与 vCloud 集成

我正在为 vCloud 使用 Cloudify。到目前为止我收集的信息,这种集成是可能的,因为 jCloud 也有 vCloud 的接口。我还没有探索jCloud。我正在寻找是否已努力将 Cloudify 与 vCloud 集成。任何指向我自己找不到的文档或早期 Qs/博客的指针都会很有价值。谢谢拉加文德拉

0 投票
1 回答
136 浏览

cloudify - Cloudify:: 卸载应用程序失败

要卸载应用程序,我在本地云环境中的 cloudify 提示中调用了 uninstall-application app-name。但是卸载不成功。日志文件显示以下异常。

2013-10-14 13:06:50,537 休息 [1] 信息 [org.cloudifysource.rest.controllers.ServiceController] - 删除应用程序的所有应用程序范围属性 2013-10-14 13:06:50,542 休息 [1] 警告 [ org.openspaces.admin.internal.admin.DefaultAdmin] - 无法执行:org.openspaces.admin.internal.gsm.DefaultGridServiceManager$3@70b1ec8b - org.openspaces.admin.AdminException:无法取消部署处理单元 [app-name] ; 原因:org.openspaces.admin.AdminException:无法在 org.openspaces.admin.internal.gsm.DefaultGridServiceManager.undeployProcessingUnit(DefaultGridServiceManager.java:279) 在 org.openspaces.admin.internal 取消部署处理单元 [app-name] .gsm.DefaultGridServiceManager$3.run(DefaultGridServiceManager.java:799) 在 org.openspaces.admin.internal.admin.DefaultAdmin$LoggerRunnable.run(DefaultAdmin.java:

2013-10-14 13:06:51,544 休息 [1] 信息 [org.cloudifysource.rest.util.RestPollingRunnable] - undeployAndWait 处理单元尚未完成 @

最终操作超时。发布我什至无法拆除本地云的帖子。摆脱这种情况的唯一方法是重新启动系统。感谢对此的一些帮助。

0 投票
2 回答
2262 浏览

java - 原因:java.net.ConnectException:连接被拒绝 Cloudify CLI

我刚刚下载了cloudify2.6.2。运行 cloudify 的 CLI 时,我无法运行 REST API,因为我收到此错误

我没有任何防火墙,我也使用 jdk7。
我需要对此进行一些解释。

0 投票
2 回答
532 浏览

monitoring - Cloudify 监控和 Zabbix

我使用 Cloudify 2.7.0 GA 并在 Openstack Havana 上引导 cloudify。

cloudify监控和Zabbix如何集成?

0 投票
1 回答
92 浏览

java - Incongruity between Cloudify documentation for a REST response and the one I get

I have a Cloudify 2.7.0 instance running. I need to access Cloudify's API from a Java application and I found an incongruity between the returned JSON and the one which is documented in the Cloudify documentation. The API is

In the documentation I can read that it should return the following JSON string

But if I do the same request to my Cloudify instance I get the following JSON string

In the java application the JSON information is stored in the following POJO (generated with JSONSchema2POJO)

I use the Jackson library to deserialize JSON into POJO. As you can see the JSON string is deserialized into a POJO in which every istantiated application is a POJO's field. This might be a big problem for the development of the application. In fact, as the instances of the application change, the returned JSON changes and we need to update the POJO structure, something I can't do at runtime.

Do you know whether the Cloudify API has changed the response JSON structure? Is there any way to get the documented JSON output instead of the one I get.

Thank you in advance

Giulio

0 投票
1 回答
89 浏览

api - Cloudify REST API 2.7:有无版本

我正在开发 Cloudify REST API v2.7 ( http://getcloudify.org/guide/2.7/restapi/restdoclet.html )。

以“/version/...”开头的 API 和不以“/version/...”开头的 API 有什么区别?

例如,以下 API 有什么区别:

  • /{版本}/deployments/applications/description

  • /服务/应用程序

0 投票
1 回答
428 浏览

rest - 在 Cloudify 中通过 REST API 启动应用程序

我需要通过这个REST API在我的 Cloudify 2.7 实例上启动一个应用程序

如您所见,我需要一些请求参数,例如applicationFileUploadKey, applicationOverridesUploadKeycloudOverridesUploadKey甚至applicationName.

在 REST 文档中,我找不到任何显示这些参数的 REST API。我以为我可以找到一些 API,它可以返回可安装应用程序列表以及部署所需的相应参数,但我什么也没找到。

您知道如何通过 REST 获取上传的应用程序的部署参数吗?

谢谢朱利奥

0 投票
1 回答
794 浏览

ldap - 使用 AD 进行 LDAP 身份验证

当我尝试使用 Microdoft LDAP 配置 Cloudify LDAP 身份验证时,我收到以下错误:

引起:ErrorStatusException,原因代码:未授权,消息参数:详细:[LDAP:错误代码 49 - 80090308:LdapErr:DSID-0C0903A9,注释:AcceptSecurityContext 错误,数据 52e,v1db1];嵌套异常是 javax.naming.AuthenticationException:[LDAP:错误代码 49 - 80090308:LdapErr:DSID-0C0903A9,注释:AcceptSecurityContext 错误,数据 52e,v1db1]

我使用“域\用户”并且只使用“用户”,但我收到了同样的错误。我尝试使用 ldapsearch 从 vm 管理连接到 LDAP,我必须使用“域\用户”,否则我会收到 52e 错误。

0 投票
1 回答
40 浏览

repository - 修改默认配方存储库

我已修改默认配方存储库以指向我自己的 github 存储库 URL。

在“bootstrap”之后,我可以在“work\cloudify_recipes_clone”中看到我的食谱,但我在 webui 中看不到食谱。