Re: Reserved routes
Mike Youngstrom <youngm@...>
Agreed. Might make a good issue for the CC to not allow routes to be
toggle quoted messageShow quoted text
created that exist in the new Route API or something like that. Mike
On Tue, Jun 16, 2015 at 3:03 PM, Mike Jacobi <jacobi(a)adobe.com> wrote:
Thanks, Mike. I implemented and tested the second option and so far it
|
|
Re: CfSummit slides
Cornelia Davis <cdavis@...>
So sorry to ask a lame question, even after all of this discussion - what
is the preferred way to submit slides? Email to whom? Or CFPs if still available? On Tue, Jun 16, 2015 at 3:44 PM, C. Craig Ross <ccr(a)linuxfoundation.org> wrote: Hi Guillaume,
|
|
Re: CfSummit slides
C. Craig Ross <ccr@...>
Hi Guillaume,
toggle quoted messageShow quoted text
Regrettably there was some confusion and some speakers submitted them slides via the CFP system instead of emailing them. The former is the normal behavior for the majority of our events but the CF Summit slides needed to be uploaded separately by our events team. We will get your slides and the others up on the site in the next 24hrs. Our apologies for the trouble and thanks for bringing this to our attention. Cheers, C.
On Tue, Jun 16, 2015 at 6:12 PM, Guillaume Berche <bercheg(a)gmail.com> wrote:
Thank Angela for your response. I wonder whether the CFP system is --
C. Craig Ross Director of Creative Services & Developer Programs The Linux Foundation http://www.linuxfoundation.org/
|
|
Re: CfSummit slides
Thank Angela for your response. I wonder whether the CFP system is properly
toggle quoted messageShow quoted text
listing speaker submitted slides, as for example my two sessions indeed have their slides attached to their associated proposal [1-4], and they don't yet appear into [5]. Are there some other speakers on the cf-dev list that had their slides posted on the cfp system and don't yet see them published onto [5] ? Thanks, Guillaume. [1] http://events.linuxfoundation.org/sites/events/files/slides/orange_case_study_0.pdf [2] http://events.linuxfoundation.org/cfp/proposals/5249/4719 [3] http://events.linuxfoundation.org/sites/events/files/slides/adapting_cf_to_org_reqs.pdf [4] http://events.linuxfoundation.org/cfp/proposals/5249/4721 [5] http://www.cfsummit.com/program/slides Guillaume.
On Thu, Jun 11, 2015 at 1:42 AM, CF Events <events(a)cloudfoundry.org> wrote:
Hello Guillaume,
|
|
Re: Need for machine-readable “Application Interface”
CF Runtime
It is something we are thinking about for the V3 cloud controller API, but
no formal decisions have been made at this point. So feedback and suggestions are certainly welcome. Zak and Joseph CF Runtime Team On Tue, Jun 16, 2015 at 2:51 PM, Deepak Vij (A) <deepak.vij(a)huawei.com> wrote: Hi folks, I would like to start a thread on the need for
|
|
Need for machine-readable “Application Interface”
Deepak Vij
Hi folks, I would like to start a thread on the need for machine-readable “Application Interface” supported at the platform level. Essentially, this interface describes details such as available methods/operations, inputs/outputs data types (schema), application dependencies etc. Any standard specifications language can be used for this purpose, as long as it clearly describes the schema of the requests and responses – one can use Web Application Description Language (WADL), Swagger, RESTful API Modeling Language (RAML), JSON Schema (something like JSON Schema for Heroku Platform APIs) or any other language that provides similar functionality. These specifications are to be automatically derived from the code and are typically part of the application development process (e.g. generated by the build system).
Such functionality can have lots of usage scenarios: 1. First and foremost, Deployment Governance for API Management (our main vested interest) – API Versioning & Backward Compatibility, Dependency Management and many more as part of the comprehensive telecom API Management capabilities which we are currently in the process of building out. 2. Auto-creating client libraries for your favorite programming language. 3. Automatic generation of up-to-date documentation. 4. Writing automatic acceptance and integration tests etc. From historical perspective, in the early 2000s when SOA started out, the mindset was to author the application contract-first (application interface using WSDL at that time) and subsequently generate and author code from the application interface. With the advent of RESTful services, REST community initially took a stand against such metadata for applications. Although, a number of metadata standards have none-the-less emerged over the last couple of years, mainly fueled by the use case scenarios described earlier. Based on my knowledge, none of this currently exists within Cloud Foundry at the platform level. It would be highly desirable to have a standard common “application interface” definition at the platform level, agnostic of the underlying application development frameworks. I hope this all makes sense. I think this is something could be very relevant to the “Utilities” PMC. I will also copy&paste this text under “Utilities” PMC-notes on the github. I would love to hear from the community on this. Thanks. Regards, Deepak Vij
|
|
Re: Reserved routes
MJ
Thanks, Mike. I implemented and tested the second option and so far it appears to be working great.
toggle quoted messageShow quoted text
A side note: It’s a bit surprising CF allows names like api and uaa when the platform is using the same domain considering, theoretically, a user could create apps and routes for those services and capture sensitive info. -Mike
On Jun 15, 2015, at 2:32 PM, Mike Youngstrom <youngm(a)gmail.com<mailto:youngm(a)gmail.com>> wrote:
Two thoughts: * Put your private system domain in an Org that users you don't trust won't have access to. * Create routes without an app for the names you wish to "reserve" Mike On Mon, Jun 15, 2015 at 3:30 PM, Mike Jacobi <jacobi(a)adobe.com<mailto:jacobi(a)adobe.com>> wrote: It appears users can create their own routes named the same as critical endpoints such as api, doppler, loggregator, uaa, etc. In fact, I just created an app with routes doppler and loggregator and the platform did nothing to prevent me from doing so. The “cf logs” behavior was then unpredictable. Is there some way to prevent this? Am I missing something? Thanks, Mike _______________________________________________ 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 _______________________________________________ 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: Ordering lists of objects in the CF CLI
Mike Youngstrom <youngm@...>
I like option #2 but I wouldn't even worry about adding a --asc or native
toggle quoted messageShow quoted text
order flag until someone requests it. My biggest issue with it not being ordered is it makes it harder to find an item in a list once it become 20-30 items big. So, I vote for a single consistent easy to follow list order which I believe alphabetical descending would provide. Also, don't forget about ordering the lists of orgs and spaces presented to the user during login. Mike
On Tue, Jun 16, 2015 at 12:42 PM, Greg Oehmen <goehmen(a)pivotal.io> wrote:
Hey All:
|
|
Re: CF CLI Async
Long Nguyen
Hey Shannon,
toggle quoted messageShow quoted text
I have some legacy service broker that take quite a long time to create service. I’ve set “cc.broker_client_timeout_seconds to 5 mins but this is ignored because of accepts_incomplete=true it seems. The timeout seem to be 60 seconds. When using older CLI it works. I’m looking for possible workarounds for this. I would rather not be stuck on using v6.8.0 cli. Long
On June 16, 2015 at 3:06:58 PM, Shannon Coen (scoen(a)pivotal.io) wrote:
Hello Long, There is not currently a way to prevent CLI from sending the accepts_incomplete=true parameter. Could you help me understand your use cases for wanting this? Thank you! Shannon Coen Product Manager, Cloud Foundry Pivotal, Inc. On Tue, Jun 16, 2015 at 11:15 AM, Long Nguyen <long.nguyen11288(a)gmail.com> wrote: Is there a way to turn off async when creating service? It seem like on v6.11.3 the post is "/v2/service_instances?accepts_incomplete=true” is there a way to disable this? Thanks, Long _______________________________________________ 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: Proposal for incubation of receptor-client (Java client for receptor)
Mike Youngstrom <youngm@...>
+1
toggle quoted messageShow quoted text
I'd like to see even more first class Java clients for Cloud Foundry APIs be promoted. Mike
On Tue, Jun 16, 2015 at 11:56 AM, Ryan Morgan <ryanmorgan(a)gmail.com> wrote:
|
|
Re: How random is Metron's Doppler selection?
Mike Youngstrom <youngm@...>
I agree. The app knows what is multi line and what isn't. So, the problem is what is the most appropriate way for the application to communicate to loggregator what should be multi-line and what shouldn't be. The '\' was just a thought that it might be a less heavy way compared to syslog to give an application a way to communicate this intent with loggregator. Using a more rich endpoint like syslog might be another approach. Either way I think us as loggregator users need some help from the loggregator team to improve this scenario. Mike
|
|
Re: CF CLI Async
Shannon Coen
Hello Long,
There is not currently a way to prevent CLI from sending the accepts_incomplete=true parameter. Could you help me understand your use cases for wanting this? Thank you! Shannon Coen Product Manager, Cloud Foundry Pivotal, Inc. On Tue, Jun 16, 2015 at 11:15 AM, Long Nguyen <long.nguyen11288(a)gmail.com> wrote: Is there a way to turn off async when creating service? It seem like on
|
|
Ordering lists of objects in the CF CLI
Greg Oehmen
Hey All:
The CLI team has recently been chewing on ordering sets of objects like orgs and apps. We've gotten a couple PRs [0] recently related to this. I've been asking internally around CF teams about the value here with mixed results and would like to hear some input from the OSS community. Currently, lists are returned in ccdb insert order which basically means oldest (first inserted) to newest (most recently inserted). The CC API has an order-direction parameter which enables you to reverse that order and see objects newest to oldest. If we wanted to enable the ordering of a return set, there are a couple options: 1. Keep the default order as it currently is natively sent by the CC API. Add two flags to any 'list' command for desc & asc: `cf orgs --asc` --> sorts in (A-Z, 1-9) order `cf orgs --desc` --> sorts in (Z-A, 9-1) order 2. Change the default order to descending in the CF CLI and add a single flag to reverse order (see --asc in option 1 above). This would mean that the object list is always returned to the CLI user in descending order. But is there any value here? How often would you use the '--asc' flag? In this scenario, would you then want the CLI to include a flag to return object lists in the order that is native to the CC API? Then there is always the option to do nothing. If there is not as much perceived value here in the OSS community, then not changing anything is always an option. Here is the set of all CF CLI commands that return lists of objects. If we opt for 1 or 2 above, we would apply that option to this entire set (which is ironically not in any sort order). apps stacks services service-keys orgs spaces domains routes buildpacks org-users space-users quotas space-quotas service-auth-tokens service-brokers security-groups staging-security-groups running-security-groups plugins list-plugin-repos repo-plugins Also - I know that the desc & asc sort order is more complex than my example above (a-z, 0-9) due to upper/lower case, non-alphanumeric, etc. We will follow standard linux sort order convention. Last thing - Conversations so far have not even taken CF CLI internationalization into account. This may turn out to be waaaaaay harder than it seemed. That's why I'm trying to gauge perceived value. Will this change make your life easier and make you a more effective user of the CF CLI? Thanks [0] https://github.com/cloudfoundry/cli/pull/481, https://github.com/cloudfoundry/cli/pull/457 Greg Oehmen Cloud Foundry Product Manager 415.205.6596
|
|
Re: How random is Metron's Doppler selection?
Stuart Charlton
Hi Mike (Youngstrom),
On Tue, Jun 16, 2015 at 11:46 AM, <cf-dev-request(a)lists.cloudfoundry.org> wrote: I think the challenge here is being able to distinguish between events that are emitted by an App log vs. a multi-line event. Only the app really would know this information, wouldn't it? i.e. it has to be done at the app level? This may not be too hard with the common logger frameworks, and perhaps documenting the pattern in a blog post for developers to reference. -- Stuart Charlton Pivotal Software | Field Engineering Mobile: 403-671-9778 | Email: scharlton(a)pivotal.io
|
|
Re: CF CLI authentication issue
Madhura Bhave
Hi Stephan,
toggle quoted messageShow quoted text
Could you send us the entire log for the UAA? Madhura
On Tue, Jun 16, 2015 at 9:04 AM, Benjamin Black <bblack(a)pivotal.io> wrote:
Stephan,
|
|
CF CLI Async
Long Nguyen
Is there a way to turn off async when creating service? It seem like on v6.11.3 the post is "/v2/service_instances?accepts_incomplete=true” is there a way to disable this?
Thanks, Long
|
|
Proposal for incubation of receptor-client (Java client for receptor)
Ryan Morgan <ryanmorgan@...>
Hello,
At Pivotal we have been working on a Java client for receptor. We would like to propose the receptor-client for official incubation into the Cloud Foundry Foundation. The receptor-client is a Java client for communicating with Diego's Restful API. This project was started by Mark Fisher and the repository can be found at: https://github.com/markfisher/receptor-client. This is the only Java client for receptor that we're aware of, we believe that others will find it useful and placing it into incubation will help grow awareness. This library is already being used in several Pivotal projects that use Lattice as a deployment target. There is a branch prepared that updates all the package names to org.cloudfoundry. Subject to approval, we are ready to move this repository as soon as possible. There has been some discussion on whether this best fits under the umbrella of the Runtime or Utilities PMCs, with the latter being the general consensus. I look forward to comments/questions. Thank you, -Ryan
|
|
Re: Multi-node CCNG Problem
CF Runtime
Are you talking about internal Cloud Controller tasks scheduled using
toggle quoted messageShow quoted text
Delayed Job? The workers that process those jobs should lock the job before performing any work. Is this not what you are seeing? Joseph & Zak CF Runtime Team
On Mon, Jun 15, 2015 at 12:09 AM, tan_bw(a)163.com <tan_bw(a)163.com> wrote:
Hi there:
|
|
Re: I: R: Re: Log connections from security groups - bosh lite
CF Runtime
We had similar problems on Bosh Lite. Because of the way containers are
made, this feature won't work on a Bosh Lite environment. Zak & Joseph CF Runtime Team On Sun, Jun 14, 2015 at 11:25 PM, Michael Grifalconi < michael.grifalconi(a)studenti.unimi.it> wrote: Hello all,
|
|
Re: CF CLI authentication issue
Benjamin Black
Stephan,
Have you verified the clocks are in sync, perhaps using ntp, across all the systems involved? b On Tue, Jun 16, 2015 at 8:42 AM, Klevenz, Stephan <stephan.klevenz(a)sap.com> wrote: Hi,
|
|