ContentPlugins » History » Version 2
Justin Sherrill, 11/23/2015 07:29 PM
1 | 1 | Justin Sherrill | h1. ContentPlugins |
---|---|---|---|
2 | |||
3 | h2. What are they? |
||
4 | |||
5 | Adding the ability to install a new package onto the katello server and get a new content type (similar to pulp plugins). |
||
6 | |||
7 | |||
8 | h2. "Design" |
||
9 | |||
10 | * Content plugins are just foreman plugins that require katello |
||
11 | * Routes |
||
12 | 2 | Justin Sherrill | ** Plugin defines them |
13 | ** Content registration defines them |
||
14 | |||
15 | 1 | Justin Sherrill | * Top level nav |
16 | 2 | Justin Sherrill | ** add link |
17 | ** provide UI |
||
18 | |||
19 | 1 | Justin Sherrill | * Plugin would define |
20 | 2 | Justin Sherrill | ** Content type class |
21 | ** association to repo |
||
22 | ** migrations |
||
23 | |||
24 | 1 | Justin Sherrill | * Restructuring Repository |
25 | 2 | Justin Sherrill | ** Use STI for diff repo types |
26 | ** or use modules to insert code (less ideal, may get tricky with things like generating importers) |
||
27 | |||
28 | 1 | Justin Sherrill | * Registration api for plugins to register the content type |
29 | 2 | Justin Sherrill | |
30 | 1 | Justin Sherrill | * Plugin would define publish and promote acitons which accept as input view, version, & environment for which to publish or promtoe. These actions are registered via the plugin via api |
31 | 2 | Justin Sherrill | |
32 | 1 | Justin Sherrill | * for Repo rabl, extend show using defined content rabl via plugin api |
33 | 2 | Justin Sherrill | |
34 | 1 | Justin Sherrill | * UI Extension point for repo create & update/view |
35 | 2 | Justin Sherrill | |
36 | 1 | Justin Sherrill | * Repository Enablement? |
37 | 2 | Justin Sherrill | ** Api For create repos (?) |
38 | |||
39 | 1 | Justin Sherrill | * CVV details page |
40 | 2 | Justin Sherrill | ** Plugin defined tables for UI |
41 | |||
42 | 1 | Justin Sherrill | * Lifecycle ENV page |
43 | 2 | Justin Sherrill | ** defails page |
44 | ** content tables |
||
45 | |||
46 | 1 | Justin Sherrill | * Repo apipie params |
47 | 2 | Justin Sherrill | ** allow plugins to add params |
48 | |||
49 | 1 | Justin Sherrill | * Strategy |
50 | 2 | Justin Sherrill | ** Create multiple engines inline, tackle all contnet types for each 'plugable area' at a time and write/move to each engine. i.e. add registration endpoint and regitration for all content types, then add cv publish for all content types |
51 | |||
52 | 1 | Justin Sherrill | * Plugin naming |
53 | * katello-rpm |