<div dir="ltr"><div>The idea is, you should not develop a custom extension that you do not intend to upstream -- that's why there's no "pluggability" included.  Instead, if you have a need to add functionality, you should write a patch to Buildbot and work to get it included in the framework itself.  So you can extend the list of submodules by editing the source :)<br><br></div>Dustin<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-03 8:25 GMT-04:00 Sveto Krchnavy <span dir="ltr"><<a href="mailto:sveto70@gmail.com" target="_blank">sveto70@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi.</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I wrote this request to users mailing list but probably devel is better list.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I checked the section '3.2.2.4. Extending the Data API' in documentation and there is written:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">"The data API may be extended in various ways: adding new endpoints, new fields to resource types, new update methods, or entirely new resource types. In any case, you should only extend the API if you plan to submit the extensions to be merged into Buildbot itself. Private API extensions are strongly discouraged."</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">What is main reason to discourage extending data API?</div><div style="font-size:12.8px">What is preferred way to extend data API with new endpoints with additional resources (extending REST API)?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I checked the code and there is no support to extend the list of submodules in DataConnector class.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks.</div></div>
<br>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@buildbot.net">devel@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.buildbot.net/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div>