<?xml version="1.0"?>
<ruleset id="technology-usage-3rd-party"
    xmlns="http://windup.jboss.org/schema/jboss-ruleset"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://windup.jboss.org/schema/jboss-ruleset http://windup.jboss.org/schema/jboss-ruleset/windup-jboss-ruleset.xsd">
    <metadata>
        <description>
            This ruleset provides statistical summaries of embedded 3rd party frameworks.
        </description>
        <dependencies>
            <addon id="org.jboss.windup.rules,windup-rules-javaee,3.0.0.Final" />
            <addon id="org.jboss.windup.rules,windup-rules-java,3.0.0.Final" />
        </dependencies>
        <phase>PostMigrationRulesPhase</phase>
    </metadata>
    <rules>
        <rule id="technology-usage-3rd-party-01000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Liferay</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Liferay">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-02000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Oracle Forms</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Oracle Forms">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-03000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Spring Boot</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Spring Boot">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-04000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Elasticsearch</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Elasticsearch">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-05000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Logstash</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Logstash">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-06000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Jetty</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Jetty">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-08000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Tomcat</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Tomcat">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-09000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Kibana</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Kibana">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-10000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Apache Karaf</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Apache Karaf">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-11000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Neo4j</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Neo4j">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-12000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Spark</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Spark">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-13000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Apache Hadoop</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Apache Hadoop">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-14000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Apache Geronimo</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Apache Geronimo">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-15000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Apache Aries</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Apache Aries">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-16000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Cloudera</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Cloudera">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-17000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">MapR</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="MapR">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-18000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">TensorFlow</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="TensorFlow">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-19000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Weka</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Weka">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
        <rule id="technology-usage-3rd-party-20000">
            <when>
                <graph-query discriminator="TechnologyTagModel">
                    <property name="name">Apache Mahout</property>
                </graph-query>
            </when>
            <perform>
                <technology-identified name="Apache Mahout">
                    <tag name="Execute"/>
                    <tag name="Embedded"/>
                    <tag name="3rd party"/>
                </technology-identified>
            </perform>
        </rule>
    </rules>
</ruleset>
