*** yamamoto has joined #murano | 00:11 | |
*** yamamoto has quit IRC | 00:14 | |
*** lawrancejing has joined #murano | 00:35 | |
*** lawrance_ has joined #murano | 00:35 | |
*** lawrancejing has quit IRC | 00:35 | |
*** xiangxinyong has joined #murano | 00:43 | |
*** sergmelikyan has joined #murano | 00:58 | |
*** sergmelikyan has quit IRC | 01:02 | |
*** yamamoto has joined #murano | 01:15 | |
*** zhurong has joined #murano | 01:18 | |
*** yamamoto has quit IRC | 01:20 | |
*** xiangxinyong has quit IRC | 01:21 | |
*** lin_yang1 has joined #murano | 01:38 | |
*** Piet has joined #murano | 02:17 | |
*** lawrance_ has quit IRC | 02:53 | |
*** xiangxinyong has joined #murano | 02:54 | |
*** vahidh has joined #murano | 03:02 | |
*** xiangxinyong has quit IRC | 03:28 | |
*** vahidh has quit IRC | 03:48 | |
*** vahidh has joined #murano | 04:10 | |
*** zhurong has quit IRC | 04:18 | |
*** sergmelikyan has joined #murano | 04:28 | |
*** sergmelikyan has quit IRC | 04:33 | |
*** vahidh has quit IRC | 04:50 | |
*** zhurong has joined #murano | 04:53 | |
*** Nikolay_St has joined #murano | 05:10 | |
*** xiangxinyong has joined #murano | 05:52 | |
*** nkoffman_ has joined #murano | 06:36 | |
openstackgerrit | Merged openstack/murano: Use default devstack functions for create murano in devsstack environment https://review.openstack.org/220760 | 06:50 |
---|---|---|
*** sergmelikyan has joined #murano | 06:59 | |
*** sergmelikyan has quit IRC | 07:03 | |
*** xiangxinyong_ has joined #murano | 07:11 | |
*** mgershen has joined #murano | 07:27 | |
openstackgerrit | Lin Yang proposed openstack/murano: Convert api internal TypeError to HTTPBadRequest https://review.openstack.org/220786 | 07:36 |
openstackgerrit | Lin Yang proposed openstack/murano: Convert api internal TypeError to HTTPBadRequest https://review.openstack.org/220786 | 07:40 |
*** xiangxinyong__ has joined #murano | 07:40 | |
*** mgershen has quit IRC | 07:42 | |
*** xiangxinyong has quit IRC | 07:43 | |
*** mgershen has joined #murano | 08:22 | |
*** zhurong has quit IRC | 09:06 | |
*** lawrancejing has joined #murano | 09:17 | |
openstackgerrit | Lin Yang proposed openstack/murano: Improve error message in case no environment name https://review.openstack.org/220800 | 09:34 |
*** lawrancejing has quit IRC | 09:48 | |
*** mgershen has quit IRC | 10:27 | |
*** mgershen has joined #murano | 10:32 | |
*** lawrancejing has joined #murano | 10:49 | |
*** lawrancejing has quit IRC | 10:56 | |
openstackgerrit | Victor Ryzhenkin proposed openstack/murano: ID references made model not able to load in 2 passes https://review.openstack.org/220757 | 11:09 |
*** gpaz has joined #murano | 11:11 | |
gpaz | Hi guys, I m trying to use YQAL expression on devStack, and AFAIK few weeks ago we went out with YAQL 1.0 so might change some expressions. I m trying to use this : “<% $.list_stack_servers.where($.resource_type = 'OS::Nova::Server').physical_resource_id %>” list_stack_servers is list stack resources . Is antbody know if using “where” is ok with new YAQL ? or maybe syntax changed ? | 11:11 |
*** lawrancejing has joined #murano | 11:19 | |
freerunner | gpaz: Hi man! Unfortunately, I don't exactly know about how syntax changed. And looks like the correct persons for this question are StanLagun and ativelkov. But today these guys may be without access to this chat. I suggest you to try communicate with them tomorrow ;) | 12:40 |
StanLagun | gpaz: are you doing this in Mistral? | 12:49 |
StanLagun | gpaz: where is okay but it might be not what you are looking for. where just filters collection so in the end you will get a list (probably of 1 element). you might want to append .first() to the query | 12:53 |
*** sergmelikyan has joined #murano | 13:00 | |
*** sergmelikyan has quit IRC | 13:04 | |
gpaz | StanLagun, yes in Mistral wf | 13:14 |
gpaz | StanLagun, I will try to use 'first()' but AFAIK also for one element the response is list. using YAQLuator (http://yaqluator.com) that runnig yaql 0.2.7 it is working fine but using Mistral Liberty it is not what makes me suspect that syntax changed | 13:16 |
gpaz | StanLagun, these yaqluator by the way created by Moshe from our team ... | 13:18 |
gpaz | StanLagun, thanks for your response :) | 13:18 |
StanLagun | gpaz: how do I run this expression in YAQLuator? | 13:19 |
StanLagun | gpaz: the syntax haven't changed for the most parts | 13:19 |
gpaz | use this as YAML/JSON : | 13:20 |
gpaz | { "resources": [ { "links": [ { "href": "http://10.48.3.5:8004/v1/c2edb9de95964f8ca45766d12e22ec44/stacks/myStack4c2160e8Index0/2252cd08-3c5d-465d-9b50-a0535e70dec9/resources/server0", "rel": "self" }, { "href": "http://10.48.3.5:8004/v1/c2edb9de95964f8ca45766d12e22ec44/stacks/myStack4c2160e8Index0/2252cd08- | 13:20 |
*** slagun has joined #murano | 13:20 | |
slagun | If I run $.servers.where($.resource_type = 'OS::Nova::Server').physical_resource_id against heat_v1_stack_list it returns empty list (as expected) | 13:21 |
gpaz | and this expression : $.resources.where($.resource_type = 'OS::Nova::Server').physical_resource_id | 13:21 |
slagun | gpaz: btw there is a yaql console utility to interactively evaluate yaql expressions | 13:22 |
gpaz | StanLagun, for input use some stack resources list if you have | 13:23 |
gpaz | slagun, thanks, where I can find some refrence how to use that CLI ? | 13:23 |
gpaz | reference | 13:24 |
*** StanLagun has quit IRC | 13:24 | |
slagun | where() always give you a collection. collection.attribute will also give you collections because it is the same as collection.select($.attribute). first() is available in yaql >= 1.0.0 and returns you first element of collection or exception if it is empty. first(defaultValue) will return defaultValue instead of exception | 13:25 |
slagun | gpaz: just run it. It is similar to python console REPL utility | 13:25 |
slagun | it will guide you | 13:26 |
*** ericksonsantos has quit IRC | 13:26 | |
slagun | gpaz: btw are you going to update YAQLuator to 1.0.0? | 13:27 |
gpaz | slagun, I hope we will have time for that soon ... | 13:28 |
slagun | gpaz: I'm finishing my work on 1.1.0 already :) | 13:29 |
*** ericksonsantos has joined #murano | 13:30 | |
gpaz | slagun, do you have something like this YAQLautor (this CLI you mentioned) ? | 13:32 |
slagun | gpaz: CLI (yaql command) is very much the same only that it is not in web and without set of example JSONs | 13:33 |
gpaz | slagun, I m feeling that you like that Web UI with examples ;) | 13:34 |
gpaz | slagun, we will see how and when we have the time and upgrade to 1.0 | 13:35 |
slagun | yes, its really cool but there are several things that I'd like to see there. In a perfect world it could be like https://regex101.com/ | 13:36 |
gpaz | slagun, Oh yes... absolutely ! | 13:37 |
slagun | But I rarely need yaql evaluator. I can do it in my head and use 1.0 unit test as a reference. There are examples for every thing imaginable there | 13:37 |
gpaz | Thanks, I will try to use tests ... (using it with mistral and more that with Heat - as I m using right now - makes it more coplicated than the test :) | 13:38 |
gpaz | the test are in Murano project ? | 13:39 |
*** ericksonsantos has quit IRC | 13:39 | |
gpaz | tests* | 13:39 |
slagun | https://github.com/stackforge/yaql/tree/master/yaql/tests | 13:39 |
gpaz | slagun, Thanks appreciate it | 13:41 |
slagun | gpaz: you are welcomed! | 13:41 |
slagun | gpaz: where is your team located in Israel? what city? | 13:42 |
slagun | *which* | 13:43 |
gpaz | slagun, Yes, but it's classified | 13:45 |
gpaz | Joking :) , Renat (Mistral) and Alex Tivelkov were here few weeks ago if you familure with them ... | 13:47 |
gpaz | (they are also from Mirantis) | 13:47 |
*** yamamoto has joined #murano | 13:47 | |
slagun | I forgot to ask them | 13:47 |
gpaz | slagun, anyway in Kfar Saba (alcatel Lucent Office) | 13:48 |
slagun | I've been living in Yeruham long ago for about 6 years. Never been in Kfar Saba though | 13:49 |
*** ericksonsantos has joined #murano | 13:50 | |
gpaz | slagun, well its much different, Yruham is in the south much different from the center of Israel .. | 13:51 |
slagun | Yes I know, I've been in all regions of the country and Negev is still my favorite | 13:56 |
*** yamamoto has quit IRC | 14:13 | |
*** mgershen has quit IRC | 14:45 | |
*** xiangxinyong__ has quit IRC | 15:08 | |
*** xiangxinyong_ has quit IRC | 15:08 | |
*** yamamoto has joined #murano | 15:14 | |
*** yamamoto has quit IRC | 15:19 | |
*** mgershen has joined #murano | 16:13 | |
*** mgershen has quit IRC | 16:13 | |
*** Nikolay_St has quit IRC | 17:35 | |
*** lawrancejing has quit IRC | 19:15 | |
*** sergmelikyan has joined #murano | 19:22 | |
*** sergmelikyan has quit IRC | 20:26 | |
*** asalkeld has joined #murano | 21:25 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!