cloudfoundry

CouchDB in CloudFoundry?

情到浓时终转凉″ 提交于 2019-12-02 10:31:00
I review the Cloud Foundry project and try to install it on a server I will use Couchdb as a database service. My principal question is : How use CouchDB in Cloud Foundry? I install a CF instance with : vcap_dev_setup -c devbox_all.yml -D mydomain.com The devbox.yml contains : $ install : - all. In this install the couchdb_node and the couchdb_gateway is present by default. But it seems to be bug in general. When I delete a app and I have this error for example : $ vmc delete notes2 Provisioned service [mongodb-d216a] detected, would you like to delete it? [yN]: y Provisioned service [redis

Building two different versions a given war with maven profiles and filtering from eclipse

和自甴很熟 提交于 2019-12-02 08:29:49
I am trying to use maven profiles and filtering in order to produce two different versions of a given web archive ( war ): A first one for local deployment to my local machine on localhost A second one for remote deployment to cloudfoundry There are a number of properties that differ according to whether the app is deployed to my local machine or to cloudfoundry. Of course the difficult bit is that I am trying to do all this from STS/Eclipse and deploy from Eclipse to my local tomcat and to cloudfoundry... Can anyone please provide advice, tips or suggestions? If you are using Spring

How to download the app with the CLI from the Swisscom App Cloud?

血红的双手。 提交于 2019-12-02 07:30:36
问题 I am trying to download my app wich is currently running in the Swisscom App Cloud. Therefore I installed the cf-download plugin. My command: cf download app-name /public --verbose --omit /vendors --overwrite After running this command I get the following error: The app is running on the Diego backend, which does not support this command. Is cf download thus not possible in the Swisscom App Cloud? I've tried cf files as well. Same error. 回答1: You can do that with an API call Apps API

@EnableMongoAuditing for MongoDB on Cloud Foundry / mongolab

≯℡__Kan透↙ 提交于 2019-12-02 06:48:49
问题 My setup works on my local but not when I deploy it to CloudFoundry/mongolab. The config is very similar to the docs. My local spring config @Configuration @Profile("dev") @EnableMongoAuditing @EnableMongoRepositories(basePackages = "com.foo.model") public class SpringMongoConfiguration extends AbstractMongoConfiguration { @Override protected String getDatabaseName() { return "myDb"; } @Override public Mongo mongo() throws Exception { return new MongoClient("localhost"); } @Bean public

@EnableMongoAuditing for MongoDB on Cloud Foundry / mongolab

左心房为你撑大大i 提交于 2019-12-02 06:41:13
My setup works on my local but not when I deploy it to CloudFoundry/mongolab. The config is very similar to the docs . My local spring config @Configuration @Profile("dev") @EnableMongoAuditing @EnableMongoRepositories(basePackages = "com.foo.model") public class SpringMongoConfiguration extends AbstractMongoConfiguration { @Override protected String getDatabaseName() { return "myDb"; } @Override public Mongo mongo() throws Exception { return new MongoClient("localhost"); } @Bean public AuditorAware<User> myAuditorProvider() { return new SpringSecurityAuditorAware(); } } This is the cloud

How to download the app with the CLI from the Swisscom App Cloud?

筅森魡賤 提交于 2019-12-02 04:02:09
I am trying to download my app wich is currently running in the Swisscom App Cloud. Therefore I installed the cf-download plugin. My command: cf download app-name /public --verbose --omit /vendors --overwrite After running this command I get the following error: The app is running on the Diego backend, which does not support this command. Is cf download thus not possible in the Swisscom App Cloud? I've tried cf files as well. Same error. You can do that with an API call Apps API Downloads the staged droplet for an App GET /v2/apps/:guid/droplet/download When using a remote blobstore, such as

Accessing the java executable from a cloudfoundry task command (cf run-task)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 21:09:23
I need the java executable to run a java -jar from a cloudfoundry task command. Here is how I try to run the task: cf run-task bignibou-batch "java -jar bignibou-batch/build/libs/bignibou-batch.jar" Here is the error message I get: 2016-12-24T12:53:30.002+01:00 [APP/TASK/358e02df/0] [ERR] bash: java: command not found My manifest uses the java buildpack as follows (see bignibou-batch app at the bottom): --- buildpack: https://github.com/cloudfoundry/java-buildpack.git memory: 1024M env: APPLICATION_URL: http://bignibou-server.cfapps.io/ APPLICATION_MAIL_NO_REPLY_ADDRESS: balteo@bignibou-server

【CF 应用开发大赛】巨能搜,聚合搜索应用

此生再无相见时 提交于 2019-12-01 18:48:07
应用名称: 巨能搜 应用URL地址: http://searchx.cloudfoundry.com/ 开源地址: http://code.google.com/p/searchx/ 应用说明及使用场景: 出于个人兴趣制作的聚合搜索应用,方便扩展,简单实用。 可以实现对网页、工作信息、购物商品等内容的搜索。 还有功能正在制作中,不影响正常使用。 应用所使用的技术及软件: 伪JavaWeb工程,主要使用html/css + javascript(jquery, jquery.cookie)。 创新点(亮点): 支持扩展开发,方便接入到导航站。 应用截图: 搜索页: 更新记录: 2013/02/04 开源并创建初始版本库(SVN)。 http://code.google.com/p/searchx/ 2013/01/25 解决搜索关键字中带有井号(#)、加号(+)及空格不能搜索的问题。 支持计算器加减乘除法(仅限百度搜索)。 2013/01/06 调整搜索页LOGO文件大小。 加入三个快捷导航:OSChina、OSTools、hao123。 2013/01/05 修改底部版权信息。 新增站点设置功能,使用cookie存储站点信息,并禁用进入原始搜索页选项。 加入搜索关键字自动完成功能。 修复js脚本导致的页面无法跳转错误。 修改css样式文件,兼容safari浏览器及iPad默认浏览器

GYP ERR! build error. stack Error: 'make' failed with exit code 2

拈花ヽ惹草 提交于 2019-12-01 15:04:22
I am currently working on a nodejs web application I am having trouble pushing the application online with cloud foundry. I did some research on the errors and it seems that maybe some of the packages being installed have some conflicts. This is the package.json file. { "dependencies": { "c3": "^0.4.12", "cfenv": "1.0.0", "cloudant": "^1.8.0", "dygraphs": "^2.0.0", "express": "4.5.1", "getmac": "1.0.6", "http": "0.0.0", "mqtt": "1.0.5", "properties": "1.2.1", "save": "^2.3.0", "sockjs": "0.3.9", "websocket-multiplex": "0.1.x" }, "description": "description.", "license": "UNLICENSED", "main":

GYP ERR! build error. stack Error: 'make' failed with exit code 2

◇◆丶佛笑我妖孽 提交于 2019-12-01 13:51:11
问题 I am currently working on a nodejs web application I am having trouble pushing the application online with cloud foundry. I did some research on the errors and it seems that maybe some of the packages being installed have some conflicts. This is the package.json file. { "dependencies": { "c3": "^0.4.12", "cfenv": "1.0.0", "cloudant": "^1.8.0", "dygraphs": "^2.0.0", "express": "4.5.1", "getmac": "1.0.6", "http": "0.0.0", "mqtt": "1.0.5", "properties": "1.2.1", "save": "^2.3.0", "sockjs": "0.3