Date   

Re: CF client library

Gwenn Etourneau
 

Or just DIY... cloudcontroller are pretty well documented.

On Wed, Jul 15, 2015 at 4:01 PM, Noburou TANIGUCHI <dev(a)nota.m001.jp> wrote:

Thank you Alex, and everyone.

I'd like to summarize the current status:

- 1) Language-independent
-- 1a) Use `cf curl` as external command (
https://github.com/cloudfoundry/cli )
-- 1b) Use CF cli RPC server like cli plugins do (
https://github.com/cloudfoundry/cli )

- 2) Language-dependent
-- 2a) Golang (official): cli: https://github.com/cloudfoundry/cli
-- 2b) Java (official): cf-java-client:
https://github.com/cloudfoundry/cf-java-client
-- 2c) .Net (incubator): cf-dotnet-sdk:
https://github.com/cloudfoundry-incubator/cf-dotnet-sdk
-- 2d) Golang (community): go-cfclient:
https://github.com/cloudfoundry-community/go-cfclient
-- 2e) Ruby (attic - outdated?): cfoundry:
https://github.com/cloudfoundry-attic/cfoundry (*1)
-- 2f) Node.js (attic -outdated?): vcap-node:
https://github.com/cloudfoundry-attic/vcap-node (*2)

(*1) There are some personal? forks such as
https://github.com/lukehwang/cfoundry
(*2) I've found recently

If there is another one, please let me know.



--
View this message in context:
http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p732.html
Sent from the CF Dev mailing list archive at Nabble.com.
_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: CF client library

Noburou TANIGUCHI
 

Thank you Alex, and everyone.

I'd like to summarize the current status:

- 1) Language-independent
-- 1a) Use `cf curl` as external command (
https://github.com/cloudfoundry/cli )
-- 1b) Use CF cli RPC server like cli plugins do (
https://github.com/cloudfoundry/cli )

- 2) Language-dependent
-- 2a) Golang (official): cli: https://github.com/cloudfoundry/cli
-- 2b) Java (official): cf-java-client:
https://github.com/cloudfoundry/cf-java-client
-- 2c) .Net (incubator): cf-dotnet-sdk:
https://github.com/cloudfoundry-incubator/cf-dotnet-sdk
-- 2d) Golang (community): go-cfclient:
https://github.com/cloudfoundry-community/go-cfclient
-- 2e) Ruby (attic - outdated?): cfoundry:
https://github.com/cloudfoundry-attic/cfoundry (*1)
-- 2f) Node.js (attic -outdated?): vcap-node:
https://github.com/cloudfoundry-attic/vcap-node (*2)

(*1) There are some personal? forks such as
https://github.com/lukehwang/cfoundry
(*2) I've found recently

If there is another one, please let me know.



--
View this message in context: http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p732.html
Sent from the CF Dev mailing list archive at Nabble.com.


Cant login from cf CLI, "Missing grant type"

Michael Grifalconi <michael.grifalconi@...>
 

Hello all,

I can login using the web interface (login.mydomain.com) but when I try on the cf CLI, I get:

Server error, status code 400, error code: invalid_request, message: Missing grant type

Am I missing something in the (attached)manifest?

Thank you!

Michael


R: Re: R: Re: Deploy CF on OpenStack, api and uaa failing

Michael Grifalconi <michael.grifalconi@...>
 

