-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add config groups API #15
Conversation
Can you rebase please? :) |
aece689
to
6d1007f
Compare
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.
There is quite a lot of extra code.
Apart of the commented one there are views/foreman_puppet_enc/puppetclasses/*.html
templates, that probably should not be part of this PR :)
app/controllers/concerns/foreman_puppet_enc/controller/parameters/config_group.rb
Outdated
Show resolved
Hide resolved
f6ea71b
to
dd0090f
Compare
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.
I've removed the unnecessary files, could you please add the test/controllers/api/v2/config_groups_controller_test.rb
here? :)
module Api | ||
module V2 | ||
class ConfigGroupsController < ::Api::V2::BaseController | ||
include ForemanPuppetEnc::Controller::Parameters::ConfigGroup |
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.
include ForemanPuppetEnc::Controller::Parameters::ConfigGroup | |
include ForemanPuppetEnc::Parameters::ConfigGroup |
663362c
to
96e0693
Compare
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.
Thanks @shiramax ! 👍
No description provided.