Commit 5e9d480
committed
feat(cli): inline field docs in generated resources-server config
Annotate the config emitted by ng_init_resources_server with inline comments
explaining each non-obvious field (domain, resources_server, policy_model magic
name, datasets/source), addressing friction #7 (no inline documentation in
generated configs). Also modernize the scaffold to emit the canonical `source:`
dataset block instead of the now-deprecated `gitlab_identifier`, so a freshly
created server starts on the recommended schema.
Addresses M6a (epic #1205).
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>1 parent db8b03c commit 5e9d480
2 files changed
Lines changed: 34 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
| 753 | + | |
| 754 | + | |
754 | 755 | | |
755 | 756 | | |
| 757 | + | |
756 | 758 | | |
| 759 | + | |
757 | 760 | | |
| 761 | + | |
758 | 762 | | |
759 | 763 | | |
760 | 764 | | |
761 | 765 | | |
| 766 | + | |
762 | 767 | | |
763 | 768 | | |
764 | 769 | | |
| 770 | + | |
| 771 | + | |
765 | 772 | | |
766 | 773 | | |
767 | 774 | | |
| 775 | + | |
| 776 | + | |
768 | 777 | | |
769 | 778 | | |
770 | 779 | | |
771 | 780 | | |
772 | 781 | | |
773 | | - | |
| 782 | + | |
| 783 | + | |
774 | 784 | | |
775 | 785 | | |
776 | 786 | | |
| 787 | + | |
777 | 788 | | |
778 | 789 | | |
779 | 790 | | |
780 | 791 | | |
781 | 792 | | |
782 | | - | |
| 793 | + | |
| 794 | + | |
783 | 795 | | |
784 | 796 | | |
785 | 797 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
141 | 159 | | |
142 | 160 | | |
143 | 161 | | |
| |||
0 commit comments