{"action":"created","comment":{"url":"https://api.github.com/repos/windup/windup-rulesets/pulls/comments/61254107","id":61254107,"diff_hunk":"@@ -0,0 +1,1197 @@\n+<?xml version=\"1.0\"?>\n+<ruleset xmlns=\"http://windup.jboss.org/schema/jboss-ruleset\" id=\"hsearch\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n+    xsi:schemaLocation=\"http://windup.jboss.org/schema/jboss-ruleset http://windup.jboss.org/schema/jboss-ruleset/windup-jboss-ruleset.xsd\">\n+    <metadata>\n+        <description>\n+            This ruleset provides analysis for migration from Hibernate Search 4.x to Hibernate Search 5.x.\n+        </description>\n+        <dependencies>\n+            <addon id=\"org.jboss.windup.rules,windup-rules-javaee,2.4.0.Final\" />\n+            <addon id=\"org.jboss.windup.rules,windup-rules-java,2.4.0.Final\" />\n+        </dependencies>\n+        <sourceTechnology id=\"hibernate-search\" versionRange=\"[4,5)\" />\n+        <sourceTechnology id=\"eap\" versionRange=\"[6,7)\" />\n+        <targetTechnology id=\"hibernate-search5\" versionRange=\"[5,)\" />\n+        <targetTechnology id=\"eap7\" versionRange=\"[7,)\" />\n+        <tag>reviewed-2016-04-27</tag>\n+    </metadata>\n+    <rules>\n+        <rule id=\"hsearch-00000\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.{*}\" />\n+            </when>\n+            <perform>\n+                <classification title=\"Hibernate Search API usage\" effort=\"0\" severity=\"mandatory\">\n+                    <description>Hibernate Search library API used in application.</description>\n+                    <tag>hibernate-search</tag>\n+                </classification>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00001\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.impl.SearchMappingBuilder\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 renamed class SearchMappingBuilder\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.impl.SearchMappingBuilder` was replaced by `org.hibernate.search.engine.spi.SearchMappingHelper` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_advanced_integrator_changes\"\n+                        title=\"Advanced Integrator Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00002\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.Environment\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 package change for Environment\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.Environment` was replaced by `org.hibernate.search.cfg.Environment` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00003\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.FullTextFilter\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 package change for FullTextFilter\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.FullTextFilter` was replaced by `org.hibernate.search.filter.FullTextFilter` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00004\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.indexes.impl.DirectoryBasedIndexManager\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 package change for DirectoryBasedIndexManager\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.indexes.impl.DirectoryBasedIndexManager` was replaced by `org.hibernate.search.indexes.spi.DirectoryBasedIndexManager` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_advanced_integrator_changes\"\n+                        title=\"Advanced Integrator Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00005\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 package change for InfinispanDirectoryProvider\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider` was replaced by `org.hibernate.search.infinispan.spi.InfinispanDirectoryProvider` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00006\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.ProjectionConstants\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 package change for ProjectionConstants\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.ProjectionConstants` was replaced by `org.hibernate.search.engine.ProjectionConstants` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00007\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.SearchException\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 package change for SearchException\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.SearchException` was replaced by `org.hibernate.search.exception.SearchException` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00008\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.spi.MassIndexerFactory\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 package change for MassIndexerFactory\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.spi.MassIndexerFactory` was replaced by `org.hibernate.search.batchindexing.spi.MassIndexerFactory` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_advanced_integrator_changes\"\n+                        title=\"Advanced Integrator Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00009\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.spi.SearchFactoryBuilder\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated interface org.hibernate.search.spi.SearchFactoryBuilder in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.spi.SearchFactoryBuilder` was replaced by `org.hibernate.search.spi.SearchIntegratorBuilder` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_advanced_integrator_changes\"\n+                        title=\"Advanced Integrator Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://docs.jboss.org/hibernate/search/5.5/api/org/hibernate/search/spi/SearchIntegratorBuilder.html\" title=\"SearchIntegrationBuilder javadoc\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00010\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.spi.SearchFactoryIntegrator\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated interface org.hibernate.search.spi.SearchFactoryIntegrator in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>Do not use `org.hibernate.search.spi.SearchFactoryIntegrator`. You should migrate all code to use `org.hibernate.search.spi.SearchIntegrator`.\n+                    This interface is a temporary placeholder and will be removed at the next micro release!</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_advanced_integrator_changes\"\n+                        title=\"Advanced Integrator Changes in Hibernate Search 5.x\" />\n+                    <link href=\"https://docs.jboss.org/hibernate/search/5.5/api/org/hibernate/search/spi/SearchIntegrator.html\"\n+                        title=\"Hibernate Search javadoc for SearchIntegrator\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00011\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.Version\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 package change for Version\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `org.hibernate.search.Version` was replaced by `org.hibernate.search.engine.Version` class.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <!-- Deprecated things -->\n+        <rule id=\"hsearch-00100\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.cfg.NumericFieldMapping(org.hibernate.search.cfg.PropertyDescriptor, org.hibernate.search.cfg.EntityDescriptor, org.hibernate.search.cfg.SearchMapping)\">\n+                    <location>CONSTRUCTOR_CALL</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Constructor NumericFieldMapping.NumericFieldMapping is deprecated in Hibernate Search 5\" effort=\"1\"\n+                    severity=\"mandatory\">\n+                    <message>Use `NumericFieldMapping.NumericFieldMapping(String, PropertyDescriptor, EntityDescriptor, SearchMapping)` instead.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_deprecated_constructors\"\n+                        title=\"Hibernate Search 5.x Deprecated Constructors\" />\n+                    <link\n+                        href=\"https://docs.jboss.org/hibernate/search/5.5/api/org/hibernate/search/cfg/NumericFieldMapping.html#NumericFieldMapping-org.hibernate.search.cfg.PropertyDescriptor-org.hibernate.search.cfg.EntityDescriptor-org.hibernate.search.cfg.SearchMapping-\"\n+                        title=\"Hibernate Search javadoc\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00101\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.store.IndexShardingStrategy\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated interface org.hibernate.search.store.IndexShardingStrategy in Hibernate Search 5\" effort=\"1\" severity=\"optional\">\n+                    <message>`org.hibernate.search.store.IndexShardingStrategy` interface is deprecated as of Hibernate Search 4.4. Might be removed in Hibernate Search 5.\n+                    Use `org.hibernate.search.store.ShardIdentifierProvider` instead.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <link\n+                        href=\"https://docs.jboss.org/hibernate/search/5.5/api/org/hibernate/search/store/ShardIdentifierProvider.html\"\n+                        title=\"Hibernate Search javadoc\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00103\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.store.Workspace\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated interface org.hibernate.search.store.Workspace in Hibernate Search 5\" effort=\"1\" severity=\"optional\">\n+                    <message>`org.hibernate.search.store.Workspace` interface will be moved and considered as non-public API.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00104\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.filter.FilterKey\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated interface org.hibernate.search.filter.FilterKey in Hibernate Search 5\" effort=\"1\" severity=\"optional\">\n+                    <message>Custom filter keys are deprecated and are scheduled for removal in Hibernate Search 6. As of Hibernate Search 5.1, keys for caching Lucene filters are calculated automatically based on the given filter parameters.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.1/#api-changes\" title=\"Hibernate Search 5.1 API changes\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00106\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.filter.StandardFilterKey\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated class org.hibernate.search.filter.StandardFilterKey in Hibernate Search 5\" effort=\"1\" severity=\"optional\">\n+                    <message>Custom filter keys `StandardFilterKey` are deprecated and are scheduled for removal in Hibernate Search 6.\n+                    As of Hibernate Search 5.1, keys for caching Lucene filters are calculated automatically based on the given filter parameters.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.1/#api-changes\" title=\"Hibernate Search 5.1 API changes\" />\n+                    <link\n+                        href=\"https://docs.jboss.org/hibernate/search/5.5/api/index.html?org/hibernate/search/filter/StandardFilterKey.html\"\n+                        title=\"hibernate Search javadoc\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00107\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.annotations.FieldCacheType\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated enum FieldCacheType in Hibernate Search 5\" effort=\"1\" severity=\"optional\">\n+                    <message>Remove the `@FieldCacheType` annotation. No alternative replacement necessary as the Field Cache in Apache Lucene feature does no longer exist.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <link href=\"https://docs.jboss.org/hibernate/search/5.5/api/org/hibernate/annotations/FieldCacheType.html\"\n+                        title=\"hibernate Search javadoc\" />\n+                    <tag>hibernate-search</tag>\n+                    <tag>annotation</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00108\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.annotations.CacheFromIndex\">\n+                    <location>ANNOTATION</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated annotation CacheFromIndex in Hibernate Search 5\" effort=\"1\" severity=\"optional\">\n+                    <message>Remove the `@CacheFromIndex` annotation. No alternative replacement necessary.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_changes\"\n+                        title=\"Changes in Hibernate Search 5.x\" />\n+                    <link href=\"https://docs.jboss.org/hibernate/search/5.5/api/org/hibernate/search/annotations/CacheFromIndex.html\"\n+                        title=\"hibernate Search javadoc for @CacheFromIndex\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00109\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.annotations.Key\">\n+                    <location>ANNOTATION</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated annotation Key in Hibernate Search 5\" effort=\"1\" severity=\"optional\">\n+                    <message>Custom filter cache keys are a deprecated feature and are scheduled to be removed in Hibernate Search 6.\n+                     As of Hibernate Search 5.1, the filter cache keys are determined automatically based on the filter parameters so it is no longer required to provide a key object. </message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscelanous Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.1/#api-changes\" title=\"Hibernate Search 5.1 API changes\" />\n+                    <link href=\"https://docs.jboss.org/hibernate/search/5.5/api/index.html?org/hibernate/search/annotations/Key.html\"\n+                        title=\"Hibernate Search javadoc for @Key\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00110\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.backend.configuration.impl.IndexWriterSetting.{constant}\" />\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated enum constant IndexWriterSetting.{constant} in Hibernate Search 5\" effort=\"1\" severity=\"optional\">\n+                    <message>The `IndexWriterSetting.MAX_THREAD_STATES` and `IndexWriterSetting.TERM_INDEX_INTERVAL` enum constants are deprecated.\n+                    They affect which properties are read from the configuration, so the fact they they are missing means that configuration properties such as `hibernate.search.Animals.2.indexwriter.term_index_interval = default` are now ignored.\n+                    The only side effect is that the property is not applied.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_advanced_integrator_changes\"\n+                        title=\"Advanced Integrator Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+            <where param=\"constant\">\n+                <matches pattern=\"(MAX_THREAD_STATES|TERM_INDEX_INTERVAL)\" />\n+            </where>\n+        </rule>\n+        <rule id=\"hsearch-00111\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.annotations.Spatial\" >\n+                    <location>ANNOTATION</location>\n+                    <annotation-literal name=\"spatialMode\" pattern=\"SpatialMode.GRID\"/>\n+                </javaclass>\n+                <!-- https://issues.jboss.org/browse/WINDUP-974 -->\n+                <!-- This doesn't find annotation with enum element specified -->\n+<!--                 <javaclass references=\"org.hibernate.search.annotations.SpatialMode.GRID\" />                 -->\n+            </when>\n+            <perform>\n+                <hint title=\"Renamed SpatialMode.GRID to HASH in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The enum value `SpatialMode.GRID` for `@Spatial` annotation was renamed to `SpatialMode.HASH`.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscelanous Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00112\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.event.impl.FullTextIndexEventListener\">\n+                    <location>INHERITANCE</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"FullTextIndexEventListener class is now final in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The class `FullTextIndexEventListener` is now a final class. If you currently extend this class, you must find an alternate solution to achieve the same functionality. You could in some cases use an `EntityIndexingInterceptor`.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscelanous Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.0/#fulltextindexeventlistener-now-final\" title=\"FullTextIndexEventListener now final\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00113\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.backend.impl.jms.AbstractJMSHibernateSearchController\">\n+                    <location>INHERITANCE</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Usage of internal AbstractJMSHibernateSearchController class in Hibernate Search 5\" effort=\"1\"\n+                    severity=\"mandatory\">\n+                    <message>The JMS backend was depending to Hibernate ORM. This dependency was removed, so that the backend can be used in other (non ORM) environments as well.\n+                    A consequence is that implementors of `org.hibernate.search.backend.impl.jms.AbstractJMSHibernateSearchController` will need to adjust to the new signature.\n+                     This class is really considered internal. We suggest to take this class as an example instead of extending it.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscelanous Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.0/#jms-controller-api-changed\" title=\"JMS Controller API changed\" />\n+\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00114\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.spi.ServiceProvider\">\n+                    <location>IMPLEMENTS_TYPE</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Implementing ServiceProvider in Hibernate Search 5\" effort=\"1\"\n+                    severity=\"mandatory\">\n+                    <message>The `org.hibernate.search.spi.ServiceProvider` SPI has been refactored.\n+                    If you where integrating with the old service contract, refer to the javadoc of `ServiceManager`, `Service`, `Startable` and `Stoppable` for details about the new contract.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscelanous Changes in Hibernate Search 5.x\" />\n+                    <link\n+                        href=\"http://docs.jboss.org/hibernate/search/5.0/api/org/hibernate/search/engine/service/spi/ServiceManager.html\"\n+                        title=\"Hibernate Search javadoc for ServiceManager\" />\n+                    <link href=\"http://docs.jboss.org/hibernate/search/5.0/api/org/hibernate/search/engine/service/spi/Service.html\"\n+                        title=\"Hibernate Search javadoc for Service\" />\n+                    <link\n+                        href=\"http://docs.jboss.org/hibernate/search/5.0/api/org/hibernate/search/engine/service/spi/Stoppable.html\"\n+                        title=\"Hibernate Search javadoc for Stoppable\" />\n+                    <link\n+                        href=\"http://docs.jboss.org/hibernate/search/5.0/api/org/hibernate/search/engine/service/spi/Startable.html\"\n+                        title=\"Hibernate Search javadoc for Startable\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00115\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.annotations.IndexedEmbedded\">\n+                    <location>ANNOTATION</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Indexing of id Fields of Embedded Relations\" effort=\"1\" severity=\"mandatory\">\n+                    <message><![CDATA[\n+                     When using an `@IndexedEmbedded` annotation to include fields from a related entity,\n+                     the id of the related entity is no longer included.\n+\n+                     You can enable the inclusion of the id by using the `includeEmbeddedObjectId` attribute of the `@IndexedEmbedded` annotation.\n+\n+                     ```java\n+                     @IndexedEmbedded(includeEmbeddedObjectId=true)\n+                     ```\n+\n+                    ]]></message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscelanous Changes in Hibernate Search 5.x\" />\n+                    <link\n+                        href=\"https://docs.jboss.org/hibernate/search/5.5/api/index.html?org/hibernate/search/annotations/IndexedEmbedded.html\"\n+                        title=\"Hibernate Search javadoc for IndexedEmbedded\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00116\">\n+            <when>\n+                <or>\n+                    <javaclass references=\"org.hibernate.search.annotations.Field\">\n+                        <location>ANNOTATION</location>\n+                        <annotation-literal name=\"index\" pattern=\"Index.YES\"/>\n+                        <annotation-type pattern=\"org.hibernate.search.annotations.NumericFields\"/>\n+                    </javaclass>\n+                    <javaclass references=\"org.hibernate.search.annotations.Field\">\n+                        <location>ANNOTATION</location>\n+                        <annotation-literal name=\"index\" pattern=\"Index.YES\"/>\n+                        <annotation-type pattern=\"org.hibernate.search.annotations.NumericField\"/>\n+                    </javaclass>\n+                </or>\n+            </when>\n+            <perform>\n+                <hint title=\"Hibernate Search 5 changes indexing null values\" effort=\"1\" severity=\"mandatory\">\n+                    <message><![CDATA[\n+            Numbers and dates are now indexed as numeric fields by default. Properties of type int, long, float, double, and their\n+            corresponding wrapper classes are no longer indexed as strings. Instead, they are now indexed using Lucene’s appropriate numeric\n+            encoding. The id fields are an exception to this rule. Even when they are represented by a numeric type, they are still indexed as\n+            a string keyword by default. The use of `@NumericField` is now obsolete unless you want to specify a custom precision for the numeric\n+            encoding. You can keep the old string-based index format by explicitly specifying a string encoding field bridge. In the case of\n+            integers, this is the `org.hibernate.search.bridge.builtin.IntegerBridge`. Check the `org.hibernate.search.bridge.builtin` package for\n+            other publicly available field bridges.\n+\n+            Date and Calendar are no longer indexed as strings. Instead, instances are encoded as long values representing the number\n+            of milliseconds since January 1, 1970, 00:00:00 GMT. You can switch the indexing format by using the new EncodingType enum. For example:\n+\n+            ```java\n+            @DateBridge(encoding=EncodingType.STRING)\n+            @CalendarBridge(encoding=EncodingType.STRING)\n+            ```\n+\n+            The encoding change for numbers and dates is important and can have a big impact on application behavior. If you have\n+            a query that targets a field that was previously string-encoded, but is now encoded numerically, you must update the query. Numeric\n+             fields must be searched with a NumericRangeQuery. You must also make sure that all fields targeted by faceting are string encoded.\n+            If you use the Search query DSL, the correct query should be created automatically for you.\n+            ]]></message>\n+                    <link href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_number_and_date_index_formatting_changes\"\n+                        title=\"Number and Date Index Formatting Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.0/#number-and-date-index-format\" title=\"Number and date index format\" />\n+                    <link href=\"http://docs.jboss.org/hibernate/search/5.5/api/org/hibernate/search/bridge/builtin/package-summary.html\" title=\"Javadoc API for org.hibernate.search.bridge.builtin package\" />\n+                    <link href=\"http://docs.jboss.org/hibernate/search/5.5/api/org/hibernate/search/bridge/builtin/IntegerBridge.html\" title=\"Javadoc API for IntegerBridge\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <!-- When using @Field(indexNullAs=) to encode a null marker value in the index, -->\n+        <!-- the type of the marker must be compatible with all other values that are indexed in that same field. -->\n+        <!-- For example, it was previously possible to encode a null value for numeric fields using a string \"null\". -->\n+        <!-- This is no longer allowed. Instead, you must choose a number to represent the null value, such as -1. -->\n+        <rule id=\"hsearch-00117\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.annotations.Field\">\n+                    <location>ANNOTATION</location>\n+                    <annotation-literal name=\"indexNullAs\" pattern=\"{*}\" />\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Changes in indexing null values for Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>When using `@Field(indexNullAs=)` to encode a null marker value in the index, the type of the marker must be compatible with all other values that are indexed in that same field.\n+                    For example, it was previously possible to encode a null value for numeric fields using a string _null_.\n+                    This is no longer allowed. Instead, you must choose a number to represent the null value, such as -1. </message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscellaneous Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.5/#null-value-tokens-for-numeric-fields\" title=\"Null value tokens for numeric fields\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00118\">\n+            <when>\n+                <or>\n+                    <javaclass references=\"org.hibernate.search.query.dsl.QueryBuilder.facet{*}\">\n+                        <location>METHOD_CALL</location>\n+                    </javaclass>\n+                    <javaclass references=\"org.hibernate.search.FullTextQuery.getFacetManager{*}\">\n+                        <location>METHOD_CALL</location>\n+                    </javaclass>\n+                    <javaclass references=\"org.hibernate.search.query.facet.{class}\" />\n+                </or>\n+            </when>\n+            <perform>\n+                <hint title=\"Improvements in Faceting Engine for Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>Significant improvements were made to the faceting engine. Most of the changes do not affect the API. The one notable exception is that you must now annotate any fields you intend to use for faceting with the `@Facet` or `@Facets` annotation.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscellaneous Changes in Hibernate Search 5.x\" />\n+                    <link href=\"http://in.relation.to/2015/05/11/hibernate-search-530-beta-1-with-native-lucene-faceting\" title=\"Lucene native faceting\" />\n+                    <link href=\"http://docs.jboss.org/hibernate/search/5.5/reference/en-US/html_single/#query-faceting\" title=\"Query faceting\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+            <where param=\"class\">\n+                <matches pattern=\"(Facet|FacetingRequest|FacetSelection|FacetSortOrder|RangeFacet)\" />\n+            </where>\n+        </rule>\n+        <rule id=\"hsearch-00200\">\n+            <when>\n+                <project>\n+                    <artifact artifactId=\"hibernate-search-analyzers\" groupId=\"org.hibernate\" />\n+                </project>\n+            </when>\n+            <perform>\n+                <lineitem message=\"Maven artifact org.hibernate:hibernate-search-analyzers was removed from Hibernate Search 5. We recommend to depend on the appropriate Lucene artifact directly, for example org.apache.lucene:lucene-analyzers-common.\" />\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00201\">\n+            <when>\n+                <xmlfile in=\"pom.xml\" matches=\"//*[local-name() = 'artifactId' and text() = 'hibernate-search-analyzers']\" />\n+            </when>\n+            <perform>\n+                <hint title=\"hibernate-search-analyzers maven artifact dropped in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The hibernate-search-analyzers module was removed. The recommended approach is to directly use the appropriate Lucene artifact,\n+                     for example org.apache.lucene:lucene-analyzers-common.</message>\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscelanous Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                    <tag>maven</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00210\">\n+            <when>\n+                <javaclass references=\"org.apache.lucene.search.SortField({*})\">\n+                    <location>CONSTRUCTOR_CALL</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Lucene API changed for org.apache.lucene.search.SortField constructor\" effort=\"1\" severity=\"mandatory\">\n+                    <message>\n+                    The Lucene SortField API requires the following application code change. In the previous release of JBoss EAP, you set the type of the sort field in the query as follows.\n+\n+```java\n+fulltextQuery.setSort(new Sort(new SortField(\"title\", SortField.STRING)));\n+```\n+\n+The following is an example of how you set it in JBoss EAP 7.\n+\n+```java\n+fulltextQuery.setSort(new Sort(new SortField(\"title\", SortField.Type.STRING)))\n+```\n+\n+                     </message>\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.5/#sorting-options\" title=\"Hibernate Search 5.4 to 5.5 migration\" />\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_miscellaneous_hibernate_search_changes\"\n+                        title=\"Miscellaneous Hibernate Search Changes\" />\n+                    <tag>hibernate-search</tag>\n+                    <tag>lucene</tag>\n+                </hint>\n+\n+            </perform>\n+        </rule>\n+        <rule id=\"hsearch-00211\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.cfg.ContainedInMapping.numericField{*}\">\n+                    <location>METHOD_CALL</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated ContainedInMapping#numericField() method in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>Method `ContainedInMapping#numericField()` has been deprecated and is scheduled for removal. Invoke `ContainedInMapping#field().numericField()` instead.</message>\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.5/#api-changes\" title=\"Hibernate Search 5.4 to 5.5 migration\" />\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_deprecated_methods\"\n+                        title=\"Hibernate Search Deprecated Methods\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <!-- org.hibernate.search.FullTextSharedSessionBuilder.autoClose() -->\n+        <!-- org.hibernate.search.FullTextSharedSessionBuilder.autoClose(boolean) -->\n+        <rule id=\"hsearch-00213\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.FullTextSharedSessionBuilder.autoClose{*}\">\n+                    <location>METHOD_CALL</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated method FullTextSharedSessionBuilder#autoClose in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>Don't use `FullTextSharedSessionBuilder#autoclose()` and `FullTextSharedSessionBuilder#autoclose(boolean)` method. There is no replacement.</message>\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.5/#api-changes\" title=\"Hibernate Search 5.4 to 5.5 migration\" />\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_deprecated_methods\"\n+                        title=\"Hibernate Search Deprecated Methods\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <!-- org.hibernate.search.cfg.IndexedMapping.cacheFromIndex(FieldCacheType...) -->\n+        <rule id=\"hsearch-00214\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.cfg.IndexedMapping.cacheFromIndex{*}\">\n+                    <location>METHOD_CALL</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated method IndexedMapping#cacheFromIndex in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>This will be removed with no replacement.</message>\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.5/#api-changes\" title=\"Hibernate Search 5.4 to 5.5 migration\" />\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_deprecated_methods\"\n+                        title=\"Hibernate Search Deprecated Methods\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <!-- org.hibernate.search.cfg.EntityDescriptor.getCacheInMemory() -->\n+        <!-- This will be removed with no replacement. -->\n+        <rule id=\"hsearch-00215\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.cfg.EntityDescriptor.getCacheInMemory{*}\">\n+                    <location>METHOD_CALL</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated method EntityDescriptor#getCacheInMemory in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>This will be removed with no replacement.</message>\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.5/#api-changes\" title=\"Hibernate Search 5.4 to 5.5 migration\" />\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_deprecated_methods\"\n+                        title=\"Hibernate Search Deprecated Methods\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <!-- org.hibernate.search.query.engine.spi.HSQuery.getExtendedSearchIntegrator() -->\n+        <!-- should be at most SearchIntegrator, preferably removed altogether -->\n+        <rule id=\"hsearch-00216\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.query.engine.spi.HSQuery.getExtendedSearchIntegrator{*}\">\n+                    <location>METHOD_CALL</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated method HSQuery#getExtendedSearchIntegrator in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>should be at most SearchIntegrator, preferably removed altogether</message>\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.5/#api-changes\" title=\"Hibernate Search 5.4 to 5.5 migration\" />\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_advanced_integrator_changes\"\n+                        title=\"Advanced Integrator Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <!-- org.hibernate.search.engine.spi.DocumentBuilderIndexedEntity.getFieldCacheOption() -->\n+        <rule id=\"hsearch-00217\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.engine.spi.DocumentBuilderIndexedEntity.getFieldCacheOption{*}\">\n+                    <location>METHOD_CALL</location>\n+                </javaclass>\n+            </when>\n+            <perform>\n+                <hint title=\"Deprecated method DocumentBuilderIndexedEntity#getFieldCacheOption in Hibernate Search 5\" effort=\"1\" severity=\"mandatory\">\n+                    <message>The `DocumentBuilderIndexedEntity#getFieldCacheOption()` method has been deprecated. There is no replacement.</message>\n+                    <link href=\"http://hibernate.org/search/documentation/migrate/5.5/#api-changes\" title=\"Hibernate Search 5.4 to 5.5 migration\" />\n+                    <link\n+                        href=\"https://access.qa.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/migration-guide/#migrate_hibernate_search_advanced_integrator_changes\"\n+                        title=\"Advanced Integrator Changes in Hibernate Search 5.x\" />\n+                    <tag>hibernate-search</tag>\n+                </hint>\n+            </perform>\n+        </rule>\n+        <!-- org.hibernate.search.spi.BuildContext.getIndexingStrategy() -->\n+        <!-- Scheduled for removal. Use BuildContext.getIndexingMode() instead. -->\n+        <rule id=\"hsearch-00218\">\n+            <when>\n+                <javaclass references=\"org.hibernate.search.spi.BuildContext.getIndexingStrategy({*}\">","path":"rules-reviewed/eap7/eap6/hsearch.windup.xml","position":736,"original_position":736,"commit_id":"d1ec12f399a17527cc8a09023f988c3e967b40f2","original_commit_id":"d1ec12f399a17527cc8a09023f988c3e967b40f2","user":{"login":"mareknovotny","id":177257,"avatar_url":"https://avatars.githubusercontent.com/u/177257?v=3","gravatar_id":"","url":"https://api.github.com/users/mareknovotny","html_url":"https://github.com/mareknovotny","followers_url":"https://api.github.com/users/mareknovotny/followers","following_url":"https://api.github.com/users/mareknovotny/following{/other_user}","gists_url":"https://api.github.com/users/mareknovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/mareknovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mareknovotny/subscriptions","organizations_url":"https://api.github.com/users/mareknovotny/orgs","repos_url":"https://api.github.com/users/mareknovotny/repos","events_url":"https://api.github.com/users/mareknovotny/events{/privacy}","received_events_url":"https://api.github.com/users/mareknovotny/received_events","type":"User","site_admin":false},"body":"there is no reason AFAIK.","created_at":"2016-04-27T13:13:49Z","updated_at":"2016-04-27T13:13:49Z","html_url":"https://github.com/windup/windup-rulesets/pull/132#discussion_r61254107","pull_request_url":"https://api.github.com/repos/windup/windup-rulesets/pulls/132","_links":{"self":{"href":"https://api.github.com/repos/windup/windup-rulesets/pulls/comments/61254107"},"html":{"href":"https://github.com/windup/windup-rulesets/pull/132#discussion_r61254107"},"pull_request":{"href":"https://api.github.com/repos/windup/windup-rulesets/pulls/132"}}},"pull_request":{"url":"https://api.github.com/repos/windup/windup-rulesets/pulls/132","id":66324921,"html_url":"https://github.com/windup/windup-rulesets/pull/132","diff_url":"https://github.com/windup/windup-rulesets/pull/132.diff","patch_url":"https://github.com/windup/windup-rulesets/pull/132.patch","issue_url":"https://api.github.com/repos/windup/windup-rulesets/issues/132","number":132,"state":"open","locked":false,"title":"WINDUPRULE-130 adding hibernate search rules for EAP7 migration","user":{"login":"mareknovotny","id":177257,"avatar_url":"https://avatars.githubusercontent.com/u/177257?v=3","gravatar_id":"","url":"https://api.github.com/users/mareknovotny","html_url":"https://github.com/mareknovotny","followers_url":"https://api.github.com/users/mareknovotny/followers","following_url":"https://api.github.com/users/mareknovotny/following{/other_user}","gists_url":"https://api.github.com/users/mareknovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/mareknovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mareknovotny/subscriptions","organizations_url":"https://api.github.com/users/mareknovotny/orgs","repos_url":"https://api.github.com/users/mareknovotny/repos","events_url":"https://api.github.com/users/mareknovotny/events{/privacy}","received_events_url":"https://api.github.com/users/mareknovotny/received_events","type":"User","site_admin":false},"body":"https://issues.jboss.org/browse/WINDUPRULE-130\r\nThere are still some issues - tests and probably rule definitions","created_at":"2016-04-13T13:53:47Z","updated_at":"2016-04-27T13:13:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c03f04c8f1ca1cc53ef1f3c38516910c167cdbd0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/windup/windup-rulesets/pulls/132/commits","review_comments_url":"https://api.github.com/repos/windup/windup-rulesets/pulls/132/comments","review_comment_url":"https://api.github.com/repos/windup/windup-rulesets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/windup/windup-rulesets/issues/132/comments","statuses_url":"https://api.github.com/repos/windup/windup-rulesets/statuses/d1ec12f399a17527cc8a09023f988c3e967b40f2","head":{"label":"mareknovotny:WINDUPRULE-130","ref":"WINDUPRULE-130","sha":"d1ec12f399a17527cc8a09023f988c3e967b40f2","user":{"login":"mareknovotny","id":177257,"avatar_url":"https://avatars.githubusercontent.com/u/177257?v=3","gravatar_id":"","url":"https://api.github.com/users/mareknovotny","html_url":"https://github.com/mareknovotny","followers_url":"https://api.github.com/users/mareknovotny/followers","following_url":"https://api.github.com/users/mareknovotny/following{/other_user}","gists_url":"https://api.github.com/users/mareknovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/mareknovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mareknovotny/subscriptions","organizations_url":"https://api.github.com/users/mareknovotny/orgs","repos_url":"https://api.github.com/users/mareknovotny/repos","events_url":"https://api.github.com/users/mareknovotny/events{/privacy}","received_events_url":"https://api.github.com/users/mareknovotny/received_events","type":"User","site_admin":false},"repo":{"id":33657896,"name":"windup-rulesets","full_name":"mareknovotny/windup-rulesets","owner":{"login":"mareknovotny","id":177257,"avatar_url":"https://avatars.githubusercontent.com/u/177257?v=3","gravatar_id":"","url":"https://api.github.com/users/mareknovotny","html_url":"https://github.com/mareknovotny","followers_url":"https://api.github.com/users/mareknovotny/followers","following_url":"https://api.github.com/users/mareknovotny/following{/other_user}","gists_url":"https://api.github.com/users/mareknovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/mareknovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mareknovotny/subscriptions","organizations_url":"https://api.github.com/users/mareknovotny/orgs","repos_url":"https://api.github.com/users/mareknovotny/repos","events_url":"https://api.github.com/users/mareknovotny/events{/privacy}","received_events_url":"https://api.github.com/users/mareknovotny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mareknovotny/windup-rulesets","description":"Rules and rulesets contributed by community.","fork":true,"url":"https://api.github.com/repos/mareknovotny/windup-rulesets","forks_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/forks","keys_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/teams","hooks_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/hooks","issue_events_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/issues/events{/number}","events_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/events","assignees_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/assignees{/user}","branches_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/branches{/branch}","tags_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/tags","blobs_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/git/refs{/sha}","trees_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/statuses/{sha}","languages_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/languages","stargazers_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/stargazers","contributors_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/contributors","subscribers_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/subscribers","subscription_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/subscription","commits_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/commits{/sha}","git_commits_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/git/commits{/sha}","comments_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/comments{/number}","issue_comment_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/issues/comments{/number}","contents_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/contents/{+path}","compare_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/merges","archive_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/downloads","issues_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/issues{/number}","pulls_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/pulls{/number}","milestones_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/milestones{/number}","notifications_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/labels{/name}","releases_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/releases{/id}","deployments_url":"https://api.github.com/repos/mareknovotny/windup-rulesets/deployments","created_at":"2015-04-09T08:36:16Z","updated_at":"2015-05-05T14:45:06Z","pushed_at":"2016-04-27T10:35:39Z","git_url":"git://github.com/mareknovotny/windup-rulesets.git","ssh_url":"git@github.com:mareknovotny/windup-rulesets.git","clone_url":"https://github.com/mareknovotny/windup-rulesets.git","svn_url":"https://github.com/mareknovotny/windup-rulesets","homepage":null,"size":65332,"stargazers_count":0,"watchers_count":0,"language":"XSLT","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"windup:master","ref":"master","sha":"6b4cf4229faae6415f7dbc49905f289209596910","user":{"login":"windup","id":4266383,"avatar_url":"https://avatars.githubusercontent.com/u/4266383?v=3","gravatar_id":"","url":"https://api.github.com/users/windup","html_url":"https://github.com/windup","followers_url":"https://api.github.com/users/windup/followers","following_url":"https://api.github.com/users/windup/following{/other_user}","gists_url":"https://api.github.com/users/windup/gists{/gist_id}","starred_url":"https://api.github.com/users/windup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windup/subscriptions","organizations_url":"https://api.github.com/users/windup/orgs","repos_url":"https://api.github.com/users/windup/repos","events_url":"https://api.github.com/users/windup/events{/privacy}","received_events_url":"https://api.github.com/users/windup/received_events","type":"Organization","site_admin":false},"repo":{"id":23937058,"name":"windup-rulesets","full_name":"windup/windup-rulesets","owner":{"login":"windup","id":4266383,"avatar_url":"https://avatars.githubusercontent.com/u/4266383?v=3","gravatar_id":"","url":"https://api.github.com/users/windup","html_url":"https://github.com/windup","followers_url":"https://api.github.com/users/windup/followers","following_url":"https://api.github.com/users/windup/following{/other_user}","gists_url":"https://api.github.com/users/windup/gists{/gist_id}","starred_url":"https://api.github.com/users/windup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windup/subscriptions","organizations_url":"https://api.github.com/users/windup/orgs","repos_url":"https://api.github.com/users/windup/repos","events_url":"https://api.github.com/users/windup/events{/privacy}","received_events_url":"https://api.github.com/users/windup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/windup/windup-rulesets","description":"Windup rules and rulesets contributed by community.","fork":false,"url":"https://api.github.com/repos/windup/windup-rulesets","forks_url":"https://api.github.com/repos/windup/windup-rulesets/forks","keys_url":"https://api.github.com/repos/windup/windup-rulesets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/windup/windup-rulesets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/windup/windup-rulesets/teams","hooks_url":"https://api.github.com/repos/windup/windup-rulesets/hooks","issue_events_url":"https://api.github.com/repos/windup/windup-rulesets/issues/events{/number}","events_url":"https://api.github.com/repos/windup/windup-rulesets/events","assignees_url":"https://api.github.com/repos/windup/windup-rulesets/assignees{/user}","branches_url":"https://api.github.com/repos/windup/windup-rulesets/branches{/branch}","tags_url":"https://api.github.com/repos/windup/windup-rulesets/tags","blobs_url":"https://api.github.com/repos/windup/windup-rulesets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/windup/windup-rulesets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/windup/windup-rulesets/git/refs{/sha}","trees_url":"https://api.github.com/repos/windup/windup-rulesets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/windup/windup-rulesets/statuses/{sha}","languages_url":"https://api.github.com/repos/windup/windup-rulesets/languages","stargazers_url":"https://api.github.com/repos/windup/windup-rulesets/stargazers","contributors_url":"https://api.github.com/repos/windup/windup-rulesets/contributors","subscribers_url":"https://api.github.com/repos/windup/windup-rulesets/subscribers","subscription_url":"https://api.github.com/repos/windup/windup-rulesets/subscription","commits_url":"https://api.github.com/repos/windup/windup-rulesets/commits{/sha}","git_commits_url":"https://api.github.com/repos/windup/windup-rulesets/git/commits{/sha}","comments_url":"https://api.github.com/repos/windup/windup-rulesets/comments{/number}","issue_comment_url":"https://api.github.com/repos/windup/windup-rulesets/issues/comments{/number}","contents_url":"https://api.github.com/repos/windup/windup-rulesets/contents/{+path}","compare_url":"https://api.github.com/repos/windup/windup-rulesets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/windup/windup-rulesets/merges","archive_url":"https://api.github.com/repos/windup/windup-rulesets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/windup/windup-rulesets/downloads","issues_url":"https://api.github.com/repos/windup/windup-rulesets/issues{/number}","pulls_url":"https://api.github.com/repos/windup/windup-rulesets/pulls{/number}","milestones_url":"https://api.github.com/repos/windup/windup-rulesets/milestones{/number}","notifications_url":"https://api.github.com/repos/windup/windup-rulesets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/windup/windup-rulesets/labels{/name}","releases_url":"https://api.github.com/repos/windup/windup-rulesets/releases{/id}","deployments_url":"https://api.github.com/repos/windup/windup-rulesets/deployments","created_at":"2014-09-11T21:51:19Z","updated_at":"2016-04-05T13:58:44Z","pushed_at":"2016-04-27T10:35:40Z","git_url":"git://github.com/windup/windup-rulesets.git","ssh_url":"git@github.com:windup/windup-rulesets.git","clone_url":"https://github.com/windup/windup-rulesets.git","svn_url":"https://github.com/windup/windup-rulesets","homepage":"http://windup.jboss.org","size":65595,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":1,"forks":19,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/windup/windup-rulesets/pulls/132"},"html":{"href":"https://github.com/windup/windup-rulesets/pull/132"},"issue":{"href":"https://api.github.com/repos/windup/windup-rulesets/issues/132"},"comments":{"href":"https://api.github.com/repos/windup/windup-rulesets/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/windup/windup-rulesets/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/windup/windup-rulesets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/windup/windup-rulesets/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/windup/windup-rulesets/statuses/d1ec12f399a17527cc8a09023f988c3e967b40f2"}}}}