Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Martin Hradil
@himdel
((at least, to me enabling a domain sounds more like a black box method call than a simple attribute set))
Jason Frey
@Fryguy
I dunno...agree to disagree :)
Martin Hradil
@himdel
yeah, either works :)
ThomasBuchinger
@ThomasBuchinger
so 3 votes for "indifferent"?
Halász Dávid
@skateman
I'm struggling with retrieving a virtual attribute of an expanded subcollection, specifically for tagging, is it even possible?
GET /api/categories?expand=resources,tags&attributes=id,description
into that I'm trying to get in the categorization virtual attribute for eachtag
ThomasBuchinger
@ThomasBuchinger
@skateman Are you looking for this?
 GET /api/tags?expand=resources&attributes=id,name,categorization
{"href":"https://cf.example.com/api/tags/6062","id":"6062","name":"/managed/visibility/all","categorization":{"name":"all","description":"All Groups","category":{"name":"visibility","description":"Visibility"},"display_name":"Visibility: All Groups"}}
Halász Dávid
@skateman
@ThomasBuchinger nope, this would be too easy
I want it through the categories
Eugene Zapolsky
@izapolsk
Hi everybody. remote appliance templates don't have ems_id set in global region appliance. could you please advice what property should I use to get some particular provider's template ?
Eugene Zapolsky
@izapolsk
@all ^^
Jason Frey
@Fryguy
@agrare ?
I can't understand how that wouldn't be replicated
Adam Grare
@agrare
Are they archived? Do they have an ems Id in the remote regions
Gregg Tanzillo
@gtanzillo
@izapolsk The replicated templates should be identical between the lower region and the global
Eugene Zapolsky
@izapolsk
@agrare, sure thing, they have.
@gtanzillo, I'll submit BZ then. thank you
Gregg Tanzillo
@gtanzillo
Sounds good @izapolsk
Fabien Dupont
@fdupont-redhat
Hi. I have a question about ServiceTemplate order. There's test in specs/requests/service_templates_spec.rb, on line 618, that verifies that the order action is not available for unorderable template. Could anyone explain what are the criteria that remove this action from the actions list ?
Adam Grare
@agrare
hey guys, looks like master has been failing for a week on travis is anyone looking at this?
ManageIQ/manageiq-api#662 should fix it thanks @lpichler
Fabien Dupont
@fdupont-redhat
@abellotti do you want any other change on ManageIQ/manageiq-api#656 ?
Alberto Bellotti
@abellotti
lemme see ....
maybe add a spec that exercises the case where that failing order reason "Service ordering via API is not allowed", other than that LGTM!!
Fabien Dupont
@fdupont-redhat
@abellotti I updated an existing test that was a bit weird: https://github.com/ManageIQ/manageiq-api/blob/707c884ed35865cfc4143826fbc13bb7d363bf0f/spec/requests/service_templates_spec.rb#L638-L649. It tested ordering an unorderable service template, so it didn't even check Settings.product.allow_api_service_ordering. Tell me if that's a good move.
Alberto Bellotti
@abellotti
sorry Fabien, I've been tied up, let me take a look now.
Fabien Dupont
@fdupont-redhat
No problem. Thanks.
Adam Grare
@agrare
Hey @thearifismail @djberg96 looks like the -api specs are failing due to the lan transformation validation PR
can one of you take a look?
thearifismail
@thearifismail
Yes, that's what I am seeing now
in my appliance. let me take a look at it.
Adam Grare
@agrare
:+1: thanks!
thearifismail
@thearifismail
@agrare I can't reproduce the problem locally after syncing my repo with upstream master. That said, there IS something wrong because I was encountering similar problem when using the WebUI. I need to step away but Dan is looking at it
Daniel Berger
@djberg96
i was able to reproduce it locally
Adam Grare
@agrare
On an appliance? I thought it was just a spec failure
Daniel Berger
@djberg96
i think he means a local dev instance
just looks like the lan factories need to actually be attached to a switch/host/ems
Daniel Berger
@djberg96
i think these factories are messed up in general
Daniel Berger
@djberg96
looks like the host types are flip-flopped
Adam Grare
@agrare
oh yeah, source_ems is vmware, source_host is redhat
thearifismail
@thearifismail
I am getting at it
Fabien Dupont
@fdupont-redhat
@abellotti I've been distracted too. PR updated.
Fabien Dupont
@fdupont-redhat
@abellotti thanks :+1:
Martin Hradil
@himdel
Would anyone object to changing API logging so that the requests ends up in rails s output?
(right now, if a GET /dashboard/show fails with 500, rails s output contains the full exception.
if the same happens for an API request, nothing in rails output, you have to look at logs/api.log)
Martin Hradil
@himdel
(correction: you do see the api request, just not the exception)
Martin Hradil
@himdel
no objections I guess :) ManageIQ/manageiq-api#686
Daniel Berger
@djberg96
@abellotti I think the current restriction on ID and HREF might only be on subcollections
it's definitely letting me get away with editing the id field on a single instance