Wednesday, 2016-12-28

*** bobh has joined #openstack-mistral01:33
openstackgerritJizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning  https://review.openstack.org/41449801:59
*** bobh has quit IRC02:04
*** bobh has joined #openstack-mistral02:31
*** bobh has quit IRC02:33
*** gongysh has joined #openstack-mistral02:36
*** bobh has joined #openstack-mistral02:45
*** bobh has quit IRC02:59
openstackgerritJizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning  https://review.openstack.org/41449803:47
openstackgerritRenat Akhmerov proposed openstack/mistral: Add "has" DB filter  https://review.openstack.org/41519204:23
openstackgerritRenat Akhmerov proposed openstack/mistral: Add the "has" DB filter  https://review.openstack.org/41519204:36
openstackgerritJizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning  https://review.openstack.org/41449805:30
*** sharatss has quit IRC06:09
*** sharatss has joined #openstack-mistral07:11
*** ^Gal^ has joined #openstack-mistral07:33
*** ^Gal^ has quit IRC08:22
*** ^Gal^ has joined #openstack-mistral08:39
*** mgershen has joined #openstack-mistral09:12
rakhmerovsharatss: hi09:21
*** gongysh has quit IRC10:01
*** mgershen has quit IRC10:31
*** mgershen has joined #openstack-mistral10:39
*** mgershen has quit IRC10:56
*** sharatss has quit IRC11:14
*** sharatss has joined #openstack-mistral11:15
*** mgershen has joined #openstack-mistral11:19
sharatssrakhmerov: hi11:39
openstackgerritSharat Sharma proposed openstack/mistral: Fix failing test cases in test_tasks  https://review.openstack.org/41454111:59
openstackgerritSharat Sharma proposed openstack/mistral: Remove two failing test cases in test_tasks  https://review.openstack.org/41454112:00
rakhmerovsharatss: how can I help you with those tests?12:06
rakhmerovdo you know why they are failing now?12:06
sharatssrakhmerov: i have removed both of them12:06
sharatssrakhmerov: are they important at this point?12:07
rakhmerovmaybe not so much but the approach to disable tests is not what we should endorse on the project12:08
rakhmerovif we really get stuck with fixing something due to some fundamental serious reasons then yes12:08
rakhmerovbut at least we first need to find out what's wrong12:09
rakhmerovI saw you added mocking db api call12:09
rakhmerovseems like it didn't help12:09
sharatssrakhmerov: yes12:09
rakhmerovdo you know why?12:09
sharatssrakhmerov: nope :912:09
rakhmerovwhat problem are you falling into now?12:09
rakhmerovafter mocking it12:09
sharatssrakhmerov: its again a 40412:10
rakhmerovbecause of what?12:10
sharatssrakhmerov: [id=abc] not found12:10
rakhmerovwhat does it mean?12:10
rakhmerovplease translate it :)12:10
sharatssrakhmerov: i mean Workflow execution with the id was not found12:11
rakhmerovmaybe you need to mock it too?12:11
rakhmerovkeep in mind that we don't create real DB objects in API tests12:12
rakhmerovwe mock all objects in DB12:12
sharatssrakhmerov: seems like i should mock db_api get_workflow_execution12:12
sharatssrakhmerov: but that was what i had done before :(12:13
*** mgershen has quit IRC12:14
rakhmerovplease try again and see what you get after that12:16
openstackgerritSharat Sharma proposed openstack/mistral: Fix two failing test cases in test_tasks  https://review.openstack.org/41454112:18
*** mgershen has joined #openstack-mistral12:22
*** catinthe_ has joined #openstack-mistral12:52
*** catintheroof has quit IRC12:55
*** mgershen has quit IRC13:03
*** mgershen has joined #openstack-mistral13:11
*** catintheroof has joined #openstack-mistral13:44
*** catinthe_ has quit IRC13:48
openstackgerritSharat Sharma proposed openstack/mistral: Fix two failing test cases in test_tasks  https://review.openstack.org/41454113:53
sharatssrakhmerov: ^^ please take a look. Finally this passed the tests13:54
*** mgershen has quit IRC14:36
*** mgershen has joined #openstack-mistral14:49
*** bobh has joined #openstack-mistral15:23
*** bobh has quit IRC15:35
*** bobh has joined #openstack-mistral15:39
*** bobh has quit IRC16:17
*** bobh has joined #openstack-mistral16:19
*** ^Gal^ has quit IRC16:43
*** ^Gal^ has joined #openstack-mistral16:43
*** ^Gal^ has quit IRC16:51
*** bobh has quit IRC17:05
*** bobh has joined #openstack-mistral17:14
*** bobh has quit IRC18:06
*** bobh has joined #openstack-mistral18:06
*** Ravikiran_K has joined #openstack-mistral18:35
Ravikiran_KHi18:36
Ravikiran_Kpublish:   tenant_123: <% $.users[$.tenant_id = '123'] %>18:36
Ravikiran_Kin the above yaql expression i want pass 123 value as input variable18:37
Ravikiran_Kif i give like <% $.users[$.tenant_id =  $input_varibale] %>18:38
Ravikiran_Kits failing...18:38
Ravikiran_Khow to pass variable in yaql expression?18:38
mgershenRavikiran_K: what is the yaql/json you are working on?18:59
mgershenAnyway, it should look something like this:19:06
*** bobh has quit IRC19:06
mgershenlet(helper=> $.tenantId) -> $.users.where($.tenantId = $helper)19:06
*** bobh has joined #openstack-mistral19:06
mgershen<% let(helper=> $.tenantId) -> $.users.where($.tenantId = $helper) %>19:06
mgershenyou might know this tool - it allows to work with yaql very easily: http://yaqluator.com/19:08
Ravikiran_Ki am trying to filter user with specific id19:13
Ravikiran_Kid is input to that workflow19:13
Ravikiran_Khow to publish those users based on input id?19:14
Ravikiran_Ktenant_123: <% $.users[$.tenant_id = '123'] %> in place of 123 using trying to use input varible19:15
mgershendid you try what I sent?19:23
mgershen<% let(helper=> $.inputId) -> $.users.where($.tenantId = $helper) %>19:24
mgershenI 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_Kyes..got error when updating workflow19:26
Ravikiran_Kerror is The server could not comply with the request since it is either malformed or otherwise incorrect.<br /><br /> Parse error: unexpected '&gt;' at position 2819:26
Ravikiran_Kmy workflow: http://paste.openstack.org/show/593557/19:34
mgershenI think you have an extra "." near helper.19:40
mgershentry without it19:41
mgershen<% let(helper=> $.projectid) -> $.get_networks_list.networks.where($.tenant_id = $helper) %>19:41
mgershenwell, hope this helped. I have to go now. try again tomorrow if you are still having issues.19:48
mgershengood luck Ravikiran_K19:48
Ravikiran_Kmgershen: i will try that.. thank you :)19:51
*** mgershen has quit IRC20:04
*** Ravikiran_K has quit IRC20:15
*** bobh has quit IRC20:26
*** catinthe_ has joined #openstack-mistral20:27
*** catintheroof has quit IRC20:28
*** catinthe_ has quit IRC23:48

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!