*** bobh has joined #openstack-mistral | 01:33 | |
openstackgerrit | Jizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning https://review.openstack.org/414498 | 01:59 |
---|---|---|
*** bobh has quit IRC | 02:04 | |
*** bobh has joined #openstack-mistral | 02:31 | |
*** bobh has quit IRC | 02:33 | |
*** gongysh has joined #openstack-mistral | 02:36 | |
*** bobh has joined #openstack-mistral | 02:45 | |
*** bobh has quit IRC | 02:59 | |
openstackgerrit | Jizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning https://review.openstack.org/414498 | 03:47 |
openstackgerrit | Renat Akhmerov proposed openstack/mistral: Add "has" DB filter https://review.openstack.org/415192 | 04:23 |
openstackgerrit | Renat Akhmerov proposed openstack/mistral: Add the "has" DB filter https://review.openstack.org/415192 | 04:36 |
openstackgerrit | Jizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning https://review.openstack.org/414498 | 05:30 |
*** sharatss has quit IRC | 06:09 | |
*** sharatss has joined #openstack-mistral | 07:11 | |
*** ^Gal^ has joined #openstack-mistral | 07:33 | |
*** ^Gal^ has quit IRC | 08:22 | |
*** ^Gal^ has joined #openstack-mistral | 08:39 | |
*** mgershen has joined #openstack-mistral | 09:12 | |
rakhmerov | sharatss: hi | 09:21 |
*** gongysh has quit IRC | 10:01 | |
*** mgershen has quit IRC | 10:31 | |
*** mgershen has joined #openstack-mistral | 10:39 | |
*** mgershen has quit IRC | 10:56 | |
*** sharatss has quit IRC | 11:14 | |
*** sharatss has joined #openstack-mistral | 11:15 | |
*** mgershen has joined #openstack-mistral | 11:19 | |
sharatss | rakhmerov: hi | 11:39 |
openstackgerrit | Sharat Sharma proposed openstack/mistral: Fix failing test cases in test_tasks https://review.openstack.org/414541 | 11:59 |
openstackgerrit | Sharat Sharma proposed openstack/mistral: Remove two failing test cases in test_tasks https://review.openstack.org/414541 | 12:00 |
rakhmerov | sharatss: how can I help you with those tests? | 12:06 |
rakhmerov | do you know why they are failing now? | 12:06 |
sharatss | rakhmerov: i have removed both of them | 12:06 |
sharatss | rakhmerov: are they important at this point? | 12:07 |
rakhmerov | maybe not so much but the approach to disable tests is not what we should endorse on the project | 12:08 |
rakhmerov | if we really get stuck with fixing something due to some fundamental serious reasons then yes | 12:08 |
rakhmerov | but at least we first need to find out what's wrong | 12:09 |
rakhmerov | I saw you added mocking db api call | 12:09 |
rakhmerov | seems like it didn't help | 12:09 |
sharatss | rakhmerov: yes | 12:09 |
rakhmerov | do you know why? | 12:09 |
sharatss | rakhmerov: nope :9 | 12:09 |
rakhmerov | what problem are you falling into now? | 12:09 |
rakhmerov | after mocking it | 12:09 |
sharatss | rakhmerov: its again a 404 | 12:10 |
rakhmerov | because of what? | 12:10 |
sharatss | rakhmerov: [id=abc] not found | 12:10 |
rakhmerov | what does it mean? | 12:10 |
rakhmerov | please translate it :) | 12:10 |
sharatss | rakhmerov: i mean Workflow execution with the id was not found | 12:11 |
rakhmerov | maybe you need to mock it too? | 12:11 |
rakhmerov | keep in mind that we don't create real DB objects in API tests | 12:12 |
rakhmerov | we mock all objects in DB | 12:12 |
sharatss | rakhmerov: seems like i should mock db_api get_workflow_execution | 12:12 |
sharatss | rakhmerov: but that was what i had done before :( | 12:13 |
*** mgershen has quit IRC | 12:14 | |
rakhmerov | please try again and see what you get after that | 12:16 |
openstackgerrit | Sharat Sharma proposed openstack/mistral: Fix two failing test cases in test_tasks https://review.openstack.org/414541 | 12:18 |
*** mgershen has joined #openstack-mistral | 12:22 | |
*** catinthe_ has joined #openstack-mistral | 12:52 | |
*** catintheroof has quit IRC | 12:55 | |
*** mgershen has quit IRC | 13:03 | |
*** mgershen has joined #openstack-mistral | 13:11 | |
*** catintheroof has joined #openstack-mistral | 13:44 | |
*** catinthe_ has quit IRC | 13:48 | |
openstackgerrit | Sharat Sharma proposed openstack/mistral: Fix two failing test cases in test_tasks https://review.openstack.org/414541 | 13:53 |
sharatss | rakhmerov: ^^ please take a look. Finally this passed the tests | 13:54 |
*** mgershen has quit IRC | 14:36 | |
*** mgershen has joined #openstack-mistral | 14:49 | |
*** bobh has joined #openstack-mistral | 15:23 | |
*** bobh has quit IRC | 15:35 | |
*** bobh has joined #openstack-mistral | 15:39 | |
*** bobh has quit IRC | 16:17 | |
*** bobh has joined #openstack-mistral | 16:19 | |
*** ^Gal^ has quit IRC | 16:43 | |
*** ^Gal^ has joined #openstack-mistral | 16:43 | |
*** ^Gal^ has quit IRC | 16:51 | |
*** bobh has quit IRC | 17:05 | |
*** bobh has joined #openstack-mistral | 17:14 | |
*** bobh has quit IRC | 18:06 | |
*** bobh has joined #openstack-mistral | 18:06 | |
*** Ravikiran_K has joined #openstack-mistral | 18:35 | |
Ravikiran_K | Hi | 18:36 |
Ravikiran_K | publish: tenant_123: <% $.users[$.tenant_id = '123'] %> | 18:36 |
Ravikiran_K | in the above yaql expression i want pass 123 value as input variable | 18:37 |
Ravikiran_K | if i give like <% $.users[$.tenant_id = $input_varibale] %> | 18:38 |
Ravikiran_K | its failing... | 18:38 |
Ravikiran_K | how to pass variable in yaql expression? | 18:38 |
mgershen | Ravikiran_K: what is the yaql/json you are working on? | 18:59 |
mgershen | Anyway, it should look something like this: | 19:06 |
*** bobh has quit IRC | 19:06 | |
mgershen | let(helper=> $.tenantId) -> $.users.where($.tenantId = $helper) | 19:06 |
*** bobh has joined #openstack-mistral | 19:06 | |
mgershen | <% let(helper=> $.tenantId) -> $.users.where($.tenantId = $helper) %> | 19:06 |
mgershen | you might know this tool - it allows to work with yaql very easily: http://yaqluator.com/ | 19:08 |
Ravikiran_K | i am trying to filter user with specific id | 19:13 |
Ravikiran_K | id is input to that workflow | 19:13 |
Ravikiran_K | how to publish those users based on input id? | 19:14 |
Ravikiran_K | tenant_123: <% $.users[$.tenant_id = '123'] %> in place of 123 using trying to use input varible | 19:15 |
mgershen | did you try what I sent? | 19:23 |
mgershen | <% let(helper=> $.inputId) -> $.users.where($.tenantId = $helper) %> | 19:24 |
mgershen | I missed a message I think. the input name is input_varibale? | 19:24 |
mgershen | <% let(helper=> $.input_varibale) -> $.users.where($.tenantId = $helper) %> | 19:25 |
Ravikiran_K | yes..got error when updating workflow | 19:26 |
Ravikiran_K | error is The server could not comply with the request since it is either malformed or otherwise incorrect.<br /><br /> Parse error: unexpected '>' at position 28 | 19:26 |
Ravikiran_K | my workflow: http://paste.openstack.org/show/593557/ | 19:34 |
mgershen | I think you have an extra "." near helper. | 19:40 |
mgershen | try without it | 19:41 |
mgershen | <% let(helper=> $.projectid) -> $.get_networks_list.networks.where($.tenant_id = $helper) %> | 19:41 |
mgershen | well, hope this helped. I have to go now. try again tomorrow if you are still having issues. | 19:48 |
mgershen | good luck Ravikiran_K | 19:48 |
Ravikiran_K | mgershen: i will try that.. thank you :) | 19:51 |
*** mgershen has quit IRC | 20:04 | |
*** Ravikiran_K has quit IRC | 20:15 | |
*** bobh has quit IRC | 20:26 | |
*** catinthe_ has joined #openstack-mistral | 20:27 | |
*** catintheroof has quit IRC | 20:28 | |
*** catinthe_ has quit IRC | 23:48 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!