Project

General

Profile

Refactor #31007

Tracker #30160: Extract Puppet ENC to a plugin

Refactor #30170: Extract Smart Parameters to a plugin

Extract SmartClassParameters API

Added by Ondřej Ezr about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
-
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

  • API::V2::SmartClassParametersController
  • API::V2::OverrideValuesController
  • API::LookupKeysCommonController
Leave shared templates:
  • api/v2/lookup_keys/{base,main}.rabl
  • api/v2/override_values/{base,main}.rabl

Related issues

Related to Foreman - Refactor #30922: Lookup common API rabl template with base attributesClosed

Associated revisions

Revision 8149ab0b (diff)
Added by Ondřej Ezr 3 months ago

Refs #31007 - drop SmartClassParameters API

States the API deprecated and directs users to using a plugin.
Details of extraction https://github.com/theforeman/foreman_puppet_enc/pull/30

Revision 4797f1f1 (diff)
Added by Ondřej Ezr 3 months ago

Refs #31007 - drop OverrideValues API

Drops OverrideValues API tangled with Puppet, but leaves common partials,
these can be used by all the plugins.
Details of extraction in https://github.com/theforeman/foreman_puppet_enc/pull/32

Revision e4720d5f (diff)
Added by Ondřej Ezr 3 months ago

Refs #31007 - drop API LookupKeysCommonController

Drops Concern used just for puppet, that was having a missleading naming.
Extracted to plugin in https://github.com/theforeman/foreman_puppet_enc/pull/29.

Revision e0fbc271 (diff)
Added by Ondřej Ezr 3 months ago

Fixes #31007 - routes API requests to a plugin

Revision 25bdda5e (diff)
Added by Ondřej Ezr 3 months ago

Refs #31007 - API routes use correct namespace

We changed the namespace of the plugin to foreman_puppet.

History

#1 Updated by Ondřej Ezr about 1 year ago

  • Description updated (diff)

#2 Updated by Ondřej Ezr about 1 year ago

  • Related to Refactor #30922: Lookup common API rabl template with base attributes added

#3 Updated by Ondřej Ezr 11 months ago

  • Status changed from New to Assigned

#4 Updated by The Foreman Bot 4 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8510 added

#5 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.0.0 added

#6 Updated by Ondřej Ezr 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF