CP 2.0: Phase 2: Investigate swagger-based api gem
|Target version:||Katello Backlog|
|Triaged:||Yes||Fixed in Releases:|
|Bugzilla link:||Found in Releases:|
Candlepin 2.0 supports a swagger-based API. This enables users (such as katello) to create ruby bindings using swagger tooling. This could effectively remove the need for the legacy ruby bindings in katello's candlepin.rb.
In addition, there is a desire to evolve the current katello-candlepin functionality to support a gem similar to what was done in the past for the katello-pulp functionality via the runcible gem. The thought would be to refactor generic logic (that is not specific to katello) out of katello. (This may include code under app/models/katello/glue/candlepin.)
With this issue, should investigate what it would mean to support:
- generating and using swagger api bindings
- refactoring generic candlepin functionality to a separate gem (similar to runcible)
As part of completion, a high-level design/proposal should be submitted as an RFC . Once review is completed, further task breakdown can be performed.