Bug 1451835 - Raw methods exposed for Cloud Tenant instead of non-raw
Summary: Raw methods exposed for Cloud Tenant instead of non-raw
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: unspecified
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: GA
: 5.9.0
Assignee: Andrey
QA Contact: Ola Pavlenko
URL:
Whiteboard: openstack
Depends On:
Blocks: 1452363 1459928
TreeView+ depends on / blocked
 
Reported: 2017-05-17 15:24 UTC by Andrey
Modified: 2018-03-06 14:47 UTC (History)
7 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1452363 1459928 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:47:43 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrey 2017-05-17 15:24:54 UTC
Description of problem:
There are exposed methods for Cloud Tenant in automate: raw_update_cloud_tenant and raw_delete_cloud_tenant. Change these methods to non-raw instead would be more appropriate. Thus we may follow the pattern, where only non-raw methods are exposed

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. rails c
2. $evm = MiqAeMethodService::MiqAeService.new(MiqAeEngine::MiqAeWorkspaceRuntime.new) # set up a basic $evm context
3. tenant = $evm.vmdb(:CloudTenant).find(some_id) # find any CloudTenant in vmdb and define it into a variable
4. tenant.methods

Actual results:
there are tenant.raw_update_cloud_tenant and tenant.raw_delete_cloud_tenant exposed methods

Expected results:
tenant.delete_cloud_tenant and tenant.update_cloud_tenant

Additional info:


Note You need to log in before you can comment on or make changes to this bug.