-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Datawarehouse management #12205
Conversation
@blomquisg @Ladas @durandom Please also review. |
class DatawarehouseManager < BaseManager | ||
class << model_name | ||
def route_key | ||
"ems_datawarehouse" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martinpovolny is this a problem, that route key and singular_route_key are the same?
I see that MiddlewareManager
has that too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martinpovolny @himdel It seems to only works this way, I'm not what are the implications...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly me neither, but both CloudManager and MiddlewareManager do a similar thing, so.. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so... leave until it breaks :)
no, ok, fine then
the definitions look correct 👍 @moolitayer you have several valid CI failures there, let us know if you need any help with fixing them :-) |
557a625
to
4e70fd0
Compare
Thanks @Ladas. I started fixing those. I'm not sure why I'm getting this:
|
4e70fd0
to
555d7f0
Compare
@moolitayer here it goes through all subclasses of ExtManagementSystem https://github.com/Ladas/manageiq/blob/7fb40688b4401f772490ec18f1e011660d51cd0b/spec/models/ext_management_system_spec.rb#L395-L395 So it takes automatically also your new Ems class. You can add the factory and make it pass, or just list it in the exceptions few lines below (with todo to add the specs later). Try if it's enough to add the factory, but I think you will need few actions implemented to pass some of those specs. |
@miq-bot add_label wip |
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
fbe10a0
to
23aa5bb
Compare
Hi @moolitayer I have asked @pilhuhn to review more the architectural aspects and the relation between the datawarehouse and middleware provider. |
@@ -3864,7 +3864,7 @@ | |||
:feature_type: admin | |||
:identifier: middleware_deployment_restart | |||
|
|||
# Middleware Datasource | |||
# Middleware Datasource0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 0 ?
23aa5bb
to
5e1fd51
Compare
5e1fd51
to
4d5e56a
Compare
Back from reserves duty and continuing with this effort |
@durandom @Fryguy @lucasponce @blomquisg I got comments from several people on the name (datawarehouse) not being adequate. One comment was that datawarehouses is a specific term for things that persist history for very long time. I would like to go for something more generic like datastore. |
Datastore could be misleading as Vmware also has that name in it's terminology. But I get the point of DWH being to specific |
40108ef
to
b271c6f
Compare
20b6c5f
to
f9aaeb7
Compare
@blomquisg I'm hoping this can be merged soon given that it is skeletal and hidden. |
67c86a7
to
bd5bdae
Compare
bd5bdae
to
b1f6fae
Compare
@blomquisg can we merge this skeletal pr or is there anything you want changed? |
@martinpovolny @h-kataria please suggest some specs that could be added to cover the UI areas added here. Thx, Dan |
b1f6fae
to
04e5ef6
Compare
Checked commits moolitayer/manageiq@717d498~...04e5ef6 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 app/helpers/application_helper/toolbar/ems_datawarehouse_center.rb
app/helpers/application_helper/toolbar/ems_datawarehouses_center.rb
app/helpers/application_helper/toolbar_chooser.rb
app/presenters/menu/default_menu.rb
spec/controllers/ems_datawarehouse_controller_spec.rb
|
@dclarizio I've added
There are changes to Does this cover specs? |
@Loicavenel @moolitayer @Fryguy @durandom I'm fine with us starting this way (having a Data Warehouse Manager). But, I'm still not convinced this is the ultimate end goal. I'm thinking we will eventually likely re-brand this thing as a way to share data collection resources across managers. I'm still seeing a distinction between the things that we manage (Storage, Network, Containers, Compute) and the types of data we collect from those managed systems (inventory, events, and metrics). I see the Data Warehouse manager falling into the second group. But, I don't really know what that looks like yet and I have no ideas how to even describe it in a meaningful way. So, I'll merge this, we can move forward with this concept until we have a better notion of separating out these two ideas (if we ever figure it out 😄). |
Adding Datawarehouse management.
Commits:
Based on bits from the current hawkular manager.
Intent: A new provider in the system. The end goal is using it to attach events, metrics and inventory to other providers in the system. One Datawarehouse manager can serve many target providers. Currently there is one hawkular implementation. elastic search is planned next.
To view the new provider screens in the UI, set in settings.yml (or settings.local.yml)
add
list
view