I managed to do it. Now I have another problem but I will send another mail.

 The documentation was no so helpful, and still have some errors. I solved most of my problems following this post(https://groups.google.com/a/cloudfoundry.org/forum/#!msg/bosh-users/iU_DwXmTt7w/7J4EZQfkcAMJ). On the post there are also some errors, like the wrong passwords in the default manifest.

Thank you all!
Michael

Il 12/07/15 09:12, Yitao Jiang <jiangyt.cn(a)gmail.com> ha scritto:



What are your network security group rules ? Can you mount the nfs shared directory manually?



On Thu, Jul 9, 2015 at 7:56 PM, Michael Grifalconi <michael.grifalconi(a)studenti.unimi.it> wrote:

Hello, 

I attached the logs I got from 'bosh logs VM_JOB INSTANCE_N' and they looks the same as the ones I can see by manually ssh into the VM.
What is the difference?


I'd point you to this logs from api, about the nfs mounter:


mount.nfs: mount(2): No such file or directory
[2015-07-09 09:24:31+0000] mount.nfs: trying 10.0.0.103 prog 100003 vers 3 prot TCP port 2049
[2015-07-09 09:24:34+0000] mount.nfs: portmap query retrying: RPC: Timed out
[2015-07-09 09:24:34+0000] mount.nfs: trying 10.0.0.103 prog 100005 vers 3 prot TCP port 52652
[2015-07-09 09:24:36+0000] touch: cannot touch '/var/vcap/nfs/shared/.nfs_test': Read-only file system
[2015-07-09 09:25:34+0000] stop: Unknown instance:
[2015-07-09 09:25:38+0000] umount.nfs: /var/vcap/nfs: not mounted
[2015-07-09 09:25:38+0000] umount.nfs: remote share not in 'host:dir' format
[2015-07-09 09:25:38+0000] umount.nfs: /var/vcap/nfs: not mounted


and:


idmapd stop/waiting
[2015-07-09 09:24:28+0000] idmapd start/running, process 4862
[2015-07-09 09:24:28+0000] NFS unmounted
[2015-07-09 09:24:28+0000] Mounting NFS...
[2015-07-09 09:24:36+0000] mount.nfs: timeout set for Thu Jul 9 09:26:29 2015
[2015-07-09 09:24:36+0000] mount.nfs: trying text-based options 'timeo=10,intr,lookupcache=positive,vers=4,addr=10.0.0.103,clientaddr=10.0.0.58'
[2015-07-09 09:24:36+0000] mount.nfs: trying text-based options 'timeo=10,intr,lookupcache=positive,addr=10.0.0.103'
[2015-07-09 09:24:36+0000] mount.nfs: prog 100003, trying vers=3, prot=6
[2015-07-09 09:24:36+0000] mount.nfs: prog 100005, trying vers=3, prot=17
[2015-07-09 09:24:36+0000] mount.nfs: prog 100005, trying vers=3, prot=6
[2015-07-09 09:24:36+0000] Failed to start: cannot write to NFS
[2015-07-09 09:25:34+0000] Found NFS mount, unmounting...
[2015-07-09 09:25:34+0000] idmapd start/pre-start, process 5826
[2015-07-09 09:25:34+0000] Found NFS mount, unmounting...
[2015-07-09 09:25:38+0000] NFS unmounted
[2015-07-09 09:25:38+0000] Failed to unmount NFS, exiting...
[2015-07-09 09:27:18+0000] NFS unmounted
[2015-07-09 09:27:18+0000] idmapd start/pre-start, process 6755
[2015-07-09 09:27:18+0000] NFS unmounted
[2015-07-09 09:27:18+0000] Mounting NFS...


the manifest is on the prevuous email, I used the default manifest with the openstack stub, after that I did some edits to solve varous errors, like changing the default passwords for uaa and api, because they did not match using spiff to generate the final manifest. I also added 10.0.0.0/24(http://10.0.0.0/24) instead of null on the allowed networks for nfs connections.

If I try to write in /var/vcap/nfs as root I get permission denied. If I manually unmount and mount it back I still have no write permissions, (strange because with null instead of 10.0.0.0/24(http://10.0.0.0/24) on allowed range, I had permissions)

Thanks,
Michael



Il 09/07/15 12:56, Gwenn Etourneau <getourneau(a)pivotal.io> ha scritto:



Hi,

This log are not so usefull, can you login into the VM using bosh ssh and go to /var/vcap/sys/log/ and you will see some folder and you will have some log here.

thanks



On Thu, Jul 9, 2015 at 7:23 PM, Michael Grifalconi <michael.grifalconi(a)studenti.unimi.it> wrote:

Hello all,

I'm trying to deploy CF on top of a little OpenStack cluster but I get api and uaa VMs constantly on starting/failing status.




After each 'bosh deploy' with some changes on the configuration, I always get:


Failed: `api_z1/0' is not running after update (00:11:07)
Error 400007: `api_z1/0' is not running after update



from api VM:

monit summary
The Monit daemon 5.2.4 uptime: 7m


Process 'cloud_controller_ng' running
Process 'cloud_controller_worker_local_1' running
Process 'cloud_controller_worker_local_2' running
Process 'nginx_cc' running
Process 'cloud_controller_migration' running
Process 'routing-api' not monitored
Process 'metron_agent' running
Process 'statsd-injector' running
Process 'consul_agent' running
File 'nfs_mounter' accessible
System 'system_1572093d-c49a-4a38-9336-6d1a288b8bd7' running


from uaa VM:

monit summary
The Monit daemon 5.2.4 uptime: 11m


Process 'uaa' Connection failed
Process 'uaa_cf-registrar' initializing
Process 'metron_agent' running
Process 'consul_agent' running
System 'system_24698313-5f71-4b4f-94fc-8e09a8da0866' running




I attach some useful info like: manifest (most probably where the error is), and logs from uaa, nfs and api
Ps. I am using a domain that is not registered on the internet, but i have a custom dns that resolve *.domain.co(http://domain.co) with the floating IP of the ha_proxy (assigned manually)

Thank you!


Michael

_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev





_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev




--









Regards,
Yitao(依涛 姜)
jiangyt.github.io(http://jiangyt.github.io)






_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Incubation Proposal: Project CF-Abacus

Michael Maximilien
 

Hi,

This email is to introduce and propose project Abacus to the CF community for incubation.

What?

The IBM Bluemix PaaS (based on CloudFoundry) includes a billing and metering component such that users can project and drill down on the costs they have incurred or will incur as they use the system.

Part of this component includes not only APIs that service brokers use to provide usage data, but also, how to aggregate that information, as well as a component to expose the aggregated data into a format (JSON) that can be subsequently consumed by users — this is done via a drill down UI in Bluemix.

Project Abacus is an extracted Open Source Software version (under Apache 2.0 license) of the APIs, usage metering, and aggregation components from the Bluemix feature.

Finally, it’s important to state that project Abacus uses a micro-services architecture and is written in Node.js with CouchDB compatible DBs as datastore and for map/reduce aggregations. Also, all components can actually run as CF apps or be externalized. In Bluemix they run as apps.

In other words, this is a bit different from other CF components, however, we have reviewed Abacus with our colleagues from Pivotal and they also believe it warrants incubation.

When?

Now.

Find the first self-contained release here: https://github.com/jsdelfino/cf-abacus/archive/v0.0.1.tar.gz

There is a comprehensive README that can help you setup and try this first release. The team has included a fake broker that can be used to generate usage data so you can try the whole thing out of the box.

How?

We plan to introduce this as part of the CAB call discussion tomorrow 07/15 and field any questions.

The next step will be to get approval and become an incubation project. Once this is done we will be staffing the project with a team (many from the Bluemix engineers that created it) as well as a PM, and follow the CFF guidelines for new projects.

We are ready to move on this with no delays and we welcome all interested parties to try out the first release and to help us refine the APIs and subsequent releases.

------
Best,

IBM CF team

dr.max
ibm cloud labs
silicon valley, ca

Sent from my iPhone


Re: HTTPS for Java App

Christopher Piraino <cpiraino@...>
 

Hi Maaz,

We recently added the ability for the GoRouter to terminate SSL/TLS
with a manifest
change
<https://github.com/cloudfoundry/cf-release/blob/14d119a69428bdc4b56ee44023606a2c77bf9459/jobs/gorouter/spec#L43>.
We
still recommend that a load balancer sit in front of the deployment in
order to be able to scale horizontally.

Let me know if you have any questions!

Best,
Chris

On Tue, Jul 14, 2015 at 12:19 PM, Khan, Maaz <Maaz.Khan(a)emc.com> wrote:

Hi Dan,



Thanks for the comments.

I understand how HTTPS flow works for CF with Load balancer like F5 (i.e HTTPS
-> LB -> HTTP -> GoRouter -> HTTP -> Your App)



I read here (
https://johnpfield.wordpress.com/2014/09/10/configuring-ssltls-for-cloud-foundry/)
that we can use HAProxy to enable HTTPS across the deployment.

Now since in our deployment we are using CF without HAProxy, I was
wondering if something can be done from the Gorouter point of view to
forward Https requests.



Thanks

Maaz



*From:* cf-dev-bounces(a)lists.cloudfoundry.org [mailto:
cf-dev-bounces(a)lists.cloudfoundry.org] *On Behalf Of *Daniel Mikusa
*Sent:* Tuesday, July 14, 2015 4:29 AM
*To:* Discussions about Cloud Foundry projects and the system overall.
*Subject:* Re: [cf-dev] HTTPS for Java App



On Mon, Jul 13, 2015 at 7:01 PM, Khan, Maaz <Maaz.Khan(a)emc.com> wrote:

Hello,



We have CF 197 deployed in our environment (without HA Proxy).



Do you have a different load balancer then?



I am trying to push a standalone Spring boot JAR (with embedded tomcat).
The app starts properly but I can’t access it via https.



I have these settings for my spring boot app

server:

tomcat:

remote_ip_header: x-forwarded-for

protocol_header: x-forwarded-proto



Also

Within the app I have configured the tomcat to accept SSL connection using
this sample


https://github.com/spring-projects/spring-boot/blob/master/spring-boot-samples/spring-boot-sample-tomcat-multi-connectors/src/main/java/sample/tomcat/multiconnector/SampleTomcatTwoConnectorsApplication.java



Can someone please point out what I am missing in order to get Https
working for my app.



Usually this is not necessary. Your app would just need to listen on the
port assigned to it (i.e. via PORT env variable) and it would listen for
incoming HTTP traffic.



Do I need to enable something within the CF deployment ?



Usually what happens is that HTTPS traffic is terminated at your load
balancer (that's why I asked if you had one above). The load balancer will
then send a request to the go router which in turn directs the HTTP traffic
to your app.



Ex: Browser -> HTTPS -> LB -> HTTP -> GoRouter -> HTTP -> Your App



You can tell if the traffic came from the user's browser via HTTPS by
looking at the x-forwarded-proto header.



Dan





Thanks

Maaz




_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev



_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: HTTPS for Java App

Maaz
 

Hi Dan,

Thanks for the comments.
I understand how HTTPS flow works for CF with Load balancer like F5 (i.e HTTPS -> LB -> HTTP -> GoRouter -> HTTP -> Your App)

I read here (https://johnpfield.wordpress.com/2014/09/10/configuring-ssltls-for-cloud-foundry/) that we can use HAProxy to enable HTTPS across the deployment.
Now since in our deployment we are using CF without HAProxy, I was wondering if something can be done from the Gorouter point of view to forward Https requests.

Thanks
Maaz

From: cf-dev-bounces(a)lists.cloudfoundry.org [mailto:cf-dev-bounces(a)lists.cloudfoundry.org] On Behalf Of Daniel Mikusa
Sent: Tuesday, July 14, 2015 4:29 AM
To: Discussions about Cloud Foundry projects and the system overall.
Subject: Re: [cf-dev] HTTPS for Java App

On Mon, Jul 13, 2015 at 7:01 PM, Khan, Maaz <Maaz.Khan(a)emc.com<mailto:Maaz.Khan(a)emc.com>> wrote:
Hello,

We have CF 197 deployed in our environment (without HA Proxy).

Do you have a different load balancer then?

I am trying to push a standalone Spring boot JAR (with embedded tomcat). The app starts properly but I can’t access it via https.

I have these settings for my spring boot app
server:
tomcat:
remote_ip_header: x-forwarded-for
protocol_header: x-forwarded-proto

Also
Within the app I have configured the tomcat to accept SSL connection using this sample
https://github.com/spring-projects/spring-boot/blob/master/spring-boot-samples/spring-boot-sample-tomcat-multi-connectors/src/main/java/sample/tomcat/multiconnector/SampleTomcatTwoConnectorsApplication.java

Can someone please point out what I am missing in order to get Https working for my app.

Usually this is not necessary. Your app would just need to listen on the port assigned to it (i.e. via PORT env variable) and it would listen for incoming HTTP traffic.

Do I need to enable something within the CF deployment ?

Usually what happens is that HTTPS traffic is terminated at your load balancer (that's why I asked if you had one above). The load balancer will then send a request to the go router which in turn directs the HTTP traffic to your app.

Ex: Browser -> HTTPS -> LB -> HTTP -> GoRouter -> HTTP -> Your App

You can tell if the traffic came from the user's browser via HTTPS by looking at the x-forwarded-proto header.

Dan


Thanks
Maaz


_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: opensaf comparison

James Bayer
 

thanks for your post as i have not heard for OpenSAF previously.

i helped create the presentation [1] i believe you're referencing. i have
been working in this platform space for quite awhile (coming up on 4 years
on cloud foundry and i have been in the java app server space virtually my
entire career). max and i's goal in the presentation was to compare the
platforms that come up often as we talk to community members and customers,
and we just picked the top several that could fit into 1/2 hr talk :)

we have not yet done another comparison recently, but there is interest in
a newer version of that type of content. i did not find the opensaf sites
too helpful on understanding how OpenSAF fits in and compares with other
offerings in the space. e.g. is it complimentary to something like cloud
foundry or an alternative, etc.

[1]
https://www.youtube.com/watch?list=PLhuMOCWn4P9irMaMNNIGQ8i0svMdFJWb9&v=k3TazUmv7Fg

On Mon, Jul 13, 2015 at 4:32 PM, Sashan Govender <sashang(a)gmail.com> wrote:

Hi

I had a look at the 2014 presentation here:
http://cloudfoundry.org/learn/index.html

In it they compared 6 platforms however OpenSAF was not one of them. I am
wondering where people creating these PaaS systems see OpenSAF fitting in
and what the regions of overlap. There seems to be a significant amount of
overlap in terms of functionality, for example, the ability to install,
upgrade and remove an application on set of nodes, a distributed
configuration database and monitoring of applications. Is there any reason
why OpenSAF is not considered for comparison when it provides some of the
features required for a PaaS system? Is it missing something fundametal to
PaaS? Is it too awkward to admin or use? Is it not very well known?

http://www.opensaf.org/
http://sourceforge.net/projects/opensaf/



_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev

--
Thank you,

James Bayer


Re: CF Lattice support for private registries (Artifactory Docker registry).

dharmi
 

Yes, the private registry, Artifactory, has auth credentials to access. I
ssh'd into the Lattice VM and updated the .dockercfg with the below JSON
(this works for my 'docker pull' commands),
vagrant(a)ubuntu-trusty-64:~$ cat .dockercfg
{
"https://docker-local.corp.myorg.com" : {
"auth" : "scrubbed",
"email" : "dharmi(a)gmail.com"
}
}

When running Lattice CLI, I am assuming that the authentication parameters
are taken from the .dockercfg file. I don't see any other means to provide
private registry's (Artifactory) credentials either on CF or from Lattice.
I could be wrong. pls suggest.



--
View this message in context: http://cf-dev.70369.x6.nabble.com/cf-dev-CF-Lattice-support-for-private-registries-Artifactory-Docker-registry-tp693p725.html
Sent from the CF Dev mailing list archive at Nabble.com.


FYI: CAB call for July 2015 - moved to 7/15 @ 8a PDT

Michael Maximilien
 

FYI...

Final reminder of the CAB call tomorrow at 8a PDT. See all info from last week's email below.

Also reminder to all PMs to include their highlights and to others to list any proposals or discussion items.

Talk to you all tomorrow morning. Best,

dr.max
ibm cloud labs
silicon valley, ca

Sent from my iPhone

On Jul 7, 2015, at 9:54 AM, Michael Maximilien <maxim(a)us.ibm.com> wrote:

Hi, all,

After conferring with James and Chip, we've agreed to move the call to next week Wednesday @ same time (8a PDT).

This helps folks who have extended their July 4th holiday in U.S. and hopefully is not inconvenient to others.

Finally, reminders:

1. Note the call information is relatively new (same as last time). Please take note:

USA 888-426-6840; 215-861-6239 | Participant code: 1985291
Other countries: http://goo.gl/RnNfc1

2. Please add to the agenda of you have something to discuss. I will send reminders again early next week.

Agenda: https://docs.google.com/document/d/1SCOlAquyUmNM-AQnekCOXiwhLs6gveTxAcduvDcW_xI/edit

3. If you own any of the recurring meetings please update with above.

Thanks much. Best,

dr.max
ibm cloud labs
silicon valley, ca

dr.max
ibm cloud labs
silicon valley, ca

Sent from my iPhone


Re: CF client library

Alexander Lomov <alexander.lomov@...>
 

Another option is cfoundry Ruby gem:

https://github.com/cloudfoundry-attic/cfoundry

But it is also not supported now. Still I used it in several projects not
long ago and it worked.

------------------------
Alex Lomov
*Altoros* — Cloud Foundry deployment, training and integration
*Twitter:* @code1n <https://twitter.com/code1n> *GitHub:* @allomov
<https://gist.github.com/allomov>

On Tue, Jul 14, 2015 at 3:16 PM, Noburou TANIGUCHI <dev(a)nota.m001.jp> wrote:

Thank you, Vlad.

I don't have much experience with .Net, but I'm glad to know there is
another client library in another programming language.




--
View this message in context:
http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p722.html
Sent from the CF Dev mailing list archive at Nabble.com.
_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: CF client library

Noburou TANIGUCHI
 

Thank you, Vlad.

I don't have much experience with .Net, but I'm glad to know there is
another client library in another programming language.




--
View this message in context: http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p722.html
Sent from the CF Dev mailing list archive at Nabble.com.


Re: HTTPS for Java App

Daniel Mikusa
 

On Mon, Jul 13, 2015 at 7:01 PM, Khan, Maaz <Maaz.Khan(a)emc.com> wrote:

Hello,



We have CF 197 deployed in our environment (without HA Proxy).
Do you have a different load balancer then?


I am trying to push a standalone Spring boot JAR (with embedded tomcat).
The app starts properly but I can’t access it via https.



I have these settings for my spring boot app

server:

tomcat:

remote_ip_header: x-forwarded-for

protocol_header: x-forwarded-proto



Also

Within the app I have configured the tomcat to accept SSL connection using
this sample


https://github.com/spring-projects/spring-boot/blob/master/spring-boot-samples/spring-boot-sample-tomcat-multi-connectors/src/main/java/sample/tomcat/multiconnector/SampleTomcatTwoConnectorsApplication.java



Can someone please point out what I am missing in order to get Https
working for my app.
Usually this is not necessary. Your app would just need to listen on the
port assigned to it (i.e. via PORT env variable) and it would listen for
incoming HTTP traffic.


Do I need to enable something within the CF deployment ?
Usually what happens is that HTTPS traffic is terminated at your load
balancer (that's why I asked if you had one above). The load balancer will
then send a request to the go router which in turn directs the HTTP traffic
to your app.

Ex: Browser -> HTTPS -> LB -> HTTP -> GoRouter -> HTTP -> Your App

You can tell if the traffic came from the user's browser via HTTPS by
looking at the x-forwarded-proto header.

Dan




Thanks

Maaz



_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: CF client library

Vlad Iovanov
 

There’s also a .NET SDK: https://github.com/cloudfoundry-incubator/cf-dotnet-sdk (available on nuget.org as well).

Cheers,
Vlad

From: <cf-dev-bounces(a)lists.cloudfoundry.org<mailto:cf-dev-bounces(a)lists.cloudfoundry.org>> on behalf of Gwenn Etourneau <getourneau(a)pivotal.io<mailto:getourneau(a)pivotal.io>>
Reply-To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>>
Date: Tuesday, July 14, 2015 at 9:09 AM
To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>>
Subject: Re: [cf-dev] CF client library

humm,
Most simple is to call the Cloudcontroller API....
like we do here https://github.com/cloudfoundry-community/go-cfclient

On Tue, Jul 14, 2015 at 2:46 PM, nota-ja <dev(a)nota.m001.jp<mailto:dev(a)nota.m001.jp>> wrote:
Hi,

# I have posted this message once, but there does not appear the post, so I
repost this.
# If you find duplicated messages, please ignore the first one.

We're currently planning to write a Web dashboard for a Cloud Foundry
deployment.

Our old dashboard uses cfoundry
<https://github.com/cloudfoundry-attic/cfoundry> , but it is now outdated
and abandoned.

So I want to know how do other people create their Web dashboard for the
latest Cloud Foundry environment.

I think there are a few options right now:

(A) Use " cf <https://github.com/cloudfoundry/cli> curl" as an external
command
(B) Write a dashboard in Golang using cf cli
<https://github.com/cloudfoundry/cli> as a library
(C) Use cf cli <https://github.com/cloudfoundry/cli> RPC server like cli
plug-ins do
(D) Write a dashboard in Java on the top of cf-java-client
<https://github.com/cloudfoundry/cf-java-client> library

Please let me know which option you are using, or any other way to build a
dashboard, if you are able to disclose it.

Thanks in advance.




--
View this message in context: http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712.html
Sent from the CF Dev mailing list archive at Nabble.com.
_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: CF client library

Gwenn Etourneau
 

I am going everytime mostly :) anyway next time will come to you.

On Tue, Jul 14, 2015 at 5:31 PM, Noburou TANIGUCHI <dev(a)nota.m001.jp> wrote:

Thanks, Dieu.

This repo is not officially maintained by the cloud foundry foundation.
I see.

We do want the api to be easily consumable by clients other than the cf
cli.
Is there any plan to do that?




--
View this message in context:
http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p718.html
Sent from the CF Dev mailing list archive at Nabble.com.
_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: CF client library

Noburou TANIGUCHI
 

Thanks, Dieu.

This repo is not officially maintained by the cloud foundry foundation.
I see.

We do want the api to be easily consumable by clients other than the cf
cli.
Is there any plan to do that?




--
View this message in context: http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p718.html
Sent from the CF Dev mailing list archive at Nabble.com.


Re: CF client library

Noburou TANIGUCHI
 

Thank you again, Gwenn.

Btw are you based in Japan ?
Yes. I'm in Japan and I am Japanese. It is because my English is so awkward.

I am in Japan :)
Great.
If you have time, please come paas-jp <http://paas.connpass.com/> events
and see me.



--
View this message in context: http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p717.html
Sent from the CF Dev mailing list archive at Nabble.com.


Re: CF client library

Dieu Cao <dcao@...>
 

This repo is not officially maintained by the cloud foundry foundation.
Due to that, it is not as actively updated to stay in synch with the cloud
controller api as the cf cli.
We do want the api to be easily consumable by clients other than the cf cli.

-Dieu
CF CAPI PM

On Tue, Jul 14, 2015 at 1:10 AM, Gwenn Etourneau <getourneau(a)pivotal.io>
wrote:

Yes you can find the version based on the cf-release version here
http://apidocs.cloudfoundry.org/212/

For the pro/cons I don t really know, I just contributed to the
go-cfclient so I don't really know the "official" client.

Depends on your needs..

Btw are you based in Japan ?
I am in Japan :)

On Tue, Jul 14, 2015 at 4:56 PM, Noburou TANIGUCHI <dev(a)nota.m001.jp>
wrote:

Thanks for your quick reply, Gwenn.
I haven't known https://github.com/cloudfoundry-community/go-cfclient .
I'm glad to know a new CF client library. It seems very easy to use.

Besides studying it by myself, I want to ask some questions about it.

* What's the difference (pros / cons) between the official cli and
go-cfclient?
* How can I know how up-to-date it is with the latest Cloud Controller
API?

(It might be better to ask these questions as the repo's issue...)



--
View this message in context:
http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p714.html
Sent from the CF Dev mailing list archive at Nabble.com.
_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev

_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: CF client library

Gwenn Etourneau
 

Yes you can find the version based on the cf-release version here
http://apidocs.cloudfoundry.org/212/

For the pro/cons I don t really know, I just contributed to the go-cfclient
so I don't really know the "official" client.

Depends on your needs..

Btw are you based in Japan ?
I am in Japan :)

On Tue, Jul 14, 2015 at 4:56 PM, Noburou TANIGUCHI <dev(a)nota.m001.jp> wrote:

Thanks for your quick reply, Gwenn.
I haven't known https://github.com/cloudfoundry-community/go-cfclient .
I'm glad to know a new CF client library. It seems very easy to use.

Besides studying it by myself, I want to ask some questions about it.

* What's the difference (pros / cons) between the official cli and
go-cfclient?
* How can I know how up-to-date it is with the latest Cloud Controller API?

(It might be better to ask these questions as the repo's issue...)



--
View this message in context:
http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p714.html
Sent from the CF Dev mailing list archive at Nabble.com.
_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


Re: CF client library

Noburou TANIGUCHI
 

Thanks for your quick reply, Gwenn.
I haven't known https://github.com/cloudfoundry-community/go-cfclient .
I'm glad to know a new CF client library. It seems very easy to use.

Besides studying it by myself, I want to ask some questions about it.

* What's the difference (pros / cons) between the official cli and
go-cfclient?
* How can I know how up-to-date it is with the latest Cloud Controller API?

(It might be better to ask these questions as the repo's issue...)



--
View this message in context: http://cf-dev.70369.x6.nabble.com/CF-client-library-tp712p714.html
Sent from the CF Dev mailing list archive at Nabble.com.

8661 - 8680 of 9426