<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [Feature] Require a specific repository in CoreFeature in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317947#M4948</link>
    <description>&lt;P&gt;BTW I cannot create a NXP for the PR, but the commit is ready.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2017 10:57:55 GMT</pubDate>
    <dc:creator>Florent_M</dc:creator>
    <dc:date>2017-01-25T10:57:55Z</dc:date>
    <item>
      <title>[Feature] Require a specific repository in CoreFeature</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317946#M4947</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Someone might need to run a test on a specific repository, for example when queries are executed using MongoClient. Otherwise the test should be ignored.&lt;/P&gt;
&lt;P&gt;Proposal : add a "require" attribute to @RepositoryConfig.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-java"&gt;@RepositoryConfig(require = StorageConfiguration.CORE_MONGODB)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Using a MongoDB core the test would run as expected, otherwise it would be ignored.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 10:54:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317946#M4947</guid>
      <dc:creator>Florent_M</dc:creator>
      <dc:date>2017-01-25T10:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: [Feature] Require a specific repository in CoreFeature</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317947#M4948</link>
      <description>&lt;P&gt;BTW I cannot create a NXP for the PR, but the commit is ready.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 10:57:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317947#M4948</guid>
      <dc:creator>Florent_M</dc:creator>
      <dc:date>2017-01-25T10:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: [Feature] Require a specific repository in CoreFeature</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317948#M4949</link>
      <description>&lt;P&gt;For this you can use a simple &lt;CODE&gt;@Before&lt;/CODE&gt; that checks &lt;CODE&gt;assumeTrue(coreFeature.getStorageConfiguration().isDBSMongoDB())&lt;/CODE&gt;, no need for extra changes to &lt;CODE&gt;@RepositoryConfig&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:05:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317948#M4949</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2017-01-25T11:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: [Feature] Require a specific repository in CoreFeature</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317949#M4950</link>
      <description>&lt;P&gt;The idea was to avoid the Nuxeo startup whenever possible. But ok.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:08:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/feature-require-a-specific-repository-in-corefeature/m-p/317949#M4950</guid>
      <dc:creator>Florent_M</dc:creator>
      <dc:date>2017-01-25T11:08:53Z</dc:date>
    </item>
  </channel>
</rss>

