Based on using existing generator commnd: rails generate provider <AnyCloud>
Variable not found
error for the new cloud manager due to naming convention of class and folder.- UI add-provider page: Validate button not enabled
- manageiq-ui-classic/app/views/layouts/angular-bootstrap/_auth_credentials_angular_bootstrap.html.haml
- manageiq-ui-classic/app/views/layouts/angular-bootstrap/_endpoints_angular.html.haml
- manageiq-ui-classic/app/assets/javascripts/controllers/ems_common/ems_common_form_controller.js
- manageiq-ui-classic/app/controllers/mixins/ems_common_angular.rb
- (?) add column to ExtManagementSystem e.g. https://github.com/ManageIQ/manageiq-schema/commit/d8243c18a95aeb682f7c1955d6a27b29e7bcb9ab
- the inventory collect/parse/persist framework is not documented
- generate shell CloudManager: e.g. issue with
oraclecloud
vsoracle_cloud
- expose set of fields needed for add-provider screen, along with validation rules so that UI can render accordingly. (like the Ansible credential CRUD screen)
- building a dummy provider here. Goal is to have it running some basic operations that people can base on.
- Extract provider-specific things in the following back to provider itself
- manageiq-ui-classic/app/assets/javascripts/controllers/ems_common/ems_common_form_controller.js
- manageiq-ui-classic/app/controllers/mixins/ems_common_angular.rb
- manageiq-ui-classic/app/controllers/mixins/ems_common.rb
- automate the hook in
manageiq
:- ManageIQ/manageiq-providers-dummy_provider#8
- Gemfile (done, but messed by the newly introduced
group
)
- Add some tests to make sure the provider will be able to plugin to manageiq. So when new provider is being updated, these tests can help guard the integration won't be broken (e.g. would be nice to prevent https://bugzilla.redhat.com/show_bug.cgi?id=1509432)
- document the inventory collect/parse/persist pattern with an example so that people can follow
- Workers
- refresh_worker
- event_cachter
- inventory_collector_worker
- metrics_collector_worker
- All workers currently
include PerEmsWorkerMixin
(in the parentBaseManager
)