Bug 1451835

Summary: Raw methods exposed for Cloud Tenant instead of non-raw
Product: Red Hat CloudForms Management Engine Reporter: Andrey <aveselov>
Component: AutomateAssignee: Andrey <aveselov>
Status: CLOSED CURRENTRELEASE QA Contact: Ola Pavlenko <opavlenk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cpelland, jhardy, maufart, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: openstack
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1452363 1459928 (view as bug list) Environment:
Last Closed: 2018-03-06 14:47:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1452363, 1459928    

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: