<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 29, 2017 at 2:28 PM Peng Liu <<a href="mailto:pliu@redhat.com">pliu@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Team,<div><br></div></div></blockquote><div><div>Hi Peng</div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>I have a question regarding to the API coverage of Patrole. Currently, Patrole as a Tempest plugin heavily relys on the Tempest code. However, Tempest only contains the API tests for the most common APIs of the most common projects(Nova, Neutron, Cinder, Glance, Swift, Keystone). </div><div><br></div><div>So I want to know if it is possible to extend Patrole to:</div><div>1) test the APIs of the common projects which was not yet covered in Tempest.  </div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>2) test projects which was not covered in Tempest?<br clear="all"></div></div></blockquote><div><br></div><div>You can use the Patrole framework to test services not covered by Tempest by taking advantage of Tempest plugin mechanism.</div><div>Patrole itself is a Tempest plugin. If you install the plugin of a service that includes a service client, you should be able to use it to write Patrole tests for that service.</div><div>I believe this has not been done yet by any project though, so there may be a few technical bits to be sorted out.</div><div> </div><div>I don't think Patrole itself will have to be extended, however Patrole does not yet include stable APIs.</div><div>If you're going to use Patrole APIs in your project you need to be aware that there may be backward incompatible changes happening without a deprecation period.</div><div><br></div><div>There are several options on where to host such tests: in a dedicated plugin, in the Tempest plugin for the service or in Patrole itself.</div><div>The latter would probably suffer from the same scalability issues that lead us to create the plugin mechanism to begin with.</div><div><br></div><div>Andrea Frittoli (andreaf)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div><div>Thanks,</div>-- <br><div class="m_8084859107477072943gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="arial, helvetica, sans-serif" size="2">Peng Liu </font></div></div></div></div>
</div></div>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div>