Re: some func-transmit test cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Great Adrian.

I think that Michael has thought, about clients patch, to make something inside client.py (ex. a method that accept a list and not only a simple string)... but good for now ;)

About --json and --yaml and so on... I don't make nothing at all today. I was busy on symbolic implementation (we must be ready to go out with new func release). I don't understand if you have doe something for this thing too, but in any case, I can help you tomorrow morning (morning for me... +1gmt ;))

Bye
Marco

Adrian Likins wrote:
Adrian Likins wrote:
Marco Mornati wrote:
Hi Adrian,

I don't know which problem have you found. What I see during func-transmit tests is that we cannot call func using list for client and parameters. Michael said (on IRC I think) that we must change client.py, and don't know which other class, to get func working with this type of "parameters"... at the moment I've made a patch inside func-java api, so java can call without problem func-transmit and all work correctly.

Yup, thats what the patch in that tree does. It handles the case of a list of parameters being passed, which should be how it's called. It also handles the case of a single item being passed in, but thats not the preferred approach.

I didn't test the case of multiple hostname globs, but yeah, it needs to be able to handle that as well. A similar approach would work.

hostname glob stuff is fixed now, more or less. Along with some more test cases at http://github.com/alikins/func-alikins-devel/commits/home-devel

(just realized I push some of this last night to the master tree. Sorry about that, didn't mean to break anyone if I did. A bit of a git typo.

Adrian


--
Dott. Ing. Mornati Marco
Byte-Code s.r.l
via Antonio Cechov, 1
San Giuliano Milanese (MI)
E-Mail: mmornati@xxxxxxxxxxxxx


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux